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 J-link plugin issue

Other Parts Discussed in Thread: SEGGER, CC2650

Hello, 

CCS does not build empty example TI-RTOS project when choosing connection through Segger J-Link Emulator.

After fresh import with default XDS100v3 USB Debug Probe, project builds successfully.

When changing Connection back to default, clean build still fails.

I used this instruction: www.segger.com/ti-code-composer-studio.html

  • Moving to TI-RTOS forum.
  • Hi Anthony,

    I have just tried to do a clean rebuild of the empty TI-RTOS example for CC2650DK in CCS 6.1.1 using "Segger J-Link Emulator" as the connection (by changing Project Properties->General->Main tab-> Connection) and it builds fine for me. Which version of CCS you are using? If you are using an older version it may be good to update.

    If you still can't figure it out, you can try sending me your project.

    Best regards,

    Vincent

  • Thank you for a reply

    I'm using CCS 6.1.1.00022 and there are no updates. Fortunately, after a couple more attempts, project was built successfully.

    Now i'm trying to debug it and it throws reset errors:

    Cortex_M3_0: GEL Output: Memory Map Initialization Complete.
    Cortex_M3_0: GEL: Error while executing StartUp( 6, 1, 0, 1349 ): The reset Board Reset does not exist
    	at GEL_AdvancedReset("Board Reset") [cc26xx.gel:34]
    	at StartUp(6, 1, 0, 1349)
    Cortex_M3_0: Trouble Reading Register <Unknown>: No mapped register was found for 1
    Cortex_M3_0: Error occurred during flash operation: Target failed to read unknown register
    Cortex_M3_0: GEL: Error calling OnPreFileLoaded(): Cannot find the target path name: <parent>

    Sometimes these:

    Cortex_M3_0: GEL Output: Memory Map Initialization Complete.
    Cortex_M3_0: GEL: Error while executing StartUp( 6, 1, 0, 1349 ): The reset Board Reset does not exist
    	at GEL_AdvancedReset("Board Reset") [cc26xx.gel:34]
    	at StartUp(6, 1, 0, 1349)
    Cortex_M3_0: Error: Stat [ JLINKARM_IsHalted() call ] failed!
    Cortex_M3_0: GEL: Error while executing OnTargetConnect(): Could not read register PC: execution state prevented access [cc26xx.gel]
    	at CompleteTrimOnEngrDevice() [cc26xx.gel:41]
    	at OnTargetConnect()
    Cortex_M3_0: Error occurred during flash operation: Could not read unknown register: execution state prevented access
    Cortex_M3_0: GEL: Error calling OnPreFileLoaded(): Cannot find the target path name: <parent>

    I've connected CC2650's RESET pin to J-Link's 15th RESET pin (Is that right?). www.segger.com/interface-description.html

    Additionally, I use a custom made board (based on CC2650 Sensor tag schematic).

  • Hi Anthony,

    This sounds like an emulator setup issue. Are you able to debug any example, like the basic "Hello World" project which does not use TI-RTOS?

    Best regards,
    Vincent