hi
iam charlet,iam using RAK11720 module soldered on RAK3172 breakout board and updating the firmware via TTL connector.i want to read modbus data through Serial1,but iam not receiving any response from the Serial1.whether it is due to RAK3172 Breakout board is not compatible with RAK11720 Serial1? or it is due to the modbus library iam using?
The RAK11720 is pin compatible with the RAK3172 and the UART pins are at the same position.
I do not know this specific ModBusRTUMaster library, but I was able to setup a ModBus RTU master with this example code on all of the WisDuo modules (RAK3172, RAK11720, RAK4630)
I think I collapsed the uart in rak11720.not I cannot give at command and cannot update the firmware.can you send me the updated bootloader for rak11720
I don’t have separate bootloader for the RAK11720.
Use the RAK11720_latest_final.hex, that should include everything.
You need JLink or RAKDAP1 to flash it.
For the recovery method, did you follow the RESET RAK11720 BOARD!!! that is shown in the log? Sometimes you need to try several times to catch the right time.
If you have a Jlink, why not use JFlash application to flash the HEX file? I never tried pyocd with a Jlink adapter. I use it only with DAPlink adapters.
after sometime i just modified the firmware and try to upload,it shows the same error,
RAK Apollo3 Serial Bootloader
Script version: 0.0.1
Failed to enter bootload phase…
after that i tried with AT+BOOT,Firmware updated only 70% then failed with the same error.
now AT command no response,also i cannot upload the firmware.i really dont know what is the issue…
could be the issue.
Power up the board, connect a serial terminal with 9600 baud and then send AT+BOOT to the board. It should go into bootloader mode and set the baudrate to 115200 for the firmware update.
I never work with the commandline with Jlink.
In JFlash you have the option for a chip erase.
Should be possible with the commander as well. You just have to read the docs for it.
Btw, after answering a similar question (same screenshot)
Your error message says “Cannot connect to J-Link”
That is a problem with your J-Link adapter, not with the RAK11720.
We cannot help with problems using the Segger J-Link adapter or J-Flash application. You can connect Segger directly for this problem