Tag Archives: debugging

AVR: Battling bizarre bugs

      No Comments on AVR: Battling bizarre bugs

Do you ever get the feeling that a compiler is acting weird just to mess with your head? That’s how it felt yesterday. I was tinkering with the code for my HexMonitor. This uses an ATMEGA328P microcontroller to read values in from an eight-bit data bus or a 16-bit address bus (selectable via a switch) and display them on a… Read more »

Fault finding: the aha! moment

      No Comments on Fault finding: the aha! moment

Well, maybe not so much aha! More like FFS. Weird as it sounds, debugging errors is one of the things I enjoy about both coding and electronics. I’m an amateur in both fields and waste little time on planning my projects. I prefer just to delve right in. Rather than sketch out a circuit first, for example, I just get… Read more »