[En-Nut-Discussion] Basemon bug ?

Ernst Stippl ernst at stippl.org
Sat Dec 16 10:41:05 CET 2006


Hi Pascal!

Each version of ethernut contains a precompiled version of basemon.hex (in
the nut/bin/atmega128 directory)
You could try this one (of the 4.2.1 version you are using) to see if you
get the same error.

BUT: I am not sure (and have not tried) if the precompiled basemon.hex works
for Ethernut 1 and Ethernut 2 boards <-> ANYBODY who knows that???

One more thing: Winavr-20060421 contains avr-gcc 3.4.6 and avr-libc 1.4.4
<--!!

You reference avr-libc 1.4.5 in your 1st mail. Is this a typo or have you
manually replaced the original avr-libc?

Last question: Have you tried to compile other apps with this ((avr-gcc
3.4.6 + avr-libc 1.4.5)) setup and if yes, do THEY work?

regards

ernst

-----Ursprüngliche Nachricht-----
Von: en-nut-discussion-bounces at egnite.de
[mailto:en-nut-discussion-bounces at egnite.de] Im Auftrag von Pascal Jean
Gesendet: Samstag, 16. Dezember 2006 10:07
An: 'Ethernut User Chat (English)'
Betreff: Re: [En-Nut-Discussion] Basemon bug ?

Hello,

I answer me myself because I didn't have an answer. It would be kind if
someone could answer me... Thank you for advance. 

I searched for with my JTAG ICE mkII. It seems that it comes from the task
switch after basemon (). 
Indeed (besides the leds green and yellow are extinguished what proves that
the driver rtl8019 is not initialized), I put a breakpoint in the thread
webserver and I note that the program doesn't pass there.
With the basemon.hex file of the ethernut web site (version 3.9), it
functions...

Thank you.
Best Regards
Pascal 

> -----Message d'origine-----
> De : en-nut-discussion-bounces at egnite.de
> [mailto:en-nut-discussion-bounces at egnite.de] De la part de Pascal Jean 
> Envoyé : mardi 12 décembre 2006 18:42 À : 'Ethernut User Chat 
> (English)'
> Objet : [En-Nut-Discussion] Basemon bug ?
> 
> Hello,
> 
> I have a problem with basemon of which I don't find the origin:
> There is my config:
> Hardware: ethernut 1.3-h Software: ethernut 4.2.1 + Winavr (avr-gcc 
> 3.4.6 + avr-libc 1.4.5)
> 
> There is the problem:
> I compile basemon: 
> 	make
> 	make burn
> 
> --> I have the following display (correct):
> BaseMon 4.2.0
> Nut/OS 4.2.1
> Compiled by AVRGCC for ATmega128
> Baudrate select = 23
> External RAM Test... 28416 bytes
> Banked RAM Test...   none
> Serial FLASH...      0 bytes
> Detecting NIC...     RTL8019AS
> Testing NIC...       OK
> I/O Port Test...     OK
> 
> Press any of the following keys:
>     B - Send broadcasts
>     E - Ethernet controller read/write
>     J - Jump to bootloader
>     S - SRAM read/write
>     X - Exit BaseMon, configure network and start WebServer
> 
> --> If I run the server web in dhcp:
> MAC address (000698010CF1): 
> Host name (ethernut): 
> IP address (0.0.0.0): 
> Using DHCP or ARP method (Y): 
> 
> --> doesn't this one rush and at the end of some seconds I have this 
> --> display
> (reboot?):
> BaseMon 4.2.0
> Nut/OS 4.2.1
> Compiled by AVRGCC for ATmega128
> No user input detected
> External RAM Test... 28416 bytes
> Banked RAM Test...   none
> Serial FLASH...      0 bytes
> Detecting NIC...     RTL8019AS
> Testing NIC...       OK
> I/O Port Test...     OK
> 
> --> After having pushed on the button reset, I first run a test of
> broadcast:
> Init controller...SW-Reset...OK
>  detecting...EEPROM Emulation...done
> RTL8019 jumper mode: BNC IRQ0 Auto
> 012345
> 
> --> Then I run the server web in dhcp:
> MAC address (000698010CF1): 
> Host name (ethernut): 
> IP address (0.0.0.0): 
> Using DHCP or ARP method (Y): 
> 
> --> It functions !!!
> MAC  00-06-98-01-0C-F1
> IP   192.168.1.80
> Mask 255.255.255.0
> Gate 192.168.1.1
> HTTP server running. URL http://192.168.1.80/
> 
> 
> Would someone already have had this problem?
> 
> Thank you.
> Best Regards
> Pascal
> 
> _______________________________________________
> http://lists.egnite.de/mailman/listinfo/en-nut-discussion

_______________________________________________
http://lists.egnite.de/mailman/listinfo/en-nut-discussion



--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.15.18/584 - Release Date: 12.12.2006



-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.15.21/589 - Release Date: 15.12.2006





More information about the En-Nut-Discussion mailing list