RAK3172 firmware updating

I have stamp RAK3172. I have messed up and now trying to reprogram the module using ST-Link V2 and CubeProgrammer. At first, I could upload codes using arduino ide and use the at commands. but now I can’t do either. I have flashed RAK3172-E_latest. bin from the download center. what should I do to get the module to the factory made state?

Welcome to RAK forum @choola .

You can use STCubeProgrammer via UART or via ST-Link V2.

If you have stable USB-UART converter and reliable, doing it via UART should be fine.

You must upload the hex file - https://downloads.rakwireless.com/RUI/RUI3/Image/RAK3172-E_latest_final.hex

thank you @carlrowan.

I have another issue now. I uploaded the LoRawan_OTAA example to this board. used the ChirpStack server, and at the first time it worked fine. Then I tried to send different data using this same example. It did not work. Now that code has worked, is also not working.
getting the error msg
Wait for LoRaWAN join…+EVT:JOIN_FAILED_TX_TIMEOUT

Is there anything happening inside, like changed some states? is there anyway to reset the module to factory settings?

1 Like