RAK811 Programming ST-Link/V2
Has anybody programmed the RAK811-module with CoIDE and a ST-Link/V2?
I can't upload the built file to the module. I get:
"Error: Connect failed, check conifg and cable connection"
I think my cable-connections are ok.
Which is the exact name of the intern controller?
Has the BOOT-Pin to be LOW or HIGH?
Any other ideas, what can be the mistake?
It is STM32lGBU6, according to a picture in aliexpress!
But on ST site there is no STM32L151GBU6. We have STM32LCBU6.
I am using that setup now, and it works very well.
The only tweak required for me was to select ST-Link in the debug section of the project config inside CoIDE.
Remember with ST-Link you need to connect the voltage sense to the 3.3v.
You will also get such an error if the model is in the low power halt/sleep mode, as SWD shuts down then (RtcEnterLowPowreStopMode() achieves this unfortunately so take care).