PDA

View Full Version : Discussion Avrora


clicky
Mar 24, 2009, 04:28 AM
I've just stumbled across this:

http://compilers.cs.ucla.edu/avrora/

I think it is fantastic! :D I am preparing to undertake some 'serious' coding for AVR (wanting to make my own library of routines to access SC cards and USB) and it looks like that I will be able to spend most of the time doing it under this simulator rather than go through endless, long cycles of uploading code, debug it, modify and upload again... Especially as one part of it will actually be dealing with format (FAT?) rather than hardware coding...


Is there anyone who already has an experience with it?

clicky
May 09, 2009, 01:32 PM
A week or so ago I had chance to evaluate Avrora and I must say that I am trilled by its potential :D

It took me 5 minutes to model 74595 and 4021 for instance... (not fully but only those pins I've used).

Downside was that assembler it accepts is very basic - without macros, lots of directives etc. Also, I had slight trouble with assembler I use (TAvrAsm) which produces Intel Hex format and Avrora doesn't (didn't) know how to read it. However, it was easy adding that loader to it (it is pretty extensible).

I wholeheartedly recommend it to anyone who wants to cut some 'compile/assemble;upload; test/debug really fast, several different pin transitions with oscilloscope;deduct what is really happening on' cycle with 'code unit test in simple Java;compile/assemble;run simulation' which is much faster/finer to the point...