Read external SPI Flash with external flashloader and CLI is slow.
Hello
I implemented an external flashloader for STM32F767 for an external SPI Flash. The size of the flash is 256MBit. I want to readout the whole flash with *.bat file. I tried with this line:
STM32_Programmer_CLI.exe -c port=SWD reset=HWrst freq=8000 -el "PathToFlashloader.stldr" -r 0x90000000 500000 "readfile.bin"I works properly but only until a size of about 500KBytes (Is this limited by the ST-Link v3 or the STM32CubeProgrammer CLI?)
What I do now, is executing the same line of code (see above) with with different addresses. In the end I get whole memory, but in different files and it tooks a lot of time, because the reconnect of the device tooks a lot of time.
- Is there a possibility to get the whole memory in one file?
- Is there a possibility to add several readouts to one instance like this?:
STM32_Programmer_CLI.exe -c port=SWD reset=HWrst freq=8000 -el "PathToFlashloader.stldr" -r 0x90000000 500000 "readfile.bin" -r 0x9007A120 500000 "readfile2.bin"I tried this, but it doesn't work properly.
Are there any other hints for optimizing the script? Primarly I need to read the memory. Writing and erasing is not important.
Thanks
\Marco
