Hi all,
I recently bought RAK3172 module, below are my observation:
Observation:
when I connect to uart[2] I got rak welcome message, but no response received for ATcommands tried multiple iteration.
My exercise:
Cross checked the TTY (loopback TX to rx) to check TTY is working correctly or not.
Device power was normal 3.3
uart 2 TX voltage as 3.3.
Boot 0 to GND.
Connect to RAK tool to send ATcommand: no response was received.
Checked by manually sending command via Docklight too. No response.
Tried to flash latest .bin of rak, via Rak flash tool, flashing is failed.
Kindly let me know why device is not responding to any ATcommand and also not allowing to flash.
Same behaviour was observed even in ST-Link tool during flashing (not able to connect to target ) …
I have seen all the quires raised from the Rak portal, but not is working…
Can any one please elaborate what went wrong or what I have missed…
Can you confirm if the TX and RX connection is correct? Swapping it then trying again wont hurt.
Can you confirm if the jumper wires (if ever you use one) is ok in continuity. Sometimes this gets broken.
Jumper connectivity and connection are correct.
Is there another USB-UART device connected? Sometime wrong port is selected.
No ports are connected except Rak 3172, as I said I’m able to connect, welcome message is printed but no response to tx ATcommand.
On uploading the bin via RAK DFU Tool, did you use 9600 as baud rate?
Yes, i selected 9600.
On using ST-Link, did you provide external 3.3V? Is the supply voltage detected by the STM32CubeProgrammer?
I connected Rak3172 to St-Link of stm32wl55jc nucleo board. As per nucleo board datasheet we removed jumpers mentioned to use it for external device. All the Rak jumpers are connected directy to nucleo board.
Able to read serial number of ST-Link but not able to connect to RAK device.
Will it be possible if you can try in a different PC.
UART RX and port seems ok. For the TX part, I am not sure yet. Do you have terminations on each command? No replies on ATR and ATZ as well?
Does the RAK DFU Tool starts and stopped in in a certain percentage or it is totally 0%?
I really can’t say about ST-LINK of nucleo board. But probably you can try to upload via UART Bootloader and use STM32CubeProgrammer. Remember to upload RAK3172_v1.0.3_Boot+App_20211021.hex not the .bin. Please let me know if the STM32CubeProgrammer will be able to detect board via STM32’s UART Bootloader.
UART RX and port seems ok. For the TX part, I am not sure yet. Do you have terminations on each command? No replies on ATR and ATZ as well?
Yes, ATcommand is terminated by “CR” “LF” (0x0D 0x0A).
Does the RAK DFU Tool starts and stopped in in a certain percentage or it is totally 0%?
Yes. It stoped in 0%.
I really can’t say about ST-LINK of nucleo board. But probably you can try to upload via UART Bootloader and use STM32CubeProgrammer. Remember to upload RAK3172_v1.0.3_Boot+App_20211021.hex not the .bin. Please let me know if the STM32CubeProgrammer will be able to detect board via STM32’s UART Bootloader.
Okay, let me know reset and boot state ?
Tried even with STM32CubeProgrammer, but not able to connect to target device.
scenario:
Boot0 was 3.3v and reset was connected to GND and removed after few sec. Tried to connect via ST PROGRAMMER, failed to connect to target.
Thanks for the confirmation. With all those info, I can only say that either the RAK3172 module is not working ok/damaged or the UART TX command is not reaching the RX of RAK3172.
You received RAK3172 initial display so I assume that the FW it is still intact. Do you only have extra module? Also do you have extra USB-UART converter? Swapping and testing them might give us better insight.