Skip to main content
Tesla DeLorean
Guru
October 16, 2019
Question

STM32 Cube Programmer V2.2.0 still buggy

  • October 16, 2019
  • 1 reply
  • 1522 views

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

0690X00000AqP2pQAF.jpg

This topic has been closed for replies.

1 reply

Houda GHABRI
ST Employee
October 16, 2019

​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

mattb3.14159
Associate II
October 31, 2019

I have exactly the same problem. Do you need a beta tester for the --upload 0x00000000 0x1000000 fil.bin bug?

Tesla DeLorean
Guru
October 31, 2019

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"

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