Hello,
I’ve recently bought a STM32WLE5 Core WizBlock Core Module. As I’m trying to avoid the Arduino Ecosystem, I’ve decided to create a low level application (using STM32CubeIDE) and followed this guide:
It looks like I succeeded and I have a .bin file ready for upload to the STM target. I open STM32CubeProgrammer, hit “Connect” and a connection to my ST-Link V2 is established. It seems like reading the memory succeeds. I select the .bin file for upload and hit “download” (which seems to be for upload - confusing …) but then an error message pops up saying:
Failed to erase memory
Not sure what I can do at this point. Are there any write protections that need to be removed previously?
The ST-Link V2 debugger is connected via:
- GND
- SWDIO
- SWCLK
- RST
to the RAK 3172 module. Do I need to connect more pins or even set pins to particular voltage levels to make it work, e.g. set the BOOT0 pin at the module?