I am new in trying out RAK modules and currently I am building applications based on RAK3172 module.
The RAK3172 modules initially run properly after uploading latest bin firmware through Device Firmware Upgrade Tool v1.4 and I can upload different codes to test different functions. However, after several trials with re-uploading RUI3 hex firmware through STM32CubeProgrammer (due to no serial response in some of the testing codes), the modules no longer response with any AT commands or code uploading from Arduino IDE. Even if I try to detect the modules with WisToolBox, the “Your device may not be fully synced” warning appears and switching to AT mode function results in fail error.
I have tried switching fw versions and all of them can be uploaded to the module, but the AT and code upload functions are still not working. This situation might be similar to this post and I have tried running at+run after uploading the fw and pulling boot0 down back. Still, none of them response with code uploading procedure. Is this an abstract problem? It seems that this is a pretty rare case in the forum.
Information for software configuration and version:
Arduino IDE: v2.0.4
Arduino Rakwireless RUI STM32 Boards: v3.5.3
FW file version tried:
RAK3172-E_latest_final.hex (v4.0.0 from download center)
RAK3172_v1.0.4_Boot+App_20220218.hex (AT commands responsed in 9600 baud rate, but code uploading still failed)
Procedure for my testing:
- Connect BOOT0 to 3v3
- Connect module with STM32CubeProgrammer (via UART2, 115200 8E1)
- Download the firmware file listed above
- Disconeect STM32CubeProgrammer
- Connect BOOT0 to GND
- Open Serial Monitor with Arduino IDE (same COM port and UART, 115200 NL&CR)
- Run at+run, at, AT+BOOT with at+run commands
- Upload custom codes and example codes