Page 1 of 1
STM32F469 TOUCH SCREEN discovery kit
Posted: Wed May 31, 2017 7:25 pm
by achillis1
Hello,
I have the STM32F469 TOUCH SCREEN discovery kit ( Thanks for the gift!

Matrix TSL ! ) I am trying to make my first flowcode and when I search for the Glcd component; I do not find the exact match! Shall I use the STM32F469NI? Is it included in any update?
If I upload the code am I going to erase the preloaded examples?
>EDIT
When I compile to chip I receive the following error:
Registered to: achillis1
Licence key: REENCR
http://www.matrixtsl.com
Launching the compiler...
C:\Program Files\Flowcode 7\compilers\pic\bin\xc8.exe --chip=SIM "STM32F4TOUCH.c" --MSGDISABLE=359,1273,1388
You do not have a valid license to perform this action
Thank you,
Best Regards
Andreas Achilleos
Re: STM32F469 TOUCH SCREEN discovery kit
Posted: Thu Jun 01, 2017 8:34 am
by LeighM
Hi
Yes, use the STM32F469NI gLCD
Have you got the ARM and Display packs?
Re: STM32F469 TOUCH SCREEN discovery kit
Posted: Thu Jun 01, 2017 2:59 pm
by achillis1
Hello,
Yes, I have the packs...I think!
I have managed to get pass the error, it seems that I did not choose the right target chip.
I selected the STMF469 as chip, then added > display > STM32F469NI. Then I added code to display a circle. On the simulation it works but when I compile to chip , my display just stays black! Any clue on that? I compile without erros, the LEDs on the display light up when data are exchanged via usb cable, then the screen is just black.
Thank you
Re: STM32F469 TOUCH SCREEN discovery kit
Posted: Thu Jun 01, 2017 3:22 pm
by LeighM
For the target you will need to select 32F469Discovery
It has its own build script to ensure all the correct graphics libraries get included.
Re: STM32F469 TOUCH SCREEN discovery kit
Posted: Thu Jun 01, 2017 3:45 pm
by achillis1
Hello Leigh,
Thanks for the reply, YES I have chosen the 32F469Discovery, sorry I wasn't clear about that!
Is there a raw code or a simple procedure to use with the display to test the proper functionality of the microcontroller?
Thank you
Re: STM32F469 TOUCH SCREEN discovery kit
Posted: Fri Jun 02, 2017 8:09 am
by LeighM
Re: STM32F469 TOUCH SCREEN discovery kit
Posted: Mon Jun 05, 2017 7:28 am
by achillis1
Hello,
The above example did not work for me , I get errors.
I try and create a simple code > just turn on the screen and set a background color but does not work. So when I compile to chip, is there a file directory that the code is stored in the form of ArmMbed or the screen's "native" language in order for me to view the code?
I even tried to copy-paste the bin file of the code into the module's internal storage but the code did not work. If I create a code in the Mbed online compiler then it works!
Thank you
Re: STM32F469 TOUCH SCREEN discovery kit
Posted: Mon Jun 05, 2017 9:42 am
by LeighM
Hello,
The above example did not work for me , I get errors.
Are you up to date with your Flowcode installation?
What errors did you get?
Re: STM32F469 TOUCH SCREEN discovery kit
Posted: Mon Jun 05, 2017 10:51 am
by achillis1
Hello Leigh,
For now I cannot reproduce the error but even so I do not think it will be the fast "way out" ; so if I may , can I suggest something else?
Can you please send me a code , either in C language or bin file ( THAT YOU KNOW IT WORKS WITH THE STM32F469NI )to upload to my module to indeed see if Flowcode can program the module? Why this? Because when I use the online compile Mbed the module works fine, with flowcode I can get only black screen!
Thank you
Re: STM32F469 TOUCH SCREEN discovery kit
Posted: Mon Jun 05, 2017 11:33 am
by LeighM
Re: STM32F469 TOUCH SCREEN discovery kit
Posted: Mon Jun 05, 2017 12:15 pm
by achillis1
Hello Leigh
Many thanks for the bin file. It works!
THOUGH when I click any button the images on the screen frantically speed to the right and left of the screen! Also the count button does not seems to count something!
Is it possible please to send me as well the original fcf file?
Thank you
Re: STM32F469 TOUCH SCREEN discovery kit
Posted: Mon Jun 05, 2017 12:27 pm
by LeighM
Hi,
Have a look at this post, there are some additions for avoiding the flicker ...
http://www.matrixtsl.com/mmforums/viewt ... 72&t=18796
Re: STM32F469 TOUCH SCREEN discovery kit
Posted: Mon Jun 05, 2017 12:58 pm
by achillis1
Hello Leigh
Thanks again for the help.
I downloaded the code. Now I cannot compile to chip , I get an error BUT if I paste the bin file to the module it works! I am attaching the txt log. It says that the board is not connected but it is!
Thank you
Re: STM32F469 TOUCH SCREEN discovery kit
Posted: Mon Jun 05, 2017 1:29 pm
by LeighM
Does your PC detect the Disco as a virtual drive, like this? ...

- F469.jpg (13.77 KiB) Viewed 14196 times
Re: STM32F469 TOUCH SCREEN discovery kit
Posted: Mon Jun 05, 2017 1:34 pm
by LeighM
Looks like you might have an old FCD file on your system, could you drop this FCD into your FCD\ARM directory ...
edit: latest Flowcode 7 updates can be found in the zip here ...
http://www.matrixtsl.com/mmforums/viewt ... 63&t=18760
Re: STM32F469 TOUCH SCREEN discovery kit
Posted: Mon Jun 05, 2017 2:04 pm
by achillis1
Hello Leigh!
You have helped me a lot today! Saved me a lot of trouble!
By the way I am always having trouble simulating to the screen modele on the 2D dashboard. When I draw shapes or anything else I have to re adjust a lot the view and try hard to find where the shape is. The focus of the screen is never in the center! Any ideas?
Thank you