Software emulator of Arduino ?

Is there a software emulation of an ATMEGA168 (Arduino) available ? - the idea would be to load a hex file to it and emulate I/O pins
Dave…

Probably wouldnt be too difficult to make one.
I dont know of any already existing though.

AVR Studio has a simulator integrated to the IDE, where you can execute the code step by step. It just needs code compiled with debugging information. I don’t remember if it is COFF, ELF…

There is also Avrora Avrora - The AVR Simulation and Analysis Framework

VMLAB http://www.amctools.com/ is also FREE

I like using the ICE to get the basics down…
http://microcontrollershop.com/product_info.php?products_id=811