cancel
Showing results for 
Search instead for 
Did you mean: 

STM32f746g-DISCO not being programmed correctly

JStei.6
Associate III

Hi everyone,

 

I am currently having the problem, that I cannot flash a working Program to a new STM32f746G-DISCO.

The Software Is already written, and runs on 6 other STM32f746G_DISCO Boards, that were ordered in 2021.

Now I wanted to flash this exact Software to a Discovery board that I bought a few days ago (production Date is November 2023), and I cannot get it to work. I am only using CubeProgrammer and the ".elf" File to flash the board. I tried one of the older Boards and it still works great, but with the new one I only get a fuzzy screen.

 

Was there some kind of product revision?

 

I tried:

- Using the two different external oaders in CubeProgrammer

- Creating a new sampleproject in TouchGFX Designer. This one can be flashed both to the new and the old board

 

Thanks for any recommendations.

I would really apprechiate your help!

 

 

Here Is the Flash-Log:

22:28:24 : Opening and parsing file: SamPlay.elf
22:28:24 : Memory Programming ...
22:28:24 : File : SamPlay.elf
22:28:24 : Size : 2.37 MB
22:28:24 : Address : 0x08000000
22:28:24 : Erasing memory corresponding to segment 0:
22:28:28 : Erasing memory corresponding to segment 2:
22:28:28 : Erasing external memory sectors [0 25]
22:28:35 : Download in Progress:
22:28:52 : File download complete
22:28:52 : Time elapsed during download operation: 00:00:27.759
22:28:52 : Verifying...
22:28:52 : Read progress:
22:29:09 : Time elapsed during verifying operation: 00:00:17.040
22:29:09 : Download verified successfully
22:29:09 : RUNNING Program ...
22:29:09 : Address: : 0x08000000
22:29:09 : Application is running, Please Hold on...
22:29:09 : Start operation achieved successfully

 

3 REPLIES 3
Chris21
Senior III

Perhaps due to changes on different DISCO board revisions (LCD driver and flash memory).

https://community.st.com/t5/stm32-mcus-touchgfx-and-gui/stm32f746g-discovery-what-is-the-difference-between-cu2-and-cu4/td-p/711279

 

 

 

GaetanGodart
ST Employee

Hello @JStei.6 ,

 

There is a new revision of this board.
https://community.st.com/t5/stm32-mcus-touchgfx-and-gui/touchgfx-not-working-stm32f746g-disco/m-p/730922#M39973

 

Since you are using an old version of the board, you should use an old version of the TBS.

You can change the TBS revision here:

GaetanGodart_0-1752493430897.png

However, I am unsure which version you need.
You can look at the changelog to see what has changed and which TBS will be compatible with your board:

GaetanGodart_1-1752493530642.png

 

Regards,

 

Gaetan Godart
Software engineer at ST (TouchGFX)
Osman SOYKURT
ST Employee

Hello @JStei.6 ,

I think @Chris21 is right, the revision might be different. Could you check the revision number written behind the boards and tell us if they're different?

Osman SOYKURT
ST Software Developer | TouchGFX