http://gitorious.org/simavr
simavr is a new AVR simulator for linux, or any platform that uses avr-gcc. It uses
-avr-gcc own register definition to simplify creating new targets for supoortted AVR
+avr-gcc own register definition to simplify creating new targets for suported AVR
devices.
The core was made to be small and compact, and hackable so allow quick prototyping
specify simulation parameters directly in the emulated code using an .elf section.
The status of the project is the core works fine now. The supported IOs are eeprom,
-IO ports (including pin interupts), 8 bits timers (well, one of mode of the myriad),
-SPI master & slave, and the UART with tx&rx interrupts.
+watchdog, self-programming (ie bootloader), external interrupts (INT0 etc),
+IO ports (including pin interupts), 8&16 bits timers (well, some of the modes),
+SPI master & slave, ADC, and the UART with tx&rx interrupts.
+
+The only notable missing bits are i2c and XMEM bus access (for the big Megas)
gdb support is implemented and works great (minus watchpoints).
The code rudely assumes the avr-gcc is in /usr/lib/avr/include/...
On OSX, the Makefile tries to use the Arduino.app toolchain & headers
+ libelf-dev
++ glut (or freeglut) to build the example "boards" in examples/
BUILD:
+ make