[En-Nut-Discussion] Basemon bug ?

Pascal Jean pascal.jean at laposte.net
Sat Dec 16 10:07:27 CET 2006


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




More information about the En-Nut-Discussion mailing list