Tips and tricks for microcontroller programming and debugging

Posted on Sunday, March 17th, 2013 in app notes by DP

This video by Johndoe271828 shows three tips for microcontroller programming and debugging.

This entry was posted on Sunday, March 17th, 2013 at 9:00 pm and is filed under app notes. You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.

One Response to “Tips and tricks for microcontroller programming and debugging”

  1. steve says:

    Good video, strait forward and useful.

    I think improving your debugging skills is as important as improving your coding skills. At my company, I have see a lot of folks discuss learning new languages, designs, and talking about new microcontrollers, but they forget debugging is equally important.

    Whenever I have a watch dog reset problem they are always mysterious. For me the problem is usually related to stack corruption; the code returns off into bad code where it may loop or just hang, and I experience a watchdog reset. Most times I hookup a debugger and manage to figure out the issue. Next time I will try the approach you presented.

    Thanks for sharing.

Leave a Reply

Notify me of followup comments via e-mail. You can also subscribe without commenting.

Recent Comments

  • Stephen Tinius: Thank you.
  • KH: Ah, the site sells boards, that's the reason. At least it's a XC6SL9 board that does not cost an arm and a leg, though it...
  • Max: While I understand this is more educational than practical in nature, I prefer my edutainment a lot more firmly grounded in economic reality. Sure, you...
  • KH: Using an alkaline coin cell down to 1.0V or under is a very bad idea anyway, unless you as the designer or manufacturer don't care...
  • KH: Farnell says TS1001 is no longer stocked. Not on RS. Digikey says it's obsolete. That said, there are a lot of nanoamp-class parts on sale...