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.

TM4c USB programming + function

Other Parts Discussed in Thread: EK-TM4C123GXL

Hi TI engineer or other

i am new to this microcontroller, currently i have TM4c123GXL, and currently i planned to design it to the schematic. since the board is connected 2 tm4c123g together 1 as ICDI and another 1 is for device purposed. just curious to ask, if i remove all the ICDI just left D+ and D-, will the microcontroller can be reprogramme in future or only certain function Eg: GUI to microcontroller only and not able to reprogramme the TM4C?

thank you

hope can be reprogram if i use only USB D+ and D-

  • Hello Kevin,

    There are two microcontrollers on the EK-TM4C123GXL. One works as the ICDI and the other works as the main microcontroller which the ICDI programs.

    Which one do you wish to reprogram? ICDI uC ir Main uC?

    Regards

    Amit

  • hi amit

    i wish direct reprogram in main uC which direct by pass ICDI. 

  • Hi Kelvin,

         Some details in this post below might help.

         program TM4C129x using EK-TM4C123GXL LaunchPad

    - kel

  • Hi Markel

    thank for the answer, but i am still not yet get the answer what i wanted and that answer is my alternative way, what i wanted to ask is it possible direct using USB to reprogram the uC without using the ICDI or is it a must to use ICDI to program? if the answer is must use ICDI mean as same as what u have said.

  • Hi Kelvin,

         There is the usb_stick_update example program at Tivaware, that load firmware from USB flash stick to your Tiva kit. I don't think it is part of the Tivaware package for Tiva Launchpad. So, you would need to port it for Tiva Launchpad. Here below is partial description of usb_stick_update from the readme file.

    USB Memory Stick Updater

    This example application behaves the same way as a boot loader. It resides
    at the beginning of flash, and will read a binary file from a USB memory
    stick and program it into another location in flash. Once the user
    application has been programmed into flash, this program will always start
    the user application until requested to load a new application.

    - kel

  • Hello Kelvin

    There is a direct header for 10-pin ARM debugger on the EK-TM4C123GXL for programming the main uC. I have not used it so far, but can check and confirm the steps/process that will allow you.others to do so

    Will post the update by tomorrow.

    Regards

    Amit

  • hi Amit

    thank for the update, will wait for the update tomorrow.

    if really cant direct connect USB to reprogram, just would like to ask, based on the previous saw that there will be a jumper wire to jump out to uC from evm board, then just would like to confirm some connection which is

    TCK ----> PC0

    TMS ----> PC1

    TDO ----> PC3

    TDI ----> PC2

    TXD ----> PA1

    RXD ----> PA0

    if like connection above, will the microcontroller debug using EVM board as debugger

    thank Amit

    regards

    kelvin

  • Hello Kevin,

    The picture on the previous post was for using the ICDI uC on the EK-TM4C123GXL as a debugger for another TM4C board/device.

    Regards

    Amit

  • Hello Kevin,

    I tested the same with the blinky program and it works with an external debugger. What I have shown in the picture will work. I have not used the ICDI uC or the 10-Pin Header at the bottom of the EK-TM4C123GXL (cost consideration for the latter)

    Regards

    Amit

  • hi Amit

    thank for the help, just would like to confirm some information for the clarification

    the connection as you shown above is for the main uC in the evaluation (not sure am i say correctly or not), what if i want to program on the PCB which i going to prototype in few weeks time, connection as same as above extend the jumper as below to the prototype board for reprogram purposed?

    TCK ----> PC0

    TMS ----> PC1

    TDO ----> PC3

    TDI ----> PC2

    thank 

    Kelvin

  • Hello Kelvin,

    On the prototype PCB, how do you plan to have the JTAG connected to the debugger? Is it through XDS100, J-Link, Keil, etc?

    Regards

    Amit

  • hi Amit

    i m currently new to it, therefore i not sure how is it to debug a microcontroller via which software. so far i am using Code Composer Studio (CCS) to program my evaluation board. is there anyway to debug it?

    thank.

  • Hello Kelvin,

    So how are you connecting CCS to the evaluation board currently and what do you plan to use in the future: via Stellaris ICDI on the EK board, XDS100?

    Please note that we do release the ICDI uC binary image, so you may have to use XDS debugger or hot wire EK-TM4C123 to the end product board.

    Regards

    Amit