OTAFU fail because bleappfwu_writeMem cannot write to EEPROM

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

cross mob
Anonymous
Not applicable

Hi,

I'm using a BCM20737TAG and Plugable USB Bluetooth 4.0 Low Energy Micro Adapter to test OTA feature. It used to work.

Today I found OTA failed because CRC verification failed in ws_upgrade_verify().

I print the data written to EEPROM and read from EEPROM. They're different.

bleappfwu_readMem and bleappfwu_writeMem always return 0.

This is the DS location.

Active DS1: 0x00000580, Upgrade DS2: 0x00008000.

I tried recover, it succeed. But OTA still failed.

When DIP switch 2 of SW4 is in OFF position, reset BT, it can boot.

When DIP switch 2 of SW4 is in ON position, reset NT, it won't boot. But I can still download application to the board. This is very weird.

I feel BT cannot write to EEPROM after 0x00008000.

Is there a way to download application to DS2 using UART?

Thanks you

Jeffrey

0 Likes
1 Solution
Anonymous
Not applicable

Finally I got it working, I need turn DIP switch 1-4 of SW4 to OFF position.

The problem is I cannot see the debug trace from BT firmware

View solution in original post

0 Likes
2 Replies
BoonT_56
Employee
Employee
500 likes received 250 likes received 100 likes received

Cannot be sure what could be the issue here. Can we do a clean recovery of the tag3? Then test out the secure OTA download app from the SDK and let's see where we get to.

0 Likes
Anonymous
Not applicable

Finally I got it working, I need turn DIP switch 1-4 of SW4 to OFF position.

The problem is I cannot see the debug trace from BT firmware

0 Likes