Learn to debug msp430 chips using IAR

posted Feb 15th 2011 11:02am by
filed under: Microcontrollers

If you haven’t done any debugging with microcontroller programs [Kphlight] posted a follow-along guide for debugging MSP430 chips. You can see above that he’s using the TI Launchpad and has chosen the free (but code limited) IAR Embedded Workbench that is one of the IDE’s that TI provides for the kit. The example builds a Pomodoro timer with just five LEDs and one resistor. You’ll flash the code to the chip, step through each line of the firmware, and learn how to manipulate register data during code execution.

It’s a great primer for the uninitiated, and we’d love to see one using open-source tools like DDD and GDB. If you do write one, don’t forget to send us a tip about it. If you want to give open source a try with this hardware check out our own tutorial.



6 Responses to Learn to debug msp430 chips using IAR

  • corp769 says:

    Loving the picture with the paper clip!

  • alan says:

    yea, i’m glad i’m not the only one who uses paperclips when prototyping :)

  • NatureTM says:

    I prefer CCS over IAR. Kphlight, have you used both? If so, I’m wondering why you prefer IAR? I’m not saying CCS is better. I’m just wondering if I should give IAR another look.

  • svofski says:

    more and more IAR seems to be AIR intentionally misspelled

  • Reminds me, I probably should take my TI launchpad out of its box and use it for something.

  • Chris says:

    Oh good timing, a couple weeks ago I ordered two Launchpads for my first ever foray into microcontroller programming. Debugging resources are a plus!

  • Leave a Reply

    XHTML: You can use these tags: <a href="" title="" rel=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

    Hack a Day serves up fresh hacks each day, every day from around the web as well as hacking related news.

    Send us your hacks










         




    Hacks

    Resources