Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] supported devices

2006-04-19 by Ned Konz

On Apr 19, 2006, at 4:04 AM, naveed mughal wrote:

> i m doing final project on avrora, my task is to extend avrora.  
> first i have to know that what devices are supported by avrora- 
> beta-1.6.0...
> i'll be very thankfull if u help ...

Didn't you believe the page on supported microcontrollers on the  
Avrora web site?

I found it by searching for
	avrora supported devices

http://compilers.cs.ucla.edu/avrora/extend/mcu.html

where they say:

---
A microcontroller in Avrora is a self-contained execution unit with  
program storage, RAM and internal devices that represents a complete  
execution unit to be simulated. A microcontroller may be connected to  
external devices such as LEDs, but these are not considered part of  
the microcontroller. For example, the ATMega128L contains 128KB  
Flash, 4KB EEPROM, 4KB SRAM, several timers, two UARTs, an SPI  
interface, etc.

Avrora allows you to add your own microcontroller model, for Atmel  
microcontrollers not yet supported or not yet build. By creating a  
new Java class that implements the Microcontroller interface, you can  
build a software model of the microcontroller in which your program  
will run. You can add the correct parameters for storage size,  
external pin assignments, and internal devices.

By specifying the -chip option to the simulator, you can select from  
one of the supported microcontrollers, or specify the fully qualified  
name of your own microcontroller class.
---

So the answers to your question are "the microcontrollers that are  
supported are represented by classes that implement the  
Microcontroller interface", and "you can make your own  
Microcontroller class if you need or want to".

Just look at the source code; the JavaDoc is online.

http://compilers.cs.ucla.edu/avrora/api/current/avrora/sim/mcu/ 
Microcontroller.html
http://compilers.cs.ucla.edu/avrora/api/current/avrora/sim/mcu/ 
AtmelMicrocontroller.html
http://compilers.cs.ucla.edu/avrora/api/current/avrora/sim/mcu/ 
ATMegaFamily.html
http://compilers.cs.ucla.edu/avrora/api/current/avrora/sim/mcu/ 
ATMega128.html
http://compilers.cs.ucla.edu/avrora/api/current/avrora/sim/mcu/ 
ATMega16.html
http://compilers.cs.ucla.edu/avrora/api/current/avrora/sim/mcu/ 
ATMega32.html


After all, you're going to have to read the source in order to extend  
Avrora, right?
-- 
Ned Konz
MetaMagix embedded consulting
MetaMagix@gmail.com

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.