Yay! First test and the batteries didn't blew up. But as debugging revealed, our MCU isn't working yet. So back to the debugger. Does anyone have experience with ATmega406 programming and debugging. It seems to reset right before entering the main loop.