Hello All,
I am currently working on performing OAD on an Image-B that has been modified to use more than half of the flash memory.
I have completed the following steps:
1. Load BIM onto Target Device Using Smart RF Flash Programmer
2. Load Image-A Using Smart RF Flash Programmer
3. Load Image-B Using Smart RF Flash Programmer
- Image B is Running - I can connect to Bluetooth and receive notification updates. Verified by LED output (Green LED) Great!
4. Using OAD Manager on a SmartRF05 board:
- Connect to device
- Load IMAGE-A.bin through Serial Boot Loader tool
- Send OAD update
5. Image-A is now running - I can connect to Bluetooth, (no notifications from Image-A) Verified by LED output (red LED) Great!
6. Using OAD Manager on a SmartRF05 board:
- Connect to device
- Load IMAGE-B.bin through Serial Boot Loader tool
- Serial Boot Loader Tool Fails with the following error:
7. I debug the OAD_Manager program to find where the fail code is being sent. I traced it back to this point:
8. If I pass this break point quickly, it will show the error message shown in #6 above instead of a timeout.
Some notes that I have done:
- I am using SimpleBLEPeripheral to create Image-A and Image-B.
- OAD_IMG_A_AREA 52
- OAD_IMG_B_AREA (124 - OAD_IMG_A_AREA)
- I noticed there is a discrepancy in the OADManager of the OAD_IMG_B_AREA, but changing this value to match makes me get an error (same as #6 above) as soon as I click Load Image in the SBL tool without even downloading anything (immediate error 0% progress).
Any help is greatly appreciated!