Atmega Simulator Software
It aims to provide a central interface to build electronic simulations for embedded software development. At present emulare focuses on the ATMega line of microcontrollers (Arduino UNO has the ATMega processor). SimAVR: is a new AVR simulator for linux, or any platform that uses avr-gcc. The simulator loads ELF files directly, and there is even. Embedded System Based on Atmega Microcontroller: Simulation, Interfacing & Projects R. Choudhury, B. Singh on Amazon.com.FREE. shipping on qualifying offers. Embedded System Based on ATMEGA Microcontroller: Simulation, Interfacing and Projects, provides a platform to the beginners to get started with ATMEGA microcontroller.
I built this cause I wanted a emulator for the Arduino UNO, not a simulator that doesn't tell me why and where thing crash. I've semi bricked many Arduino units, but always got them back up and running with another UNO. With this emulator, I can properly debug my system step by step, see the registers/memory, and see when memory writes go out of bounds.
For decoding the opcodes, I used a vector table of 65536 entries. The chicken backing track.
There are 107 opcode groups, 131 total instruction variants.
Right now I have 90 more opcodes to complete.
This emulator will be cycle accurate, support virtual GPIO, and console printing.
For the moment, I'm skipping working with the boot loaders, but it's a option for the future.