[En-Nut-Discussion] xnutboot entry point

Przemyslaw Rudy prudy at audiotech.pl
Sat Aug 19 23:05:30 CEST 2006


Hi,

I am trying to compile the xnutboot serial bootloader.
It looks like with the original build options and the latest avr-gcc the
‘main’ function is not the entry point anymore.
The .map file shows:
------------
.text          0x0001fc00      0x260 xnutboot.o
                0x0001fd94                main
------------
whilst in the reference .map file:
------------
.text          0x0001fc00      0x2a8 xnutboot.o
                0x0001fc00                main
------------

The .lst file shows ‘main’ at offset 0x194 indeed:
------------
.text:00000000 SendOctet
.text:00000008 FlashPage
.text:000000cc RecvOctet
.text:00000104 RecvPacket
.text:00000194 main
------------
whilst in the reference .lst file:
------------
.text:00000000 main
.text:00000218 RecvPacket
.text:000001d8 SendOctet
.text:000000cc FlashPage
.text:000001e0 RecvOctet
------------

Do you have any quick solution for that?

Best Regards
Przemek



More information about the En-Nut-Discussion mailing list