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.

CC2651R3SIPA: Debug session errors on CC2651R3SIPA Launchpad

Part Number: CC2651R3SIPA
Other Parts Discussed in Thread: CC2651R3,

Hi champs!

Customer has problems starting a debug session:

We are in the process of programming a BLE application and want to run the Simple Peripheral example on the board in the 1st step. 
This also works if you program the hex file using UniFlash. However, we cannot debug.
We use the internal debugger of the eval board.
When connecting the debug session in Code Composer Studio, the following message always appears:

Cortex_M4_0: GEL Output: Memory Map Initialization Complete.

Cortex_M4_0: Flashloader: Verbose output enabled.

Cortex_M4_0: Device revision '0x0' unknown for selected target. Assuming latest known revision: Rev. 2.4.

Cortex_M4_0: GEL Output: Memory Map Initialization Complete.

Cortex_M4_0: GEL Output: Board Reset Complete.

Cortex_M4_0: Writing Flash @ Address 0x00000000 of Length 0x00007ff0

Cortex_M4_0: Loading flashloader to target: FlashLoaderCC26x0.out

Cortex_M4_0:   Chunk 1: addr=0x00000000, length=8192, crc=0x993F6811 (using block 0)

Cortex_M4_0:   Chunk 2: addr=0x00002000, length=8192, crc=0xEB9CC8E1 (using block 1)

Cortex_M4_0:   Command=20 -- addr=0x00002000 -- length=0x00002000

Cortex_M4_0: File Loader: Memory write failed:   Status 0x0102: Target flashloader failed to erase sector 1. Low level function returned status 3 (Incorrect parameter value).

Cortex_M4_0: GEL: File: C:\Users\user\workspace_v12\b22-ch2-ti-example\Debug\b22-ch2-ti-example.out: Load failed.


Can you help ?


  • Hi, could you specify which version of CCS that you are using?

    I tried one of the examples from the SDK and I see that the device that is used in the project is CC2651R3. Check what is used in your case.

    From the log above I can see that wrong flash loader is used: FlashLoaderCC26x0.out. It should have been FlashLoaderCC26x1.out. Could be that the problem is related to the use of CC2653R3SIPA. I need to check that further.

    Regards,

    Øyvind

  • Hi, I am the customer with this problem.

    We use:

    Code Composer Studio
    Version: 12.0.0.00009

    SDK: simplelink_cc13xx_cc26xx_sdk_6_20_00_29

    I configured the example project simple_periperal by using the import function in the Resource Explorer. We use LaunchPad LP-CC2651R3SIPA with the onboard debugger.

    The statement "wrong flash loader is used" sounds logical, but I don't find a possibility to set the correct flash loader for usage.

    Best regards

  • Hi Viktor,

    If I'm not wrong I believe you where able to get around the problem with "wrong flash loader"?

    Then the next problem was that CCS crashed when trying to start a debug session. Not sure if you already tried to install the latest version of CCS 12.1.0, but another possible solution could also be to update the TI ARM Clang compiler tool: https://www.ti.com/tool/download/ARM-CGT-CLANG/2.1.2.LTS

    Best Regards,

    Øyvind

  • Hi Øyvind,

    Mr Hildebrand mentioned he couldn't post, so let me try his message:

    Got it working:

    1. Update auf CCS 12.1.0
      1. Wrong FlashLoader is still proposed for the Launchpad
    2. Overwritten FlashPropertiesTranslator.xml in CCS 12.1.0 (see E-Mail-thread)
      1. Correct FlashLoader is selected, CCS crashes at loading Firmware
    3. Update TI ARM Clang Compiler on Version 2.1.2.LTS
      1. Debug-Session starts succesfully