2020-04-09 05:50 AM
I installed STM32CubeProgrammer and connected my STLINK/V2 (B 2016 25) to my target board which uses an STM32L151CBU6 and tried to flash my code. I get the following result:
09:45:21:779 : Size : 9152 Bytes
09:45:21:779 : Address : 0x08000000
09:45:21:780 : Erasing Segment <0> Address <0x08000000> Size <9152>Bytes
09:45:21:780 : Erasing memory corresponding to segment 0:
09:45:21:850 : Memory erase...
09:45:21:850 : Error: Flash loader cannot be loaded
09:45:21:888 : Error: failed to erase memory
11:20:24:677 : Warning: Connection to device 0x429 is lost
11:20:25:154 : Disconnected from device.
11:20:25:156 : STLinkUSBDriver.dll loaded
I can flash the board with the STM32 ST-LINK Utility without problems.
What could be wrong?
2020-10-30 07:20 AM
Hi @Community member
This will be internally checked, I'll give you an update as soon as possible.
Best Regards,
Nesrine