[Virgil] Atmega32 ?

Andreas KäŠnner andreas at kaenner.de
Sun May 27 14:04:07 PDT 2007


Hi Benjamin,

thank you. I will try to modify the ATMega128 device description. I 
understand the interrupt part and the IORegister part but can you 
elaborate on the first statements:

    space data[16]: 8;
    space flash[24]: 8;
    space eeprom[16]: 8;

    region regs   = data[0...31];
    region ioregs = data[32...255];
    region sram   = data[255...4351];

    region itable = flash[0...139];

I don't know what I have to fill in to fit the ATMega32 and I didn't 
found a description in the Virgil documentation.

Thank you again,

Andreas

> Hi Andreas,
>
> No, there isn't a description for ATMega32, but there is an example 
> ATMega128 in the source distribution that shouldn't be hard to modify 
> to fit the purposes. It basically describes the layout of the registers.
>
> -B
>
> ======================================================
> Imagination is more important than knowledge.
> -- Albert Einstein
>
> On Tue, 22 May 2007, Andreas Kä�~Jnner wrote:
>
>> Hi,
>>
>> I'm using an Atmega32 and wonder if there already exists a device
>> description file for this controller.
>>
>> Andreas
>> _______________________________________________
>> Virgil mailing list
>> Virgil at lists.ucla.edu
>> http://lists.ucla.edu/cgi-bin/mailman/listinfo/virgil
>>



More information about the Virgil mailing list