Hi again
I dunno if this is the right place to ask, but I;m wondering what
the first 0x2000 bytes of the AT32UC3 series flash is reserved for.
The flash is at 0x80000000 and at reset it jumps to 0x8000000.
However, eLua has, in src/platform/avr32/at32uc3a0512.ld
MEMORY
{
sram (W!RX) : ORIGIN = 0x00000004, LENGTH = 0x0000FFFC
flash (RX) : ORIGIN = 0x80002000, LENGTH = 0x00080000 - 0x2000
}
To get my board to boot eLua at poweron, I had to set that to
flash (RX) : ORIGIN = 0x80000000, LENGTH = 0x00080000
(well, LENGTH=0x00020000 as I'm using the 128K part not the 512K part)
which also gives 8KB more program space.
I'm wondering if anyone knows why the default setup reserves the first
8K. Is there some tiny AVR bootloader that I am missing?
Thanks
M
_______________________________________________
eLua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev