STM32F469 DISCO

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 7.

Moderator: Benj

Post Reply
dedajozo
Posts: 45
Joined: Sun Jan 03, 2016 5:48 pm
Has thanked: 8 times
Been thanked: 6 times
Contact:

STM32F469 DISCO

Post by dedajozo »

Hello,

I'm triing to use bitmap drawer component on my STM32F469 DISCO board, but the component doesnt work.
Does anybody have working example on STM32F469 DISCO board.

THX

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: STM32F469 DISCO

Post by Benj »

Hello,

Please can you attach your Flowcode project file and your bitmap images and we will investigate for you.

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: STM32F469 DISCO

Post by Benj »

Here's a simple demo that should work.
STM32F469Demo.zip
(48.14 KiB) Downloaded 237 times

dedajozo
Posts: 45
Joined: Sun Jan 03, 2016 5:48 pm
Has thanked: 8 times
Been thanked: 6 times
Contact:

Re: STM32F469 DISCO

Post by dedajozo »

Did you try that demo? I cant get it work in simulation.

dedajozo
Posts: 45
Joined: Sun Jan 03, 2016 5:48 pm
Has thanked: 8 times
Been thanked: 6 times
Contact:

Re: STM32F469 DISCO

Post by dedajozo »

Hello,

that demo doesnt work on STM32F469 Disco board.
You can do anything but bitmap drawer is not working.
Was anybody successfuly imported bmp in stm board?

thx

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: STM32F469 DISCO

Post by Benj »

Hello,

The demo I posted worked well here. The bitmap file is quite large so you may get a message saying the Ev_Property event is taking a long time to complete, just let it do it's job of parsing through the bitmap file and then the sim and download should work as expected.

You could maybe try a smaller pixel size 24-bit bitmap or maybe try a monochrome type bitmap. in v7 only 24-bit and mono types are supported.
Paint_BMP.jpg
Paint_BMP.jpg (19.16 KiB) Viewed 5342 times

User avatar
LeighM
Matrix Staff
Posts: 2178
Joined: Tue Jan 17, 2012 10:07 am
Has thanked: 481 times
Been thanked: 699 times
Contact:

Re: STM32F469 DISCO

Post by LeighM »

that demo doesnt work on STM32F469 Disco board.
Did the program compile and download to the Disco board?
The demo looks like this ...
STM32F469Demo.jpg
STM32F469Demo.jpg (250.54 KiB) Viewed 5331 times
As Ben mentioned, when loading or running the project in Flowcode you might get popups,
if you get one like this, click No ...
click_no.jpg
click_no.jpg (23.34 KiB) Viewed 5331 times

dedajozo
Posts: 45
Joined: Sun Jan 03, 2016 5:48 pm
Has thanked: 8 times
Been thanked: 6 times
Contact:

Re: STM32F469 DISCO

Post by dedajozo »

Hi,
yes Benj you were right about 24 bit pictures, it is runing and also there is pop up error like LeighM said . But program works.
Did you try to set bacground color? It is always same.

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: STM32F469 DISCO

Post by Benj »

Hello,

To change the background colour try changing the colour and then call the clear function. This should redraw the entire background in the new colour.

dedajozo
Posts: 45
Joined: Sun Jan 03, 2016 5:48 pm
Has thanked: 8 times
Been thanked: 6 times
Contact:

Re: STM32F469 DISCO

Post by dedajozo »

Yes Benj color is changed.
thx again,

Post Reply