2021-07-21 06:12 PM
Trying both 2.7 and 2.8 downloading 128MB (and smaller amounts), completes after one read interaction, about 0x7D400 bytes
C:\STM32Cube\STM32CubeProgrammer_v2.7.0\bin>STM32_Programmer_CLI --connect port=swd --log ext128m.log --extload C:\STM32Cube\STM32CubeProgrammer_v2.8.0\bin\ExternalLoader\MT25TL01G_STM32H747I-DISCO.stldr --upload 0x90000000 0x8000000 h747ext128m.bin
-------------------------------------------------------------------
STM32CubeProgrammer v2.7.0
-------------------------------------------------------------------
Log output file: ext128m.log
ST-LINK SN : 0031004E3037510339373532
ST-LINK FW : V3J8M3
Board : STM32H747I-DISCO
Voltage : 3.29V
SWD freq : 24000 KHz
Connect mode: Normal
Reset mode : Software reset
Device ID : 0x450
Revision ID : Rev X
Device name : STM32H7xx
Flash size : 2 MBytes
Device type : MCU
Device CPU : Cortex-M7/M4
UPLOADING ...
File : h747ext128m.bin
Size : 134217728 Bytes
Address: : 0x90000000
Read progress:
▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
Data read successfully
Warning: The file h747ext128m.bin already exists, it will be overwritten
Time elapsed during read operation is: 00:00:01.180
0%
GUI version also gets stuck at 99% when doing 64MB reads
2021-07-26 07:57 AM
Hello @Community member ,
Thanks for your feedback.
I escalated this issue to involved people to take a closer look at the problem.
Imen
2021-08-12 05:27 AM
Hi @Community member ,
Could you please provide files used such as h747ext128m.bin?
Imen
2021-08-12 06:06 AM
It is a file that STM32 Cube Programmer will generate as it's is being ask to pull the content currently on the QSPI IC back into the PC.
Where if successful you'll end up with a 128 MB (or 64 MB if low amount specified)
Current behaviour is that it bombs out after a single read, the read size being determined by the amount of slack SRAM memory after the loader is accommodated.
This is using an ST board, with an ST (.stldr) External Loader
2021-09-01 12:05 AM
Hi @Community member ,
Issue confirmed and our team are working to fix this.
(Internal ticket 111180: This is an internal tracking number and is not accessible or usable by customers)
Thanks
Imen
2021-09-01 01:29 AM
Thanks.
As I've offered before, I can help the team with beta and QA testing this stuff, as I have a background in ELF and object loaders, and mass storage devices. I also have a lot of STM32 systems fixtured to take an assortment of QSPI flash chips.
2021-09-01 02:04 AM
The main external loader repository is here https://github.com/cturvey/stm32extldr
Supporting a lot of chip and pin combinations, both those encountered, and built to order as needed.