This video by Johndoe271828 shows three tips for microcontroller programming and debugging.
Join the Conversation
1 Comment
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.
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.