LAUNCHXL-F280039C: Debug Error with SCI example

Part Number: LAUNCHXL-F280039C
Other Parts Discussed in Thread: C2000WARE

Hi,

I'm using LAUNCHXL-F280039C board with CCS V20.4.0.13, and also installed C2000Ware_6_00_01_00.

I loaded and ran Debug on an example project, led_ex1_blinky, without any issue on the board. But when I ran Debug on other example project, sci_ex4_stdout_redirect, I got the following error: 

"IcePick_C_0: Error connecting to the target: (Error -2131 @ 0x0) Unable to access device register. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 20.4.0.3756) "

I connected the board through a USB cable to my PC. And I disconnected/reconnected the board and restarted CCS multiple times. And also tried to reset the board.

These two examples come from C2000Ware_6_00_01_00.

What's the cause of the problem and how to fix it?

 

Thanks

David

  • Hi David,

    Since you are debugging through CCS, can you make sure to put the board in WAIT mode (please refer to boot mode switch in LAUNCHXL-F280039C user guide). If it's in flash mode, then there's possibility that the device is running some code that causes issue with loading new program through the debugger. Also please ensure you are using the build configuration designated for the LAUNCHXL and not the regular build configuration, since differences in the XDS connection could prevent loading to the device

    Regards,

    Peter

    Regards,

    Peter

  • Hi Peter,

    Thanks for the response.

    A few more questions:

    Do I have to put the board in WAIT mode for all cases in Debug, or just for sci examples?

    How do I ensure I'm using the build configuration designated for the LAUNCHXL ?

    Thanks

    David

  • Hi David,

    For debugging, it is recommended to remain in WAIT mode to ensure there is no code executing from the device during startup which may cause some errors. For other purposes, like needing to test in system disconnected from PC, then you can change to boot from FLASH mode. 

    For the build configuration, when you right-click the project in CCS, you can customize the build configuration. This is specific to our example projects to make it easy to test with our evaluation modules

    Regards,

    Peter