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.

TM4C129xx - First time programming

Hi all

I'm using CPU TM4C129 and I like to know if JTAG is the only channel that I can

use for the first time programming...?

Can you direct ne to the relavant documents?

Avi Ben-Maor

  • Hello Avi

    Typically yes, JTAG is required to get the basic code programmed to ensure that it will work as expected. If doing mass programming then you can use the boot loaders. More information can be found in BootLoader User Guide, that would be there in TIVAWare documentation.

    Regards

    Amit

  • AVI BEN-MAOR said:

    like to know if JTAG is the only channel that I can use for the first time programming...?

    To strictly answer JTAG is not the, "only channel" you may use.  Newer, more robust SWD has debugged/programmed our ARM MCUs (this vendor, others) exclusively - for past 4 years. (while saving, 2 gpio pins)

    In addition - SWD accommodates, "daisy chaining" so that multiple MCUs may be programmed with savings in time & hook-up effort.

  • @cb1:

    When you say "daisy chaining" what do you mean? Because JTAG definitely works with multiple MCUs in the scan chain, maybe just the TI ICDI doesn't like that kind of setup? I feel like I'm missing something so I thought I'd pick your brain to get some clarification... Thanks!

  • Hello David,

    As you mentioned JTAG also supports Daisy Chaining. Just for starters I have done two TM4C129 JTAG daisy chained and programmed the bin image to each one of them, SWD also does the same. cb1's point was besides JTAG, SWD is also another interface

    Regards

    Amit

  • Amit Ashara said:
    cb1's point was besides JTAG, SWD is also another interface

    Amit answers your question quite well - I believe - friend David.

    Some may add that SWD - along w/being "another interface" - is in fact - in several ways - both a newer & superior interface!

    (yet some way/how - has not found its way to CCS's lesser, "fruited plain.")

  • Thanks! I understand much better now.

  • David Hubbard said:

    Thanks! I understand much better now.

    Good that.  Recall that some ARM MCUs have, "sized down" and the saving of 2 gpio - via SWD - proves immensely useful in many such apps... 

    Further - some similar ARM MCUs have switched to SWD exclusively - signals "something" we believe...

  • For the sake of completeness, I would add that you can typically load a Tiva for the first time from the factory using the ROM bootloaders.  However, since the LaunchPad comes with a binary pre-installed this is not an option for this board.