Upgrading firmware with FOTA fails

Hi, I am trying to upgrade firmware version on HL8548-G to the latest with FOTA.
But the upgrade process failed with the following log.
It says the current firmware version does not match the version I want to upgrade to, but this is exactly what I want.
Why is this happening?

tabrain
 action [OPENAT_IDS_FW_INSTALL]
 reading version
 version from device: RHL85xx.5.5.16.0.201505261641.x6250_2 - package to install: FULL
 install exec sent
 the device accepted for processing the OMA-DM FUMO command
 device acknowledged the Exec with 405
 Impossible to execute command [the application revision 'RHL85xx.5.5.25.0.201804161340.x6250_2' doesn't match the installed firmware revision : 'RHL85xx.5.5.16.0.201505261641.x6250_2']

@otsuki.hitoshi,

I see the device you are using is the HL8548-G, did you explicitly select the -G on the server? Can you set at+wdsi=8191 on the HL8 and give the responses from the unit so that we can see what it is thinking?

I have looked at the 5.5.24 model for the HL8548-G and it includes the full 12MB firmware image so you should be able to go from 5.5.16.0

Regards

Matt

did you explicitly select the -G on the server?

Yes.

I am not sure what is happening but the device is no longer able to communicate with the server even though I got OK after AT+WDSS=1,1.

After setting at+wdsi=8191, I got the following:
+WDSI: 4
+WDSI: 7

@otsuki.hitoshi,

So the OK after the at+wdss=1,1 just means the command has been accepted and is being actioned by the unit.

The key thing that you have above is the +WDSI:7, this typically means that the authentication with the server has failed which is one of two things, either it does not have the keys on board or the unit is not registered. Can you send at+wdsg to the unit, this will tell you the state of the services, if you see a +WDGS: 0,0 then it means there are no keys and it cannot connect.

Regards

Matt

1 Like

Thank you for your help.

I got the following in response to at+wdsg

+WDSG: 0,3
+WDSG: 1,2

OK

@otsuki.hitoshi,

The unit is definitely capable of connecting the the server (0,3) and the second implies that the unit knows there is something there waiting for it so I am a bit mystified as to why, assuming the unit is still registered on the server why it is failing to connect.

Regards

Matt

I was able to upgrade the firmware through USB.
Anyways, thank you so much for your help.