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.

Programming TM4C123GH6PZ MCU with FTDI

Other Parts Discussed in Thread: TM4C123GH6PZ, UNIFLASH, LMFLASHPROGRAMMER

Hello Forum Members

I want to use TM4C123GH6PZ MCU standalone in a board. TI has a nice system design guideline for Tiva C series MCUs  and I learned many considerations about designing PCB.

But I have a little bit knowledge about programming TM4C123GH6PZ MCU with FTDI IC. There is some ways to program MCU like JTAG or SWD. In my board I want to program MCU with both JTAG and FTDI IC. 

JTAG pin configurations for interfacing with MCUs are available but I have some questions.

1) Can I program my MCU with FTDI IC from USB?  If yes Could you refer me any reference design ?

2) When I  buy MCU and use it on standalone board first time, what considers should I think ? For example Do I need bootload MCU for starting programming it with JTAG or FTDI IC ? 

I am little confused. Any help will be great for me.

Thanks in advance

  • Hello Serkan

    The FTDI IC can be used to form a JTAG programmer. I think the FTDI device is FT2232 (and there are some reference design and xml programming examples on the forum)

    No you do not need to have a boot loader for programming with JTAG. The JTAG and serial boot loaders are independent. If the MCU detects a valid packet on the serial interfaces it shall use the same for downloading the application code after making checks on the image. JTAG on the other hand uses the PC application software like LMFLashProgrammer or UNIFLASH to download the application binary to the device flash.

    Rather than re-inventing the wheel I would suggest using a known programmer like XDS100v2 to do the same.

    Regards
    Amit
  • Hello Amit

    Thanks so much for your answer.

    I want to ask another thing. After correct integration my MCU with FT2232D IC, Can I debug and program it directly from PC USB with Code Composer Studio ? or I need a JTAG ARM debugger for debugging and programming ?

    Serkan

  • Hello Serkan,

    The FT2232 will work as a JTAG debugger and programmer and should work with CCS. I have one of the older Stellaris ICDI boards with the same IC and have not seen an issue so far.

    BTW the mode of the FT2232 is called MPSSE.

    Regards
    Amit