Category: Insight

Something you have not known before

Stop-and-Go

The featured picture of this blog post is by WikimediaImages on pixabay.

One typical debugging activity is setting breakpoints and then running the program from breakpoint to breakpoint, inspecting the program’s internal state at each breakpoint. While this sounds simple, it gets complicated when one looks behind the curtain, which we will do in this blog post.

Continue reading

Interrupted and Very Long Single-Steps

The featured picture of this post has been created by DALL-E.

It often happens in embedded debugging that you suddenly end up in the interrupt dispatch table while single-stepping through your code. Another unrelated problem is that sometimes, single steps can take an eternity. In this blog post, I address both issues and describe how to circumvent them in a gdbserver implementation.

Continue reading

ATmega328P: Fake or Real?

The featured image of this blog post is by PublicDomainPictures from Pixabay.

Recently, I bought some ATmega328P-PU (DIP packages) chips in China and was concerned that they might be counterfeit, given that three years ago some ATmega328P clones, which did not support nano-power, had been found on Pro Mini boards. The first check looked as if they were fake chips, but apparently, they were the real thing. but they seem to work fine.

Continue reading

Copyright © 2025 Arduino Craft Corner

Theme by Anders NorenUp ↑