2019-10-15 06:37 PM
CLI application stops reading 16MB QSPI after reading less than 1MB (one buffer to RAM), percent progress bar doesn't advance.
STM32_Programmer_CLI --connect port=swd --vb 3 --log ext144r.log --extload CLIVEONE-W25Q128B_STM32H7xx-NUCLEO-144.stldr --upload 0x90000000 0x1000000 h7_144.bin
20:14:28:780 -------------------------------------------------------------------
20:14:28:780 STM32CubeProgrammer v2.2.0
20:14:28:780 -------------------------------------------------------------------
...
UPLOADING ...
20:14:33:212 File : h7_144.bin
20:14:33:214 Size : 16777216 Bytes
20:14:33:228 Address: : 0x90000000
20:14:33:234 Read progress:
20:14:33:235 Reading data...
20:14:33:351 halt ap 0 Status = 0
20:14:33:352 halt ap 1 Status = 32
20:14:33:352 halt ap 2 Status = 32
20:14:33:352 w ap 0 reg 15 PC (0x24000000)
20:14:33:352 w ap 0 reg 17 MSP (0x24000500)
20:14:33:352 w ap 0 reg 16 xPSR (0x01000000)
20:14:33:352 w ap 0 @0x24001CA0 0x00000200 bytes
20:14:33:352 w ap 0 @0x24000000 0x00000004 bytes
20:14:33:362 w ap 0 @0x24000004 0x00001874 bytes
20:14:33:362 Init flashloader...
20:14:33:362 halt ap 0
20:14:33:362 w ap 0 reg 0 R0 0x00000000
20:14:33:362 w ap 0 reg 1 R1 0x00000000
20:14:33:362 w ap 0 reg 2 R2 0x00000000
20:14:33:362 w ap 0 reg 3 R3 0x00000000
20:14:33:362 w ap 0 reg 4 R4 0x00000000
20:14:33:362 w ap 0 reg 5 R5 0x00000000
20:14:33:362 w ap 0 reg 6 R6 0x00000000
20:14:33:362 w ap 0 reg 7 R7 0x00000000
20:14:33:372 w ap 0 reg 8 R8 0x00000000
20:14:33:372 w ap 0 reg 9 R9 0x00000000
20:14:33:382 w ap 0 reg 10 R10 0x00000000
20:14:33:382 w ap 0 reg 11 R11 0x00000000
20:14:33:382 w ap 0 reg 12 R12 0x00000000
20:14:33:382 w ap 0 reg 13 SP 0x00000000
20:14:33:382 w ap 0 reg 14 LR 0x24000001
20:14:33:382 w ap 0 reg 15 PC 0x2400108D
20:14:33:382 w ap 0 reg 16 xPSR 0x01000000
20:14:33:382 w ap 0 reg 17 MSP 0x24001C74
20:14:33:382 w ap 0 reg 18 PSP 0x00000000
20:14:33:382 run ap 0
20:14:33:382 halt ap 0
20:14:33:382 r ap 0 reg 0 R0 0x00000001
20:14:34:389 r ap 0 @0x90000000 0x0007E000 bytes
20:14:34:390
Data read successfully
20:14:35:070 Warning: The file h7_144.bin already exists, it will be overwritten
20:14:35:094 Time elapsed during read operation is: 00:00:01.156
2019-10-16 01:48 AM
Hi Clive,
The first issue of your ticket that was reading failed from Flash QSPi External, this problem is fixed in version 2.2.0.
But there is now another problem: read more than 1 MB (only available with CLI) is still not possible, I confirm.
The Cubeprogrammer development team is aware of this problem and will be corrected shortly.
Feel free to contact me for furthers details.
Best regards,
Houda
2019-10-30 05:58 PM
I have exactly the same problem. Do you need a beta tester for the --upload 0x00000000 0x1000000 fil.bin bug?
2019-10-30 08:33 PM
I've not seen resolution on this.
Seem to recall I can pull the whole payload via ST-LINK Utilities (4.5.0)
128MB via H750-DISCO
ST-LINK_CLI -c ID=0 SWD -Dump 0x90000000 0x8000000 extwhole.bin -EL "C:\CT\STM32\ST-LINK Utility V4.5.0\ExternalLoader\CLIVEONE-MT25TL01G_STM32H7-CUSTOM.stldr"
2019-10-31 04:48 PM
I'll give it a try, I haven't had much luck with the STLink utility, though I have been using the GUI software and not the CLI.
2019-11-05 08:17 AM
In working on an F7 HAL based loader (Micron N25Q128) I'm seeing the Init() function called many times, and getting some time-out issues when it reinitializes the clocks at each entry. The F7 "SPL-F5" code seems to be significantly more robust.
2019-11-07 02:50 PM
Hi Houda,
Have you seen these issues in my post "How to create CubeProg stldr loader file for QSPI external memory?". Please see my latest update in the post.
2019-11-07 05:04 PM
@Houda GHABRI