Is it possible to program an Arduino RUI3 program using ST-LINK

I have a custom board based on RAK3172 but without the serial port pins accesible.

I would like to program it using the SWD port + STM32CubeProgrammer + ST-Link

I have tried to export the binaries from Arduino (Program > Export compiled Binaries) to get an HEX file, but after programming this HEX using STM32CubeProgrammer + ST-Link the program does not seem to start.

Any advice?
Kind regards

OK, I have found a solution.

I have programmed the hex file generated in the Temp Arduino folder and it works
C:\Users\xxxx\AppData\Local\Temp\arduino_build_xxx

==> STM32Cube-Programmer-Guide

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.