cancel
Showing results for 
Search instead for 
Did you mean: 

Trouble when trying to download demo program to N6570-DK.

Why its not letting me to erase the memory, what happened ?

 

 

 

-------------------------------------------------------------------

STM32CubeProgrammer v2.19.0

-------------------------------------------------------------------

 

ST-LINK SN : 0029002A3033510335393935

ST-LINK FW : V3J13M4

Board : STM32N6570-DK

Voltage : 3.29V

SWD freq : 8000 KHz

Connect mode: Hot Plug

Reset mode : Software reset

Device ID : 0x486

Revision ID : Rev Z

Revision ID : Rev Z

Device name : STM32N6xx

Device type : MCU

Device CPU : Cortex-M55

BL Version : --

 

Opening and parsing file: fsbl_cut_2_0_sign.bin

 

 

Memory Programming ...

File : fsbl_cut_2_0_sign.bin

Size : 46.69 KB

Address : 0x70000000

 

 

 

Erasing memory corresponding to sector 0:

Erasing external memory sector 0

Error: failed to erase memory

 

 

Error: failed to erase memory

-------------------------------------------------------------------

STM32CubeProgrammer v2.19.0

-------------------------------------------------------------------

 

ST-LINK SN : 0029002A3033510335393935

ST-LINK FW : V3J13M4

Board : STM32N6570-DK

Voltage : 3.29V

SWD freq : 8000 KHz

Connect mode: Hot Plug

Reset mode : Software reset

Device ID : 0x486

Revision ID : Rev Z

Revision ID : Rev Z

Device name : STM32N6xx

Device type : MCU

Device CPU : Cortex-M55

BL Version : --

 

Opening and parsing file: Project_ootb_v0.5.0.bin

 

 

Memory Programming ...

File : Project_ootb_v0.5.0.bin

Size : 548.16 KB

Address : 0x70080000

 

 

 

Erasing memory corresponding to sector 0:

Erasing external memory sectors [8 16]

Error: failed to erase memory

 

 

Error: failed to erase memory

-------------------------------------------------------------------

STM32CubeProgrammer v2.19.0

-------------------------------------------------------------------

 

ST-LINK SN : 0029002A3033510335393935

ST-LINK FW : V3J13M4

Board : STM32N6570-DK

Voltage : 3.29V

SWD freq : 8000 KHz

Connect mode: Hot Plug

Reset mode : Software reset

Device ID : 0x486

Revision ID : Rev Z

Revision ID : Rev Z

Device name : STM32N6xx

Device type : MCU

Device CPU : Cortex-M55

BL Version : --

 

Opening and parsing file: network_data.hex

 

 

Memory Programming ...

File : network_data.hex

Size : 3.19 MB

Address : 0x70180000

 

 

 

Erasing memory corresponding to sector 0:

Erasing external memory sectors [24 75]

Error: failed to erase memory

 

 

Error: failed to erase memory

-------------------------------------------------------------------

STM32CubeProgrammer v2.19.0

-------------------------------------------------------------------

 

ST-LINK SN : 0029002A3033510335393935

ST-LINK FW : V3J13M4

Board : STM32N6570-DK

Voltage : 3.29V

SWD freq : 8000 KHz

Connect mode: Hot Plug

Reset mode : Software reset

Device ID : 0x486

Revision ID : Rev Z

Revision ID : Rev Z

Device name : STM32N6xx

Device type : MCU

Device CPU : Cortex-M55

BL Version : --

 

Opening and parsing file: gfx_appli.bin

 

 

Memory Programming ...

File : gfx_appli.bin

Size : 554.81 KB

Address : 0x71000000

 

 

 

Erasing memory corresponding to sector 0:

Erasing external memory sectors [256 264]

Error: failed to erase memory

 

 

Error: failed to erase memory

-------------------------------------------------------------------

STM32CubeProgrammer v2.19.0

-------------------------------------------------------------------

 

ST-LINK SN : 0029002A3033510335393935

ST-LINK FW : V3J13M4

Board : STM32N6570-DK

Voltage : 3.29V

SWD freq : 8000 KHz

Connect mode: Hot Plug

Reset mode : Software reset

Device ID : 0x486

Revision ID : Rev Z

Revision ID : Rev Z

Device name : STM32N6xx

Device type : MCU

Device CPU : Cortex-M55

BL Version : --

 

Opening and parsing file: ebike_appli.bin

 

 

Memory Programming ...

File : ebike_appli.bin

Size : 829.53 KB

Address : 0x71200000

 

 

 

Erasing memory corresponding to sector 0:

Erasing external memory sectors [288 300]

Error: failed to erase memory

 

 

Error: failed to erase memory

-------------------------------------------------------------------

STM32CubeProgrammer v2.19.0

-------------------------------------------------------------------

 

ST-LINK SN : 0029002A3033510335393935

ST-LINK FW : V3J13M4

Board : STM32N6570-DK

Voltage : 3.29V

SWD freq : 8000 KHz

Connect mode: Hot Plug

Reset mode : Software reset

Device ID : 0x486

Revision ID : Rev Z

Revision ID : Rev Z

Device name : STM32N6xx

Device type : MCU

Device CPU : Cortex-M55

BL Version : --

 

Opening and parsing file: gfx_assets.hex

 

 

Memory Programming ...

File : gfx_assets.hex

Size : 53.90 MB

Address : 0x72000000

 

 

 

Erasing memory corresponding to sector 0:

Erasing external memory sectors [512 1374]

Error: failed to erase memory

 

 

Error: failed to erase memory

1 REPLY 1
Julian E.
ST Employee

Hello @Einstein_rookie_version ,

What demo are you trying to use exactly?

 

Here is an example of what you should generally be done:

  • Set the Boot pins to the right
  • Plug the DK board via the ST link to the PC
  • Open CubeProgrammer
  • COnnect the board with the green button on the right
  • Go to external Loader (bottom left button) and look for the DK board
  • Chek the box

JulianE_0-1741344115063.png

  • Go back Erasing & Programming
  • Select your file
  • Click Start programming

 JulianE_1-1741344280430.png

 

Have a good day,

Julian

 

 

 

 


In order 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.