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/TM4C1294NCPDT: EK-TM4C1294XL JTAG PROGRAMMING

Part Number: TM4C1294NCPDT
Other Parts Discussed in Thread: EK-TM4C1294XL, , UNIFLASH, LMFLASHPROGRAMMER, TIDM-TM4C129POEAUDIO

Tool/software: Code Composer Studio

Dear sir,

We purchased the EK-TM4C1294XL Board and we want  to dump code in it using XDS100V2 using JTAG configuration.

 

Could you please guide how to do this using XDS100V2 with JTAG.I dont want to use U6 present on the Board i want to directly Program  the U1 without using U20.

 

I referred to the below link but the issue did not solve and we removed the R8,R10,R11,R15,R16 and installed XI also but we are getting error.

 

 

error :

 

FATAL >> CS_DAP_0: Error connecting to the target: (Error -1170 @ 0x0) Unable to access the DAP. 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 6.0.83.1

 

 

Requesting to please suggest how i can dump the code in EVAL BOARD using the Jtag  not using U6 and U20.

 

we need this because we designed 1 board in which we are using the TM4C1294NCPDT in that JTAG is detecting but unable to dump the Code in it.so we are trying the sample program first in evaluation board only.

 

Regards,

Vipin

  • Vipin,
    To try to upload firmware directly to the target MCU on your launchpad, you will need to access the JTAG lines directly. That will need a bit of board surgery: these lines are on the left side of those resistors R6 - R16, so you will need to remove them, and solder tiny wires from the pad into a connector. Highly likely to fail...
    It appears you are trying to do this "to test something else - your JTAG on your custom board". Since this test is difficult and prone to failures, it might not be the best option. Review your JTAG circuit on your custom board, it is a simple circuit, and if something is wrong there you will probably find it.
    Did you try to reset your JTAG on the custom board? Did you check that you have external power on your custom board before trying to program it?
    Regards
    Bruno
  • Dear sir,

    Thanks for your support.

    We checked in the JTAG now its working in our custom board,But we are dumping sample blinky project which we used of Evaluation board but after dumping the Hex file it did not shown anything on to the Board.

    We are using JTAG XDS100V2 to dump the code ,could you please suggest we are going correct or not.

    OR if possible please provide any basic sample project having CCS Uniflash to dump the code thorugh JTAG in to the TM4C1294NCPDT.



    Regards,
    Vipin
  • Hello Vipin

    XDS100v2 does not work with LMFlashProgrammer for sure. It will work with Uniflash. Please refer to the JTAG application note for the connection information

    www.ti.com/.../spma075.pdf
  • Hi Amit,

    Is there any sample project of uniflash IDE using XDS100V2 as a programmer for TM4C1294NCPDT controller.

    Regards,

    Vipin

  • Vipin,

    Uniflash does not need any sample project. It is a program that allows you to connect your PC to the MCU, for tasks such as uploading firmware, checking memory, erasing memory, etc.

    You create your project with CCS as you normally do, and via Uniflash you upload the .bin that was created on CCS.

    Of course, there is always the option of uploading the program directly via CCS. But for some reason you don't seem to use the full CCS just to upload the firmware - which is reasonable.

    This is a screen of Uniflash, configured for your combination of target/probe:

    Regards

    Bruno

  • Dear sir,

    Thanks for your reply.

    I have made my custom board using the TM4C1294NCPDT controller.We also want to dump code via LM Flasher through USB we have connected the USB directly to the below pins.

    1 USB ID PIN NO.95 OF CONTROLLER
    2 USB VBUS PIN NO.96 OF CONTROLLER
    3 USB DM PIN NO.93 OF CONTROLLER
    4 USB DP PIN NO.94 OF CONTROLLER


    but LM Flasher is unable to read the controller.


    And we have JTAG also which is able to read the TM4C1294NCPDT controller and able to erase the code but LM Flasher is not working in it.



    Kindly suggest on this.


    Regards,
    vipin
  • Hello Vipin

    You cannot simply dump the code via USB port. There is no provisioning of such a feature on the TM4C.

    As for a sample configuration file, please check the project ccxml file that come along with TIDM-TM4C129POEAUDIO
  • Hello Amit,

    Thanks for sharing the demo project sir.

    Regards,

    Vipin

  • Hello Vipin,

    Let me know if it helped you.