It's a simulator for AVR in Linux that can take your ELF or HEX code and run it as if it's actually on-chip, but gives you hooks and the possibility of dumping trace files. I'll go through a simple example.
Remove these ads by
Signing UpStep 1Git it
sudo apt-get install avr-libc libelf-dev \ libglut3-dev gtkwave git build-essentialI had to remove some crappy Mesa symlink for OpenGL in 10.10. Only do this if you have problems compiling related to -lGL,
sudo rm /usr/lib/libGL.so cd /usr/lib sudo ln -s libGL.so.1 libGL.so cdFinally, use git to download the source code:
git clone git://gitorious.org/simavr/simavr.gitNow, build it.
cd simavr makeIf you get any errors, leave me a comment. I'd be happy to help. You should have a new program called run_avr in the simavr subdirectory once that completes.
| « Previous Step | Download PDFView All Steps | Next Step » |










































Thanks!