STM32Cube IDE v1.8 not be able to download to Discovery L5 board anymore
- December 7, 2021
- 8 replies
- 4617 views
I upgraded to v1.8 and realized that my programs cannot be downloaded anymore to my discovery STM32L5 board. The error message says:
Erasing memory corresponding to segment 0:
Erasing internal memory sectors [0 9]
Download in Progress:
Error: Fail to write buffer in flash
Error: failed to erase memory
Upto that message all other status messages looks fine. I assume it is related to ST-LINK GDB server. Version 6.0.0 because in STM32Cube IDE this was version 5.x.x.
The STM32Programmer is still able to download to the board. If I connect the STM32Programmer right after an unsuccessful download of STM32CubeIDE I can see that parts of the memory get deleted but not programmed correct afterwards (see screenshot attached). The first 8 Bytes are correct. After that only erased memory cells are shown.
Would be great if this can be fixed soon.
Best Regards
Markus