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.
Dear All,
I have been working wth EK-TM4C129EXL Launchpad and Energia IDE. So all the Firmware is written in Energia IDE as .ino files. I would like to program the Tiva-MCU via jtag. Lets say if I have embedded the controller somewhere and now we need to program it, what programmer i have to buy from TI?. The second question, using code composer studio v7 and any of the suggested programmers from Texas Instruments can I program the core with Energia IDE firmware?.
any help highly appreciated here.
David
There are several JTAG emulators that you can purchase that will support programming the TM4C1294CPDT. This page lists some of them LINK. Also checkout the IAR J-Link emulators. (It is a favorite among some of our long time users.) Also new, not on the wiki page is the XDS110. For programming software, the TI programming utility UniFlash is available for free download. It supports the XDS100, XDS110 and XDS200 emulators. Make sure to match the emulator target connector to your board footprint. There are several options. The most common being 14-pin and 20-pin variants.
The next issue is creating the object file. In the process of building and uploading a sketch, Energia creates a temporary elf file (projectName.ino.elf) that can be programmed using UniFlash. Another option is to import your Energia project into Code Composer Studio version 7. This is TI's free development environment. You can use a cloud version, or download a copy to your system. Code composer will build the project and create a projectName.out file that can be loaded by Code Composer or by UniFlash.
May we (somewhat) long-time user-clients *** LIKE *** ?
That declared - may we note two (minor) points:
You are, "far from alone" in employing "emulator" - yet firm/I have (several) past "MCU Emulators" - in which the "guts of the MCU" were disbursed among (many) external ICs (memories, latches etc.) so that the MCU's behavior could be more readily, "exposed, probed and observed!" (via the monitoring/probing of these (many) external ICs - which attempted to "mimic" the behavior of an "enclosed (entombed, really) MCU" which could not allow such "internal probing.") "That" was "real emulation" - JTAG probes prove FAR from that...
Thank you - I will take a photo - which reveals a (past) yet (very real), "MCU Emulator." The fact that a word is "so often" misused - does not (surely should not) change its intent nor meaning. And - pardon - but I must note that there is NO/ZERO "JTAG emulation world!" i.e. emulation
You note, "mostly TI Cortex cores & CCS/Energia" - yet - as and when you progress - is it "wise" for you to, "Lock yourself into "ONE and only one Vendor" forever?" Is it not true that there are "many" vendors supplying Cortex M MCUs - which include M0, M3, M4 & M7 - although (sadly) only Cortex M4 is presented here. You should note that - most always - vendors "leapfrog each other" - thus, "One vendor forever" proves NOT an effective, long-term strategy. in the case of my firm - we employ Cortex M from four different vendors - which our key clients DEMAND!)
The J-Link - to my mind (and to the mind's of many) proves superior to the "vendor locked, limited versions" earlier mentioned. J-Link's proper, "vendor agnostic" capability - and substantial development time/funding/effort - and "true focus" - renders it measurably superior. It is also - the most popular JTAG/SWD Probe - by sales volume - and was introduced long prior to "lesser/limited versions."
A full-featured J-Link version is offered at a special, "Educational Discount price" - and you do NOT have to "pretend" to be a student! (I still have my "UCLA" sweatshirt) Neither firm - nor I - receive reward for such endorsement (although NOT by choice) - highly skilled (fellow) poster Robert also employs, "J-Link" - such (should) prove telling...
It should be noted that (even) vendor agent (here, TODAY!) endorses J-Link/J-Trace ... ... ... (seems an irresistible force - does it not?):
https://e2e.ti.com/support/microcontrollers/tiva_arm/f/908/t/633207
My friend - not so many here adopt "your/my arsenal" belief.
May I suggest, "DEBUG AND PROGRAMMING PROBE" (or Pod) as far more (properly) descriptive. Emulation - does NOT come into play! (It is just WRONG!)
You look forward to "pictures" (I prefer to await "demand" - prior to effort) thus (now) shall comply.
Note that the above flows (directly) from Segger's site - "Trace is a more powerful tool - and of course (still) NOT an "Emulation." (you should note that "cb1" (according to unbiased staff) is far better looking...and a "righty" - attending (always) to detail...)
And - arrives now a "real" Emulator: (board is 37x28cm - contains multiple latches, buffers, Ram and 64 pin "bond-out/hybrid CPU...It was these signals being "made external" which enabled MCU debug & development.) The difference between an "emulator" and "probe or pod" should (now) be evident.
Robert Adsett said:It's not clear to me that the ARM on board emulation facilities are up to matching them (past "giant", MCU Emulators) but they do cover most of that capability and are inexpensive enough that they come with every ARM core.
That's a most perceptive observation - those large, past MCU Emulator Boards did outperform certain aspects of today's "on chip interrogation" - but suffered in other areas. We had such boards from Zilog & Intel - the latter were more expensive, more extensive, and more capable.
Indeed the board was populated w/a vast amount of 74LS logic (61 logic ICs) and 2 EPROMS, and 2 EMULATION (bond-out) MCUs. The 74LS devices (61 total) were divided between data buffers, bus transceivers, inverters, gates, flip-flops, shift registers and 8-bit latches. RAM proved the storage medium - which demanded (some other) means of non-volatile program storage.
Note that the "Emulator Board" shown in the photo targeted an MCU - which had separate GPIO Ports (much like today's devices) - and the "latches" served to "monitor & reflect" GPIO status.
Today's powerful IDEs - along w/JTAG/SWD MCU Access - prove a HUGE Advantage. One may (now) note the "major difference" between a clear/real "emulator" and today's (far simpler) "Probe or Pod."
It is noted that you've "Verified/Resolved" your last post - and not any of those which sought to answer your request to: differentiate between "Emulator vs Probe/Pod" - such seems misunderstood/mistaken...
The last emulator I used had something like this. These two pieces formed the attachment single attachment, as I recall it was a single non-repairable tower. Most of the emulator was packaged separately.
Images from http://www.icetech.com/techpub/c167-st10-adp-guide.pdf
Robert
Pisa's tower is under constant work to keep its center of mass in a reasonably manageable alignment. Looks like something similar going on with this one!
I've enjoyed following this discussion - very informative. Thanks, Guys!
You may note that there IS a "tip jar" - stuffed w/several "decoy bills" - which also "leans" due to jar's 3D printer sourcing & lack of recent deposits...
BTW - for those "Current Event Challenged" - some percentage of that "Pisa work" is paid for by the Vatican ... yet that financing is likely, "Up in Smoke" as the Vatican will no longer "Sell Cigarettes" to nicotine addicted (much of Euro) staff...
LouEEEE! said:I've enjoyed following this discussion - very informative.
That's the advantage of threads that drift off of the original subject. Glad you enjoyed
Robert
What, "Drift OFF?" Does the fact that we (both) share some (slight) "ADHD" warrant such harsh (drift-off) description?
Should not the words: "enrich, expand, enhance" better describe the "break" from the (H. Simpson proclaimed, (buttoned-down) "Boring!") so often resulting from, "Tech and (only) Tech?" (lurking in such "over-abundance" - this fruited plain?)
Speaking towards (real) "drift" - perhaps your next "3D print of our "tip jar" - could less "model Pisa's profile." (maybe)
Not all here "innately know" of the XDS - our use of "longer existing, more expansive" JTAG/SWD probes/tools - prevent such comparison.
As written here - Segger's J-Link may be procured at terrific "educational discount" - and as you already have "some history" (w/lesser tools) - would not your procurement - and usage - provide the most notable "A-B" comparison - sure to best supply your answer?
That said - choosing a device w/out great history or capability - limited to "one and only one vendor" - cannot make sense! Vendors chronically/predictably "leapfrog" each other ... AND ... M0, M0+, M3 & M7 beckon - yet are "banned" from this limited - yet "fruited plain." How can you ever justify, "Locking yourself in?"