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.

EK-TM4C123GXL: programming the TM4C123G directly

Part Number: EK-TM4C123GXL

Tool/software:

Background:

I have been using the EK-TM4C123GXL TIVA Launchpad for a number of years as an embedded MCU to control some equipment (motor controllers, etc.).  Recently, the Launchpad has been on allocation, and I am concerned that long term,  it will not be available in the quantities that I need.

To reduce my dependency on the EK-TM4C123GXL, I plan to take the Launchpad circuit and put it onto my PCBA.  Right now, my PCB just has two 20-pin headers where the Launchpad plugs in.

I have downloaded the design files for the EK-TM4C123GXL and am able to view the schematic and layout in Pads (thanks for that BTW!).  I have noted that there are two TM4C123G IC's on the Launchpad: U1 and U2.  The purpose of U2 appears to be for JTAG debugging, and the programming of the U1 IC. 

Now for some questions:

Q1: Is there code that has been pre-programmed onto U2 by TI that allows it to be a programmer for U1?  

Q2:  Assuming the answer to Q1 is "no", I think I should be able to implement a copy of the schematic/layout of the EK-TM4C123GXL directly on my board, and it should work.  Am I missing something?

Q3: Are there any examples of how to take the next step: embed the TM4C123G and related circuitry onto my board, and eliminate the second TM4C123G IC (U2) completely and allow me to program the (U1) TM4C123G directly?  It seems to me that using a TM4C123G 32-bit ARM processor for this purpose (as a programmer) is vast overkill.  Could I use an FTDI USB to serial IC or a CH-340 to program U1?  if so, is there an application note or other documentation available?

  • Hi,

    Q1: Is there code that has been pre-programmed onto U2 by TI that allows it to be a programmer for U1?  

    Yes, the LaunchPad has been preprogrammed with firmware on U2 to serve as a ICDI debug probe.  

    Q2:  Assuming the answer to Q1 is "no", I think I should be able to implement a copy of the schematic/layout of the EK-TM4C123GXL directly on my board, and it should work.  Am I missing something?

    Refer to above answer. 

    Q3: Are there any examples of how to take the next step: embed the TM4C123G and related circuitry onto my board, and eliminate the second TM4C123G IC (U2) completely and allow me to program the (U1) TM4C123G directly?  It seems to me that using a TM4C123G 32-bit ARM processor for this purpose (as a programmer) is vast overkill.  Could I use an FTDI USB to serial IC or a CH-340 to program U1?  if so, is there an application note or other documentation available?

    Yes, all you need is a JTAG header so you can use any external Debug Probe of your choice to debug and program the TM4C123 MCU. XDS110 and XDS200 are popular deubg probe and are low cost. 

    The TM4C123 supports both flash-based and ROM-based bootloader. You can use FTD USB to serial connected to UART0 for ROM-based bootloader. If using flash-based bootloader, you can use any one of the UART ports to program the firmware serially. Refer to the Bootloader user's guide for details and example at C:\ti\TivaWare_C_Series-2.2.0.295\examples\boards\ek-tm4c123gxl\boot_serial.

  • Thank you for your help and the detailed reply.