TL;DR Could someone help me sending debug traces of the AVR instructions
(attach an AVR chip model, instruction, registers before/after, PC before/after,
SREG before/after) or donate a debugWIRE-capable hardware?
I've been working on a digital simulator and NGSpice library with AVR8
microcontrollers for a while. There were two bugs in a decoder of the AVR
instructions I've discovered and fixed recently thanks to the real-world
This is why I'd like to ask you for help. If you've a working firmware for the
AVR 8-bit MCU and can attach a debugger to the silicon to trace assembler
instructions, so please write down:
- AVR model;
- an instruction (hex value is enough, like 0x1b28);
- affected registers before/after;
- PC before/after (hex value is enough);
- SREG before/after (hex value is enough).
Atmel provided a great documentation and an Instruction Set Manual, but I'd like
to have traces from the silicon directly to be able to write unit tests for
the decoder. It's a bit better then guessing how it'll work on real hardware.