[En-Nut-Discussion] xnutboot entry point

Przemyslaw Rudy prudy at audiotech.pl
Mon Aug 21 10:28:49 CEST 2006


Hi Henrik

I will check your code today. The loader I use is
http://www.ethernut.de/arc/xnutboot-20030826.zip.

I am almost 100% sure I compiled it long time ago ‘as it is’ (-Os)
without any problems, so the only difference was in gcc.
With the latest gcc sbi/cbi/inb/outb must be defined to compile it.

Thanks
Przemek


Henrik Maier wrote:

> Hello Przemek,
> 
> Have a look at the files I sent, it is supposed to work out of the box
> for the XNUT-105 and I am supporting it.
> 
> You also can send me your bootloader with makefile. I might be able to
> assist.
> 
> 
> Best Regards
> 
> Henrik Maier
> 
> 
> proconX - Protocol Converter, Device Server and Industrial Gateways
> http://www.proconx.com  Tel: +61-7-3376 3911   Fax: +61-7-3102 9206
> 
> 
> 
> Przemyslaw Rudy wrote:
> 
>> Hi
>>
>> I focus on the old serial bootloader, but I presume ethernet one might
>> have the same problem.
>>
>> Thanks
>> Przemek
>>
>>
>> Henrik Maier wrote:
>>
>>> Hi,
>>>
>>> Which bootloader are you using for the XNUT-105?
>>>
>>> For the XNUT-100/105 you can use attached Ethernet TFTP bootloader.
>>>
>>>
>>> Best Regards
>>>
>>> Henrik Maier
>>>
>>>
>>> proconX - Protocol Converter, Device Server and Industrial Gateways
>>> http://www.proconx.com  Tel: +61-7-3376 3911   Fax: +61-7-3102 9206
>>>
>>>
>>> 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
>>>>
>>>>
>>>>
>>
>>
>>
> 



More information about the En-Nut-Discussion mailing list