How to debug LoRa-E5 dev kit from STMCubeIDE?


I am able to build various firmware projects in STM32CubeIDE and download them using the STM32CubeProgrammer, via the ST-LINK on a Nucleo64 board.

I cannot figure out how to debug the firmware. I have tried lots of variations in the Eclipse debugging dialog and none of them seem to work.

I imagine I need to skip the download because that’s done via STM32CubeProgrammer. But what is the setup here? Does STM32CubeProgrammer act as a GDB server to which Eclipse should connect?

Has anyone managed to debug from Eclipse via the ST-LINK on a Nucleo64?

Regards, David.


I’ve succed to debug it using STM32CubeIDE and a STlinkV2 from a nucleo board.

I’ve connected :

  • STlink T_Vdd to nothing
  • STlink T_SWCLK to Lora-E5 SWCLK
  • STlink T_GND to Lora-E5 GND
  • STlink T_SWDIO to Lora-E5 SWDIO
  • STlink T_RESET to Lora-E5 RESET

I’ve made this debug conf

And finally, I only lunch the debug.