STM32F469 TOUCH SCREEN discovery kit
Moderator: Benj
- achillis1
- Posts: 347
- Joined: Thu Oct 09, 2008 9:19 am
- Has thanked: 91 times
- Been thanked: 8 times
- Contact:
STM32F469 TOUCH SCREEN discovery kit
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
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
- LeighM
- Matrix Staff
- Posts: 2178
- Joined: Tue Jan 17, 2012 10:07 am
- Has thanked: 481 times
- Been thanked: 699 times
- Contact:
Re: STM32F469 TOUCH SCREEN discovery kit
Hi
Yes, use the STM32F469NI gLCD
Have you got the ARM and Display packs?
Yes, use the STM32F469NI gLCD
Have you got the ARM and Display packs?
- achillis1
- Posts: 347
- Joined: Thu Oct 09, 2008 9:19 am
- Has thanked: 91 times
- Been thanked: 8 times
- Contact:
Re: STM32F469 TOUCH SCREEN discovery kit
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
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
- LeighM
- Matrix Staff
- Posts: 2178
- Joined: Tue Jan 17, 2012 10:07 am
- Has thanked: 481 times
- Been thanked: 699 times
- Contact:
Re: STM32F469 TOUCH SCREEN discovery kit
For the target you will need to select 32F469Discovery
It has its own build script to ensure all the correct graphics libraries get included.
It has its own build script to ensure all the correct graphics libraries get included.
- achillis1
- Posts: 347
- Joined: Thu Oct 09, 2008 9:19 am
- Has thanked: 91 times
- Been thanked: 8 times
- Contact:
Re: STM32F469 TOUCH SCREEN discovery kit
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
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
- LeighM
- Matrix Staff
- Posts: 2178
- Joined: Tue Jan 17, 2012 10:07 am
- Has thanked: 481 times
- Been thanked: 699 times
- Contact:
Re: STM32F469 TOUCH SCREEN discovery kit
There is an example here ...
http://www.matrixtsl.com/mmforums/viewt ... 716#p80544
http://www.matrixtsl.com/mmforums/viewt ... 716#p80544
- achillis1
- Posts: 347
- Joined: Thu Oct 09, 2008 9:19 am
- Has thanked: 91 times
- Been thanked: 8 times
- Contact:
Re: STM32F469 TOUCH SCREEN discovery kit
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
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
- LeighM
- Matrix Staff
- Posts: 2178
- Joined: Tue Jan 17, 2012 10:07 am
- Has thanked: 481 times
- Been thanked: 699 times
- Contact:
Re: STM32F469 TOUCH SCREEN discovery kit
Are you up to date with your Flowcode installation?Hello,
The above example did not work for me , I get errors.
What errors did you get?
- achillis1
- Posts: 347
- Joined: Thu Oct 09, 2008 9:19 am
- Has thanked: 91 times
- Been thanked: 8 times
- Contact:
Re: STM32F469 TOUCH SCREEN discovery kit
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
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
- achillis1
- Posts: 347
- Joined: Thu Oct 09, 2008 9:19 am
- Has thanked: 91 times
- Been thanked: 8 times
- Contact:
Re: STM32F469 TOUCH SCREEN discovery kit
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
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
- LeighM
- Matrix Staff
- Posts: 2178
- Joined: Tue Jan 17, 2012 10:07 am
- Has thanked: 481 times
- Been thanked: 699 times
- Contact:
Re: STM32F469 TOUCH SCREEN discovery kit
Hi,
Have a look at this post, there are some additions for avoiding the flicker ...
http://www.matrixtsl.com/mmforums/viewt ... 72&t=18796
Have a look at this post, there are some additions for avoiding the flicker ...
http://www.matrixtsl.com/mmforums/viewt ... 72&t=18796
- achillis1
- Posts: 347
- Joined: Thu Oct 09, 2008 9:19 am
- Has thanked: 91 times
- Been thanked: 8 times
- Contact:
Re: STM32F469 TOUCH SCREEN discovery kit
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
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
- Attachments
-
- Flowcode_stm32f469i_touchscreen_test 4.msg.txt
- (15.54 KiB) Downloaded 230 times
- LeighM
- Matrix Staff
- Posts: 2178
- Joined: Tue Jan 17, 2012 10:07 am
- Has thanked: 481 times
- Been thanked: 699 times
- Contact:
Re: STM32F469 TOUCH SCREEN discovery kit
Does your PC detect the Disco as a virtual drive, like this? ...
- LeighM
- Matrix Staff
- Posts: 2178
- Joined: Tue Jan 17, 2012 10:07 am
- Has thanked: 481 times
- Been thanked: 699 times
- Contact:
Re: STM32F469 TOUCH SCREEN discovery kit
Looks like you might have an old FCD file on your system, could you drop this FCD into your FCD\ARM directory ...
http://www.matrixtsl.com/mmforums/viewt ... 63&t=18760
edit: latest Flowcode 7 updates can be found in the zip here ...http://www.matrixtsl.com/mmforums/viewt ... 63&t=18760
- achillis1
- Posts: 347
- Joined: Thu Oct 09, 2008 9:19 am
- Has thanked: 91 times
- Been thanked: 8 times
- Contact:
Re: STM32F469 TOUCH SCREEN discovery kit
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
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