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/LAUNCHXL-CC2640R2: Load program Error

Part Number: LAUNCHXL-CC2640R2
Other Parts Discussed in Thread: CC2640

Tool/software: Code Composer Studio

The following has been tried on both Windows 10 Pro and Ubuntu 16.04.6 with the same result.

It has been tried with two different LAUNCHXL-CC2640R2 boards with the same result.

Install Code Composer Studio 9.2.

Import ble5_project_zero_cc2640r2lp_app.

Connect LAUNCHXL-CC2640R2.

Try to download/debug.

This will work once, then the next time a popup indicates "Load program Error":

If I use Flash Programmer 2 to erase the CC2640, I can download/debug *ONCE* before getting this error again.

NOTE: When running Flash Programmer 2, it will update the XDS firmware to 2.3.0.18 every time, then when download/debugging with CCS, it will update the XDS firmware to3.0.0.5.

  • Hi Dave,

    I can't seem to reproduce either issue (load program error on second load, and constant firmware update). I tried with CCSv9.2 on Windows 10. 

    Dave Bohan said:

    This will work once, then the next time a popup indicates "Load program Error":

    You screenshot didn't get posted correctly, is there any other information other than "load program error"? Any other text in the debug console?

    Thanks

    ki

  • I meant to say that "I can't seem to reproduce either issue". I edited the post to correct that.

  • Here is the dialog that pops up:

    From the console window:

    Cortex_M3_0: GEL Output: Memory Map Initialization Complete.
    Cortex_M3_0: GEL Output: Board Reset Complete.
    Cortex_M3_0: Target timed out! (Block 0)
    Cortex_M3_0:   Status 0xFFFFFFFF: Target flashloader has not returned any status. Unknown error!
    Cortex_M3_0:   Command=20 -- addr=0x00001000 -- length=0x00001000
    Cortex_M3_0: File Loader: Memory write failed: Timed out waiting for target flashloader to execute command.
    Cortex_M3_0: GEL: File: C:\Users\Public\ti\WS1\ble5_project_zero_cc2640r2lp_app\FlashROM_StackLibrary\ble5_project_zero_cc2640r2lp_app.out: Load failed.

  • Hmmm, seems like I can't insert a screen shot.  Even tried the "insert from windows".

  • Dave Bohan said:
    Hmmm, seems like I can't insert a screen shot.  Even tried the "insert from windows".

    See: https://e2e.ti.com/support/tools/ccs/f/81/t/821597?tisearch=e2e-sitesearch&keymatch=faq%3Atrue

    But I don't think I need the screenshot anymore. The messages your provided from the console have the information I need.

    It seems like your issue has been reported in the past:

    https://e2e.ti.com/support/tools/ccs/f/81/t/831761

    There are some suggestions in that thread made by Rafael (he has a link to another thread). Perhaps some of those suggestions are worth trying out.