cancel
Showing results for 
Search instead for 
Did you mean: 

Programming STM32H750B-DK discovery board failed

Ehsan
Associate II

Trying the program STM32H750B-DK discovery board using STM32CubeProgrammer, but it fails. Here is the log:

 08:47:43 : STM32CubeProgrammer API v2.11.0 | Linux-64Bits 

 08:47:45 : ST-LINK SN : 0036004A3137511133333639

 08:47:45 : ST-LINK FW : V3J10M3

 08:47:45 : Board    : STM32H750B-DK

 08:47:45 : Voltage   : 3,28V

 08:47:45 : SWD freq  : 24000 KHz

 08:47:45 : Connect mode: Normal

 08:47:45 : Reset mode : Software reset

 08:47:45 : Device ID  : 0x450

 08:47:45 : Revision ID : Rev V

 08:47:45 : Debug in Low Power mode is not supported for this device.

 08:47:46 : UPLOADING OPTION BYTES DATA ...

 08:47:46 :  Bank     : 0x00

 08:47:46 :  Address    : 0x5200201c

 08:47:46 :  Size     : 308 Bytes

 08:47:46 : UPLOADING ...

 08:47:46 :  Size     : 1024 Bytes

 08:47:46 :  Address    : 0x8000000

 08:47:46 : Read progress:

 08:47:46 : Data read successfully

 08:47:46 : Time elapsed during the read operation is: 00:00:00.002

 08:47:53 : Memory Programming ...

 08:47:53 : Opening and parsing file: GPIO_IOToggle.hex

 08:47:53 :  File     : GPIO_IOToggle.hex

 08:47:53 :  Size     : 4,56 KB 

 08:47:53 :  Address    : 0x90000000 

 08:47:53 : Erasing memory corresponding to segment 0:

 08:47:53 : Download in Progress:

 08:47:53 : Error: failed to download Segment[0]

 08:47:53 : Error: failed to download the File

 08:53:41 : Disconnected from device.

1 ACCEPTED SOLUTION

Accepted Solutions
N. SANTINI
ST Employee

Hi,

For a reason I ignore I cannot answer on the other thread so let me answer you here:

As mentioned in the other thread, the workaround mentioned by @Community member​ is only relevant for custom external loaders. When using an ST development kit such as the STM32H750B-DK you just need to select the proper external loader in the "EL" tab of the CubeProgrammer :

0693W00000QMFp2QAH.png STM32CubeIDE include its own version of CubeProgrammer so the same applies, open the Debug Configuration, go the the "Debugger" tab, then :

  • scroll down to the "External Loader" and enable it
  • click on the "scan" button to populate the menu list
  • select the external loader for the STM32H750B-DK board

0693W00000QMFn6QAH.png 

See details in section 3.4.1 (Revision 6) of the STM32CubeIDE user manual

Best regards,

Nicolas

View solution in original post

6 REPLIES 6

This was a similar thread

https://community.st.com/s/question/0D53W00001cIHMQSA4/external-loader-fails-to-download

@N. SANTINI​ 

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

Hi,

For a reason I ignore I cannot answer on the other thread so let me answer you here:

As mentioned in the other thread, the workaround mentioned by @Community member​ is only relevant for custom external loaders. When using an ST development kit such as the STM32H750B-DK you just need to select the proper external loader in the "EL" tab of the CubeProgrammer :

0693W00000QMFp2QAH.png STM32CubeIDE include its own version of CubeProgrammer so the same applies, open the Debug Configuration, go the the "Debugger" tab, then :

  • scroll down to the "External Loader" and enable it
  • click on the "scan" button to populate the menu list
  • select the external loader for the STM32H750B-DK board

0693W00000QMFn6QAH.png 

See details in section 3.4.1 (Revision 6) of the STM32CubeIDE user manual

Best regards,

Nicolas

Thanks, it helped!

I'm not sure why the programming gets this deep into the process without flagging it doesn't have a loader covering the address space in question.

It's a bit like reading 64MB of data before reporting a failure in the first block.

T​hese are things surely that could be caught earlier, and with clear and specific error messages?

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

I agree, this has already been reported internally.

Best regards,

Nicolas

Internal ticket number: 132409 (This is an internal tracking number and is not accessible or usable by customers).

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.