Tag Archives: Atmel

ATMEGA328PB breakout and prototyping board

The first thing I did when I progressed from Arduinos to programming Atmel 8-bit microcontrollers in the raw was build a programming and prototyping board. [BTW, for once, this is not going to be a multi-post project. I’m putting a bit of background here, but will put full, constantly updated details on the GitHub page.] Arduinos make it easy for… Read more »

AVR: Battling bizarre bugs

      1 Comment 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 »

Debugging AVR ATMEGA code with Atmel Studio and ICE

One of the more challenging aspects of writing code for microcontrollers is not being able to liberally sprinkle your code with PRINT statements to show the state of variables and whatnot at particular moments. If you’re working with Arduino-type devices you can always fire up the Serial library and print stuff that way – back down the wire to a… Read more »