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.

CCS/CC2642R: uniflash "verify image" fails to verify SBP image

Part Number: CC2642R
Other Parts Discussed in Thread: UNIFLASH

Tool/software: Code Composer Studio

  1. I've built SBP demo project, FlashROM_Release configuration, and loaded it via UniFlash to a CC2642R1/CC2652R1 LaunchPads.
  2. The burn process completes successfully on 4(!)  launch-pads (using "Load Image")
  3. Those four LPs run OK after the burn
  4. The problem - "Verify Image" fails, on all 4 LaunchPads
    [4/24/2018, 3:32:17 PM] [INFO] Cortex_M4_0: GEL Output: Memory Map Initialization Complete.
    [4/24/2018, 3:32:17 PM] [WARNING] Cortex_M4_0: Warning: A firmware update is required for the debug probe. Click the "Update" button to update the firmware and connect to the debug target. DO NOT UNPLUG THE DEBUG PROBE DURING THE UPDATE. (Emulation package 7.0.188.0)
    [4/24/2018, 3:32:17 PM] [WARNING] IcePick_C: Warning: A firmware update is required for the debug probe. Click the "Update" button to update the firmware and connect to the debug target. DO NOT UNPLUG THE DEBUG PROBE DURING THE UPDATE. (Emulation package 7.0.188.0)
    [4/24/2018, 3:32:26 PM] [SUCCESS] IcePick_C: Warning: The firmware update completed successfully. (Emulation package 7.0.188.0)
    [4/24/2018, 3:32:26 PM] [SUCCESS] Cortex_M4_0: Warning: The firmware update completed successfully. (Emulation package 7.0.188.0)
    [4/24/2018, 3:32:27 PM] [INFO] Cortex_M4_0: GEL Output: Memory Map Initialization Complete.
    [4/24/2018, 3:32:29 PM] [INFO] Cortex_M4_0: GEL Output: Board Reset Complete.
    [4/24/2018, 3:32:38 PM] [SUCCESS] Program Load completed successfully.
    [4/24/2018, 3:33:04 PM] [INFO] Cortex_M4_0: GEL Output: Memory Map Initialization Complete.
    [4/24/2018, 3:33:06 PM] [INFO] Cortex_M4_0: GEL Output: Memory Map Initialization Complete.
    [4/24/2018, 3:33:13 PM] [ERROR] Cortex_M4_0: File Loader: Verification failed: Values at address 0x00052002 do not match Please verify target memory and memory map.

    Using UniFlash 4.3.0

  • Hi,

    I built the ble5_simple_peripheral example from Simplelink 2.10.00.44 in CCSv8.0.0 and Uniflash was happy to flash it to the board and verify it afterwards. Follows below the full console info from Uniflash:

    [24/04/2018 11:27:52] [INFO] Cortex_M4_0: GEL Output: Memory Map Initialization Complete.
    [24/04/2018 11:27:52] [WARNING] Cortex_M4_0: Warning: A firmware update is required for the debug probe. Click the "Update" button to update the firmware and connect to the debug target. DO NOT UNPLUG THE DEBUG PROBE DURING THE UPDATE. (Emulation package 7.0.188.0)
    [24/04/2018 11:27:53] [WARNING] IcePick_C: Warning: A firmware update is required for the debug probe. Click the "Update" button to update the firmware and connect to the debug target. DO NOT UNPLUG THE DEBUG PROBE DURING THE UPDATE. (Emulation package 7.0.188.0)
    [24/04/2018 11:28:03] [SUCCESS] IcePick_C: Warning: The firmware update completed successfully. (Emulation package 7.0.188.0)
    [24/04/2018 11:28:04] [SUCCESS] Cortex_M4_0: Warning: The firmware update completed successfully. (Emulation package 7.0.188.0)
    [24/04/2018 11:28:06] [INFO] Cortex_M4_0: GEL Output: Memory Map Initialization Complete.
    [24/04/2018 11:30:04] [INFO] Cortex_M4_0: GEL Output: Memory Map Initialization Complete.
    [24/04/2018 11:30:05] [INFO] Cortex_M4_0: GEL Output: Memory Map Initialization Complete.
    [24/04/2018 11:30:07] [INFO] Cortex_M4_0: GEL Output: Board Reset Complete.
    [24/04/2018 11:30:15] [SUCCESS] Program Load completed successfully.
    [24/04/2018 11:30:19] [INFO] Cortex_M4_0: GEL Output: Memory Map Initialization Complete.
    [24/04/2018 11:30:21] [INFO] Cortex_M4_0: GEL Output: Memory Map Initialization Complete.
    [24/04/2018 11:30:27] [SUCCESS] Cortex_M4_0: Program verification successful for C:/Users/a0356111/workspace_v8/ble5_simple_peripheral_cc26x2r1lp_app/FlashROM_Release/ble5_simple_peripheral_cc26x2r1lp_app.out

    Perhaps you are building a different project?

    Regards,

    Rafael

  • Hi Desouza,

    CCS is not involved in this process - I'm not building an image, but using the one supplied in C:\ti\simplelink_cc26x2_sdk_1_60_00_43\examples\rtos\CC26X2R1_LAUNCHXL\ble5stack\hexfiles\cc26x2r1.

    I'm using SDK 1.60 - I haven't switched to SDK 2.1 (I don't have the time to for another rigorous porting effort : 1.40 -> 1.60 was difficult enough).

    UniFlash still fails to verify the image.

    When trying the same process with the same LP (and the same USB cable) on another computer, it works fine - UniFlash "VErify Image" is successful.

    What can I do? Uninstall all TI products (CCS, UniFlash, drivers) and then reinstall? Is there something less drastic I can try?

  • Hi,

    Thanks for sending the additional details; I was able to see the same issue as you with the pre-built <ble5_simple_peripheral_cc26x2r1lp_app.hex> file.

    I did some investigation and found out that CCSv8 loads and verifies the program correctly - both the pre-built binary you are using and the one I built with CCS (they are different).

    In this case, I suspect that Uniflash is indeed failing to properly verify the programming. I will file a bug report tomorrow.

    I apologize for the inconvenience,
    Rafael
  • Hi,

    I verified the same image here verifies ok when loaded with CCSV8.0.0, therefore today I filed the bug UNIFLASH-1029.

    In a few hours, please check its status in the link SDOWP in my signature below.

    Thank you for reporting this and I apologize for the inconvenience,
    Rafael