Skip to main content
Arno1
Senior
October 7, 2021
Question

How to erase external flash from CLI?

  • October 7, 2021
  • 1 reply
  • 775 views

I would like to erase the external flash from terminal using STM32_Programmer_CLI.

Using the command

STM32_Programmer_CLI -c port=SWD freq=4000 mode=UR -el MX25LM51245G_STM32H735G-DK.stldr --erase all

does not seem to erase the external flash.

Giving the --erase flag indices would not work either because indices for both internal and external flash start at 0.

This topic has been closed for replies.

1 reply

Arno1
Arno1Author
Senior
October 14, 2021

bump