This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LP-CC2652R7: OAD download not successful

Part Number: LP-CC2652R7
Other Parts Discussed in Thread: CC2652R7,

Tool/software:

Hi Team,

I am currently trying to add the OAD on-chip feature to my firmware on CC2652R7. I try to use BTool to send a new image to do the OAD, but it failed as the picture shows:

I am using simplelink_cc13xx_cc26xx_sdk_7_40_00_77 and CCS 12.8.1, and first flashed these files as Simplelink Academy suggest:

Why the log in BTool shows 

[3877] : <Info> - 12:45:36.023
OAD ImageControl Response
Command ID = 0x12 (ImageBlockWriteRsp)
Status = 0x09 (OAD_INCOMPATIBLE_IMAGE)

Is this the reason OAD download failed? Or anything else I can check? I have learned and follow the Simplelink Academy Bluetooth Low Energy Enhanced Over the Air Download (OAD) Fundamentals

and Bluetooth Low Energy Enhanced Over the Air Download (OAD) Advanced, but still failed to use the on-chip OAD feature.

Could anyone help with that, thanks a lot!!!

Best regards,

Jermyn

  • Hi Jermyn !

    It seems like you have a problem with the image you're uploading through OAD. Could you try uploading through OAD a known image using the SimpleLink app on your phone, to be sure that the problem comes from your firmware and not the initial flashing ? You can find how to do that in the OAD using SimpleLinkTm Connect Mobile Application of the Bluetooth Low Energy - Over the Air Download (OAD) Fundamentals (This SimpleLink Academy is for the CC23XX but should work fine for the LP-CC2652R7 too).

    Kind regards,
    Maxence

  • Hi Maxence,

    Yes, I knew that I have the problem with the image I am uploading, I tried the app before by updating the TI official imagine and it worked.

    My question is that I added the on-chip OAD feature based on what it mentioned in Bluetooth Low Energy Enhanced Over the Air Download (OAD) Advanced.

    But now there is a problem, and I have no idea how to solve, the simplelink academy didn't provide any debugging methods on on-chip OAD, so it really confused me a lot.

    May I know is there any idea that what this problem may come from? Thanks a lot.

    Best regards,

    Jermyn

  • Hi !

    The error 0x09 (OAD_INCOMPATIBLE_IMAGE) indicates that there is a Stack and flash boundary mismatch or program entry mismatch.
    In your screenshot you use 0x86000 for the load address of the persistent app. Did you think of replacing 0x36000 with 0x86000 in the Bluetooth Low Energy Enhanced Over the Air Download (OAD) Advanced SLA ? If not, I invite you to re-do the tutorial by doing this change.

    Kind regards,
    Maxence

  • Hi Maxence,

    Thank you for the information.

    I can use the simple_peripheral_on_chip firmware to update to my firmware, then when I try to update my firmware back to simple_peripheral_on_chip firmware (do the OAD for the second time), there is another question, it showed this message

    May I know is there any idea that what this problem may come from? Thanks for your kind support!

    Best regards,

    Jermyn

  • Hi Jermyn !

    If you're using a debugger, your device might not reset automatically after OAD, and you might need to manually power cycle your target board after the OAD. You can read more about this in the BLE user guide. Could you try to unplug/plug, or to power cycle using the button on the XDS110, after the OAD is done and see if the BTool connection works after ?

    Kind regards,
    Maxence

  • Hi Maxence,

    Thanks for the useful information, it works after I follow your suggestion.

    Thanks a lot!

    Best regards,

    Jermyn