cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F746G-DISCO - demo displays :scrambled'' pictures

Posted on September 04, 2017 at 21:53

Hi,

I had a few STM32F746-DISCO boards. This time I bought second hand board and uploaded demo app.

All pictures are 'scrambled'. I cannot figure out what is going on. Seems like a hardware defect.

Please share your thought on this.

Thanks,

Bogdan

5 REPLIES 5
Posted on September 04, 2017 at 22:23

OK. the upload procedure I took was wrong. Need to uload file to the external flash I guess.

Posted on September 04, 2017 at 23:02

When I try to follow the demo upload procedure I failed several times. After reaching 75% of the progress bar status I got the ST-LINK utility errors:

22:40:26 : Device family :STM32F74x/F75x

22:43:54 : STLink USB communication error

22:43:54 : Error occured during program operation!

22:43:55 : Can not connect to device!

U use ST-LINK 4.1.1 with the latest ST-LINK firmware on the board.

Then I tried erase the flash (including the external as the external loader is selected - N25Q128A_STM32F746..)

and this time I got:

22:51:28 : ST-LINK SN : 066CFF555354885087133028

22:51:28 : ST-LINK Firmware version : V2J28M18

22:51:28 : Connected via SWD.

22:51:28 : SWD Frequency = 480 KHz.

22:51:28 : Connection mode : Connect Under Reset.

22:51:28 : Device ID:0x449

22:51:28 : Device flash Size : 1MBytes

22:51:28 : Device family :STM32F74x/F75x

22:51:39 : External memory sector 0 erased.

22:51:43 : External memory sector 1 erased.

22:51:47 : External memory sector 2 erased.

22:51:51 : External memory sector 3 erased.

22:51:54 : External memory sector 4 erased.

22:51:58 : External memory sector 5 erased.

22:52:02 : External memory sector 6 erased.

22:52:07 : External memory sector 7 erased.

22:52:10 : External memory sector 8 erased.

22:52:14 : External memory sector 9 erased.

22:52:18 : External memory sector 10 erased.

22:52:22 : External memory sector 11 erased.

22:52:26 : External memory sector 12 erased.

22:52:30 : External memory sector 13 erased.

22:52:34 : External memory sector 14 erased.

22:52:38 : External memory sector 15 erased.

22:52:42 : External memory sector 16 erased.

22:52:47 : External memory sector 17 erased.

22:52:48 : External memory sector 0x90120000 is not erased. Verify the memory protection.

22:52:48 : External memory sector 0x90130000 is not erased. Verify the memory protection.

22:52:48 : External memory sector 0x90140000 is not erased. Verify the memory protection.

22:52:48 : External memory sector 0x90150000 is not erased. Verify the memory protection.

22:52:48 : External memory sector 0x90160000 is not erased. Verify the memory protection.

22:52:48 : External memory sector 0x90170000 is not erased. Verify the memory protection.

22:52:48 : External memory sector 0x90180000 is not erased. Verify the memory protection.

22:52:48 : External memory sector 0x90190000 is not erased. Verify the memory protection.

22:52:48 : External memory sector 0x901A0000 is not erased. Verify the memory protection.

22:52:48 : External memory sector 0x901B0000 is not erased. Verify the memory protection.

22:52:48 : External memory sector 0x901C0000 is not erased. Verify the memory protection.

22:52:48 : External memory sector 0x901D0000 is not erased. Verify the memory protection.

22:52:48 : External memory sector 0x901E0000 is not erased. Verify the memory protection.

22:52:48 : External memory sector 0x901F0000 is not erased. Verify the memory protection.

22:52:48 : External memory sector 0x90200000 is not erased. Verify the memory protection.

22:52:48 : External memory sector 0x90210000 is not erased. Verify the memory protection.

22:52:48 : External memory sector 0x90220000 is not erased. Verify the memory protection.

22:52:48 : External memory sector 0x90230000 is not erased. Verify the memory protection.

22:52:48 : External memory sector 0x90240000 is not erased. Verify the memory protection.

Posted on September 04, 2017 at 23:11

In the readme file I see that the ST-LINK 3.9 was used. I cannot find this particular version anymore on the st.com.

I wonder it it really matters. It seems that v4.1.1 has the same options available.

Posted on September 04, 2017 at 23:19

Topic closed.

ST-LINK 4.1.1 works fine with programming of external flash (QPSI).

The problem was related to the clock frequency. After setting it to 4MHz all worked fine (no timeout during flash programming). The images are beautiful (unusually beautiful).

Jose_A
Associate II

Hi. I am afraid I need to re-open the topic... :\

I am using the STM32F746G-DISCO kit, and I want to debug the "demo" application. The steps I followed (according to "readme.txt" file)

  1. I restored the board to factory settings, using the ST-LINK utility with N25Q128A_STM32F746G-DISCO loader and the STM32CubeDemo_STM32746G-DISCO_V1.4.0.hex binary. Afther the process, GUI works perfect!
  2. Then I go to my IDE, and opened the project located in STM32Cube_FW_F7_V1.12.0\Projects\STM32746G-Discovery\Demonstration\STemWin.
  3. If I do not change anything, compile OK. When I load the program into the board, the GUI becomes wrong: icons appear like the attached image in this thread. :unamused_face:

I tried changing the main clock frequency, adding an algorithm to external flash, modifying RAM ranges, but it does not work.

Thanks in advance!

Program versions: ST-LINK Utility 4.2.0.0; FW_F7: 1.12.0.