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.

TM4C123GH6PM: Programming with XDS200 and CCS

Part Number: TM4C123GH6PM
Other Parts Discussed in Thread: TM4C1294NCPDT

We have made a custom board based on TM4C123GH6PM  with JTAG connection made as per  section "4.1: Sample Schematic for TI 14-Pin Header"  of the document "Using TM4C12x Devices Over JTAG Interface" (SPMA075).   We are able to flash the micro with my colleague's laptop(windows 7) using XDS200.   But in my laptop ( windows 10) it is not working.  Whenever we flash it throws the following error  message

CORTEX_M4_0: GEL Output:
Memory Map Initialization Complete
Texas Instruments XDS2xx USB Debug Probe_0/CORTEX_M4_0 : Target must be connected before loading program.

We also have  custom boards based on TM4C1294NCPDT which works consistently with my laptop.    Could you help.

Regards,

Ramesh 

  • It sounds like a Code Composer configuration problem. Are you using the proper target configuration, XDS2xx USB Debug Probe and the TM4C123GH6PM? Did you attempt to connect to the target? Here is a picture of my Code Composer screen where I have launched the XDS200 target configuration file, but not yet connected to the target. You must then connect by clicking the icon at the top (highlighted in yellow) or by right clicking on the M4 target in the Debug window and selecting "Connect Target" (also highlighted).

  • Ramesh Muruganantham said:
    Texas Instruments XDS2xx USB Debug Probe_0/CORTEX_M4_0 : Target must be connected before loading program.

    Can you check the Project Properties under Debug -> Auto Run and Launch -> Launch Options to see if the "Connect to the target on debugger startup" option is ticked for the CORTEX_M4 core:

    If the "Connect to the target on debugger startup" option isn't ticked it I think it will cause the Target must be connected before loading" error when starting a debug session.

  • Hi Chester Gillon,

    As you mentioned "Connect to the target on debugger startup" option isn't ticked.  I ticked and now working fine.

    Thank you very much for the quick support

    Regards,

    Ramesh