cancel
Showing results for 
Search instead for 
Did you mean: 

Continued frustrating time with STM32 Cube Programmer

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

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
6 REPLIES 6
Imen.D
ST Employee

Hello @Community member​ ,

Thanks for your feedback.

I escalated this issue to involved people to take a closer look at the problem.

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
Imen.D
ST Employee

Hi @Community member​ ,

Could you please provide files used such as h747ext128m.bin?

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen

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

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

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

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen

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.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

0693W00000DqPQtQAN.jpgThe 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.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..