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-TM4C1294XL: tm4c129

Part Number: EK-TM4C1294XL


How do i Flash the Micro controller on the fly(.out file).

if i assign the  gpio pins  as Jtag pins ( how do i implement the jtag protocol?

  • What do you mean by "on the fly"? Are you trying to implement a boot loader, or are you trying to develop your own device programmer?
  • Make this "Reader #2" ... LOST ... by your, "on the fly."

    As w/every MCU - firm/I have employed (more than 20) - the JTAG/SWD Pins "DEFAULT" to JTAG/SWD - thus do NOT require "assignment."

    Your "tags" of "bootloader" - signal your intent in (possibly) an "extra-JTAG" Flash Programming exercise - which proves "challenging & delaying" - to "so many" here...
  • my system is using 4 micro controllers(tm4c129) to control some outputs and read some inputs.Each micro controller has different firmware.I want to install the firmware of these micro controller when ever i start the application.i have assigned 4 gpio lines for jtag on all the 4 micro controller to do this operation.
    signal your intent in (possibly) an "extra-JTAG" Flash Programming exercise this looks like what i am looking for.
  • kalyan perepa said:
    i (I) have assigned 4 gpio lines for jtag on all the 4 micro controller to do this operation.

    It remains "unclear" if you've noted that these MCUs have "DEDICATED" Port-Pins (PC0-PC3) which serve (ALONE) as JTAG/SWD!     It (almost) seems as  "If  you wish to (arbitrarily) chose "random GPIO" - to serve as JTAG/SWD."    YOU CANNOT!     And again note - PC0-PC3 DEFAULT as JTAG/SWD - thus unless you "Re-Purpose them" - no "assignment and/or other "special effort" is required.

    When firm/I (past) employed (many) Xilinx FPGAs - they required "Firmware Installation upon Power Up."    You suggest that is your goal - but instead - w/these MCUs.    That's unusual - or at minimum - demands further "Use-Case" detailing.

    As you seek to program FOUR MCUs - each w/different firmware - unless the programs are "Small enough" - you may have (great) difficulty in finding an (assumed) MCU - w/sufficient memory capacity - to contain all FOUR of the firmware packages...

    Perhaps (some) description of your "Use-Case" and/or Objective - will better clarify (somewhat) clarify - your goal...

  • I am also unclear of your intent. Are you saying you are designing a system with four TM4C129 devices and you want to have a single JTAG connector for all four devices that can be used for initial programming? If this is your desire, see my comments in this post:
    e2e.ti.com/.../680825
    If this is now what you want to do, please try to explain further.
  • Tossing "KISS" to the (far) curb - and attempting to, "Program FOUR MCUs" (from an unidentified source device) ... (somehow) registers as, "Not terribly realistic!"

    Should it not be noted - too - that once, "ALL FOUR MCUs have been Programmed" ... What is to occur upon the (very) NEXT Power Up?      Are "ALL FOUR"  to "Enjoy that Programming Process" - AGAIN?     (Really?)

    No case has been presented - AT ALL - for the (unusual) requirement to, "Program each MCU upon Power-Up" - and as suggested/hinted - Do so "REPEATEDLY!"     (not to mention the board layout challenge - to achieve a robust, "FOUR DEVICE DAISY CHAIN!") 

  • I have not heard back from you so I assume you have resolved this issue. If not, you may respond to this thread or start a new one.
  • "How do i Flash the Micro controller on the fly(.out file)."

    easy: flash the micro controller with you when you are flying, in an airplane, a ballon, or jumping off a table.... whatever your preferred mode of flying it is.

  • Well said, poster Danny.      And - the occasional use of "CAPS" - was duly noted (and appreciated.)  

    Four MCUs - registers as (possible) "Quad-Rotor Project" - which (somehow) ... Never "Left the Ground!"      (Step carefully around the carcass...)