Categories

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

  • Drone: So these go for around $330 USD and NO published calibration procedure online or otherwise? Given what's inside - I don't think I'll be considering...
  • Pekka Akselin: This is ridiculous!? :-) We are back at 256(!) byte EPROMs that needed multiple, a handful, of voltages to run! :-(
  • KH: Let's try a back-of-envelope calc balancing energies. From MCP1700 datasheet, there are graphs for a 200mA load step. Estimate the energy shortfall as 12uJ. Say...
  • Daniel: It's been a week and my comment is still awaiting moderation. Apparently the CIA doesn't want their involvement known?
  • KH: Agree, so okay, I guess he must have learned from somewhere. 100nF and 1000uF is so far apart, that was jarring; it's more magic incantation...