[En-Nut-Discussion] xnutboot entry point

Rodrigue rodrigue.roland at gmail.com
Tue Feb 27 15:43:05 CET 2007


Hello,

Just an idea: check for --defsym main=0 in your makefile and remove it...

Regards,
Rodrigue


Przemyslaw Rudy wrote:
> 
> 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
> _______________________________________________
> En-Nut-Discussion mailing list
> En-Nut-Discussion at egnite.de
> http://www.egnite.de/mailman/listinfo.cgi/en-nut-discussion
> 
> 

-- 
View this message in context: http://www.nabble.com/xnutboot-entry-point-tf2133569.html#a9183428
Sent from the MicroControllers - Ethernut mailing list archive at Nabble.com.




More information about the En-Nut-Discussion mailing list