RAK3172 RUI FW upgrade over AT error

Hi,

I am trying to upgrade the RUI firmware (currently 3.5.1) on a RAK3172-E using the AT command interface. I place the device in boot mode, it answers with <BOOT MODE>.

I (02:07:21.976) LORA: ->
I (02:07:21.976) LORA: AT+BOOT

I (02:07:22.076) LORA: <-
I (02:07:22.076) LORA: <BOOT MODE>

I then start sending the new firmware (v4.0.0) over the serial interface in 256 byte blocks, with a small delay between blocks (100ms) and checking for data back from the device between each block.

Somewhere around block 690 (176640 bytes) the module sends back “AT not support.” (please see below)

Am I doing something wrong or missing a step? The AT command manual gives no detailed explanation of how to do this.

I (02:07:22.y76) LORA: Sending firmware (193673 bytes) in 756 blocks(256 bytes) and 137 bytes
I (02:07:22.079) LORA: Sending block 0
I (02:07:22.186) LORA: Sending block 1
I (02:07:22.296) LORA: Sending block 2
I (02:07:22.406) LORA: Sending block 3
I (02:07:22.517) LORA: Sending block 4
I (02:07:22.626) LORA: Sending block 5
I (02:07:22.736) LORA: Sending block 6
.
.
.
I (02:08:32.719) LORA: Sending block 686
I (02:08:32.821) LORA: Sending block 687
I (02:08:32.919) LORA: Sending block 688
I (02:08:33.026) LORA: Sending block 689
I (02:08:33.128) LORA: Sending block 690
I (02:08:33.231) LORA: <-
I (02:08:33.231) LORA: AT not support.

AT not support.

Welcome back to the forum @mmitton

What application do you use to update the firmware?
Firmware updates should be done with WisToolBox (recommended) or with our old RAK DFU Tool.

Hi beegee,

Thank you for your reply.

I am trying to update the firmware using the serial port Uart2 from a our application within the attached micro-controller.

Regards

I saw attempts like that before. Not sure why, but I think so far nobody succeeded.

The message AT not support. points towards a problem that the RAK3172 is in bootmode, but doesn’t accept the bytes you are sending him as a firmware.

I do not have all the details how the upgrade process actually works. But I guess there are some commands required before the byte stream can be sent.

Thank you,

I do not have all the details how the upgrade process actually works. But I guess there are some commands required before the byte stream can be sent.

Can you please point me in the direction of where to find the details, or who to ask? We have some units in the field that need to be upgraded remotely and this is the only method to do it.

Regards

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.