‎2017-09-04 12:53 PM
‎2017-09-04 01:23 PM
OK. the upload procedure I took was wrong. Need to uload file to the external flash I guess.
‎2017-09-04 02:02 PM
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 error22: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 : 066CFF55535488508713302822:51:28 : ST-LINK Firmware version : V2J28M1822: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 : 1MBytes22:51:28 : Device family :STM32F74x/F75x22: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.‎2017-09-04 02:11 PM
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.
‎2017-09-04 04:19 PM
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).
‎2018-10-04 12:27 AM
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)
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.