cancel
Showing results for 
Search instead for 
Did you mean: 

Extrenal Loader error: failed to erase memory for STM32H50B DK Board

NKuma.20
Associate

There is this error which I have encountered while accessing the QSPI external flash laoder.

I had followed the below link for building up the .stldr file:

https://github.com/STMicroelectronics/stm32-external-loader/tree/contrib/Demo_Project

Now when I'm using STM32CubeProgrammer to upload a .bin file, I'm getting the following message:

12:26:04 : STM32CubeProgrammer API v2.17.0 | Windows-64Bits
12:26:09 : UR connection mode is defined with the HWrst reset mode
12:26:09 : ST-LINK SN : 004300493137511033333639
12:26:09 : ST-LINK FW : V3J10M3
12:26:09 : Board : STM32H750B-DK
12:26:09 : Voltage : 3.27V
12:26:09 : SWD freq : 8000 KHz
12:26:09 : Connect mode: Normal
12:26:09 : Reset mode : Software reset
12:26:09 : Device ID : 0x450
12:26:09 : Revision ID : Rev V
12:26:09 : Debug in Low Power mode is not supported for this device.
12:26:10 : UPLOADING OPTION BYTES DATA ...
12:26:10 : Bank : 0x00
12:26:10 : Address : 0x5200201c
12:26:10 : Size : 308 Bytes
12:26:10 : UPLOADING ...
12:26:10 : Size : 1024 Bytes
12:26:10 : Address : 0x8000000
12:26:10 : Read progress:
12:26:10 : Data read successfully
12:26:10 : Time elapsed during the read operation is: 00:00:00.004
12:26:43 : Memory Programming ...
12:26:43 : Opening and parsing file: testbinary1M.bin
12:26:43 : File : testbinary1M.bin
12:26:43 : Size : 1.13 MB
12:26:43 : Address : 0x90000000
12:26:43 : Erasing memory corresponding to segment 0:
12:26:43 : Erasing external memory sectors [0 18]
12:26:43 : Error: failed to erase memory
12:26:43 : Error: failed to erase memory

 

What could be the reason for this ? If anybody could help me on this.

Attaching the .ioc file for reference.

0 REPLIES 0