ota_secure_firmware_upgrade not working on reboot

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hi,

I'm trying the secure ota and encounter this issue:

Following this post, WICED Smart BCM92073X OTA Firmware Upgrade (1)

After download ota_secure_firmware_upgrade, the device can be discovered and seems working.

But after reboot, it's not broadcasting and get no trace (from timer) also.

I check the OTA image footprint in NV, it is larger than 10k bytes. If I comment the following code in hello_sensor_write_handler(), then the OTA footprint will be below 10k and able to work:

    else if ((len >= 1) && (handle == HANDLE_WS_UPGRADE_CONTROL_POINT))

    {

        return (ws_upgrade_ota_handle_command (attrPtr, len));

    }

I also experience when OTA footprint 10k bytes, it will stop working before. Is there any reason and any way to solve it?

Appreciate for help!

I'm using BCM20737S

Best regards,

Sam

0 Likes
1 Solution
Anonymous
Not applicable

Hi Sam,

Have you tried below workaround?

Crystal warm-up work-around video...

For Odyssey board, jeremynigh and 79rpm will help you.

View solution in original post

8 Replies
Anonymous
Not applicable

Hello Sam

Have you tried one of the sample Apps?

Thanks,

JT

0 Likes
Anonymous
Not applicable

Hi JT

I'm using the project ota_secure_firmware_upgrade

0 Likes

It is not obvious to us at first glance as to what could have happened.

I noted that you are doing this on a SIP module. Are you doing this FW upgrade on the tag3 or your own board?

0 Likes
Anonymous
Not applicable

Hi boont,

It was done on mPression's odyssey board.

79rpm  jeremynigh  dmiya

0 Likes

Hi dmiya, could you help to look into this issue as it was reported on a mpression board?

0 Likes
Anonymous
Not applicable

Hi boont dmiya

I did some more testing with Odyssey and Wiced Smart Sensor tag. Listed down the issues as following:

Odyssey:

When the build output indicates "OTA image footprint in NV" larger than ~10kB, the following issue will happen:

Right after programmed when USB is still attached, the board is working properly. After restart through de-attach and re-attach USB, the board will go into programming mode by itself.

Wiced Smart Sensor tag:

I tried to download projects: hellow_sensor, WICED_SENSE and ota_secure_firmware_upgrade, the issue below happens:

After download, the device will only appear in scanning result for a very short time then disappear. After restart the board, the same issue happens.

0 Likes
Anonymous
Not applicable

Hi Sam,

Have you tried below workaround?

Crystal warm-up work-around video...

For Odyssey board, jeremynigh and 79rpm will help you.

Anonymous
Not applicable

Hi dmiya,

Great! The workaround solved the issue on Wiced Smart Sensor tag!

Jeremy introduced me to Mickael on issue on Odyssey. Wondering if others have any idea.

Great thanks all!

0 Likes