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.

TM4C123G LaunchPad debugging?

Other Parts Discussed in Thread: SEGGER, TM4C123GH6PM

What additional hardware is necessary to program and debug software on a TM4C123G LaunchPad assuming an IAR IDE is for software development?

  • None, IAR supports the Stellaris ICDI which is on the Launchpad. http://www.iar.com/Products/IAR-Embedded-Workbench/ARM/

  • Agree w/poster stepman and add that our group has found use of "J-Link" (JTAG Probe) from either IAR (yellow case) or Segger (black) to be substantially faster - especially as code size expands.  *** Just dawns that launchpad may not directly/readily support any external JTAG Probe.  (you'll have to check - we don't use lpads)

    Critical advantage of J-Link is the inclusion of SWD - which saves 2 JTAG pins - which may be then config'ed as gpio.

    Believe the 32KB (size-limited) Kickstart continues (free) - suggest that you avoid the temptation of (equally free) unlimited size version as the limited time trial period usually ends just prior to your project's completion!  (Did for us - multiple times...)   Paid versions solve - but believe it's best for you to use free versions initially - gain vital experience first...

  • Thanks for your reply.

    What would be necessary to program and debug a TM4C123GH6PM on a board designed for a specific application? For example, for MSP430 devices I use a MSP-FET430UIF. Is there a similar device for ARM processors?

  • cb1_mobile,

    The Tiva launchpad does support external debuggers:

    http://processors.wiki.ti.com/index.php/Stellaris_LM4F120_LaunchPad_Debug_How_To

    Feel free to correct any info below

    Gary,

    I haven't gotten an external debugger for the Tiva yet, but I'll post my thoughts anyways.

    • XDS100v2
      • Reasonably priced
      • seems to be the recommended part from TI http://e2e.ti.com/support/microcontrollers/tiva_arm/f/908/p/305766/1068200.aspx
      • Haven't found SWD documentation for it.
    • J-link
      • More expensive
      • faster
      • works with multiple vendors arm silicon.
    • Stellaris ICDI
      • Cheapest.
      • Only included on the launchpad/TI dev kits, no prebuilt external version (with cables and such)
      • No SWD

    I believe they all work with both IAR and CCS. I'm sure there are other options out there. I haven't I looked at the tracing support on Tiva or the debuggers

    I also wonder what people are using for production flash programming.

  • @ Stepman,

    Nicely done, mon ami.  You may wish to, "edit" your neat, multi-bulleted presentation to show that SWD indeed is live/well w/in J-Link.  (as shown - lack of SWD "adds" to features of lesser entries)

    Note that J-Link has longer history than others (shown here) & as it supports so many makes/models of ARM MCUs - more time/effort may have gone into its development.  If you believe that one vendor - in each/every use-case - produces optimal MCU device, at best price, and in-stock - then a vendor-constrained JTAG probe may suffice...  (we do not...)

  • Thanks to all for the information.

  • If you want you can see my blog http://ucsolutions.blogspot.com/ there is a post descrining how to use launchpad as debugger on external chip

  • MatthewFirst said:
    use launchpad as debugger on external chip

    That's good - but not if we/others used PC2/PC3 for other (non JTAG) purposes!  (which we/others - so often do...)  SWD surely rules - as do "pro" IDEs (Keil, IAR to list 2) - does your blog advise in this regard?

    And - "external chip" is confined to one available here - is it not?  What if we seek an M0 - or an (in stock) M3 or M4 w/system clock far beyond 120MHz?  Seems that "external chip" should be defined...