How to mass erase the external flash using STM32_Programmer_CLI
Hi all,
I realized my custom external loader for STM32CubeProgrammer and it works fine when used from the Programmer GUI.
I can program, erase ad read external flash.
Now I'd like to use the command line interface but I cannot find how to mass erase the external flash from CLI.
If I load a .HEX file for the external flash the affected sectors are erased and programmed perfectly, but issuing the -e all command anly erases the internal flash.
Since my .hex file contains only used external flash areas, I'd like to do a mass erase before writing so I'm sure that flash is clean before writing.
External mass erase is possible from GUI so I suppose it is also possibel from command line...
Any suggestion?
Thanks,
Davide
