Use ST-Link for Arduino IDE Programming

Would anyone have information on how use ST-Link to directly program RAK3172 using Arduino IDE? I already use ST-Link to program RAK3172 using STM32CubeProgrammer Software.

Hi @pmjackson ,

If you are using RAK3172 with RUI3 based firmware, this is something we do not support. Also not in the roadmap at the moment.

If you are using RAK3172 with STM32Duino, then STLink can be used to upload program to RAK3172.

Thank you for the information.

Just for the records…
We had a similar issue.
The UART pins of our RAK3172 device are not exposed. We have only access to the SWD interface.
We were trying to upload the RUI3 OTAA example so we opened the hex file generated by Arduino with STM32CubeProgrammer and burnt it with the option “Run after programming” enabled. This worked properly just after burning but, as soon as we powered down the device and repowered it on, it dinn’t work any more.
We have solved it uploading the RUI3 bootloader HEX file and then the bin file generated by Arduino indicating 0x08006000 as starting address in STM32CubeProgrammer.

1 Like