[En-Nut-Discussion] :Re: Ethernet Failure
JOhan ferouskain
argaelgr at yahoo.gr
Wed Dec 3 13:22:50 CET 2008
Thank you for your quick reply, yes sorry about that i was dazed by many hours of googling prior to send the previus mail , it is a rooter it has DHCP capabilities as well as
support for 10mbit ,the problem is that the green led doesnt flash at all, the yellow led
is active, and my application is a multithreaded one, the basemon code i used is the .hex provided under the bin folder for the atmega128 ,and it works fine ,while none
of the other precompiled hex files that make use of the ethernet work.
As i reported in the last letter what troubles me is that i get an error of zero while the
dhcp client is idle(code 0) and even this is not stable and the error might change to 19
some times.
I would also like to note that the rest of the application works fine,but for some reason
i cant seem to make ethernet work.
The supply i use for the rooter is sufficient i can both connect to it with a pc, and while using the basemon application i see the ethernut displayed in the attached devices normaly, i use the .F revision.
Any help is welcomed.
--- Στις Τετ., 03/12/08, ο/η en-nut-discussion-request at egnite.de <en-nut-discussion-request at egnite.de> έγραψε:
Από: en-nut-discussion-request at egnite.de <en-nut-discussion-request at egnite.de>
Θέμα: En-Nut-Discussion Digest, Vol 62, Issue 3
Προς: en-nut-discussion at egnite.de
Ημερομηνία: Τετάρτη, 3 Δεκέμβριος 2008, 13:00
Send En-Nut-Discussion mailing list submissions to
en-nut-discussion at egnite.de
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.egnite.de/mailman/listinfo/en-nut-discussion
or, via email, send a message with subject or body 'help' to
en-nut-discussion-request at egnite.de
You can reach the person managing the list at
en-nut-discussion-owner at egnite.de
When replying, please edit your Subject line so it is more specific
than "Re: Contents of En-Nut-Discussion digest..."
Today's Topics:
1. Re: Ethernet Failure (Harald Kipp)
2. Re: PPP - Nut-os4.6.6 - atmega128. (Harald Kipp)
3. Re: Ethernet Failure (Pete Allison)
----------------------------------------------------------------------
Message: 1
Date: Tue, 02 Dec 2008 15:43:05 +0100
From: Harald Kipp <harald.kipp at egnite.de>
Subject: Re: [En-Nut-Discussion] Ethernet Failure
To: "Ethernut User Chat (English)"
<en-nut-discussion at egnite.de>
Message-ID: <49354979.6000506 at egnite.de>
Content-Type: text/plain; charset=UTF-8; format=flowed
JOhan ferouskain wrote:
> but still i couldnt connect to the dhcp server(a Level One switch-hub
> serves as my DHCP server,it supports 10mb ethernet )
You do not mean that really, do you? ;-) A HUB/Switch typically do not
provide DHCP, but routers do.
> The only application that can connect and works as it should
> is the basemon application .(The ethernet device due to basemons findings
> is realtek)
Just Basemon or did you try to connected the integrated HTTP server
(after exiting Basemon by pressing X)?
Try another power supply. Ethernet requires a it more power.
Is the yellow LED lit? Does the green LED flash sometimes?
If you use Basemon to set a fixed IP, it will be stored in EEPROM. When
the 'Preserve EEPROM' fuse is set (default on shipped Ethernuts), these
setting will be available after burning a new application. No DHCP will
be required then and the HTTP server sample should run out of the box.
Additional network configuration samples are provided at
http://www.ethernut.de/nutwiki/Nut/OS_Examples
There are ready-made binaries you can try as well.
Which board revision you have? Rev-F or earlier?
Did you create the sample binaries yourself? Sure you chose the right
configuration file?
Harald
------------------------------
Message: 2
Date: Tue, 02 Dec 2008 15:55:47 +0100
From: Harald Kipp <harald.kipp at egnite.de>
Subject: Re: [En-Nut-Discussion] PPP - Nut-os4.6.6 - atmega128.
To: "Ethernut User Chat (English)"
<en-nut-discussion at egnite.de>
Message-ID: <49354C73.3030301 at egnite.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Paulo Silva(OpenSoftware) wrote:
> Open uart...done
> Connecting...done
> Configure PPP...failed
>
> The only changes I did, was a change in the define for DBGCOM as follow:
> #define DBGCOM "uart1"
> I am using uart0 for debug.
The remote station may require a specific feature not available with
Nut/OS PPP. You need to enable PPP tracing. Add
HWDEF+=-DNUTDEBUG
to app/UserConf.mk _and_ bld/UserConf.mk, replacing app and bld with the
directory names you configured for the build and sample tree.
In general, this is a non-trivial problem, because initial PPP
handshaking is complex and greatly differs among access providers.
Harald
------------------------------
Message: 3
Date: Tue, 2 Dec 2008 08:53:42 -0600
From: "Pete Allison" <macsmaker at aol.com>
Subject: Re: [En-Nut-Discussion] Ethernet Failure
To: "'Ethernut User Chat (English)'"
<en-nut-discussion at egnite.de>
Message-ID:
<!&!AAAAAAAAAAAuAAAAAAAAAKJKr24FJ+VIovK+UZAxr30BAA9kjWGujtdIrzzd/ngLzXwAAAHPc1oAABAAAADRK00jAzoYSpZTh+k1t3mwAQAAAAA=@aol.com>
Content-Type: text/plain; charset="us-ascii"
Has he rebuilt Basemon from the source code delivered with the Ethernut
development kit? (If that is what he has.)
I cannot rebuilt that source and get it work. Seems to have a problem with
initializing the ethernet port.
(http://lists.egnite.de/pipermail/en-nut-discussion/2008-November/010076.htm
l)
The basemon code that was loaded in the ethernut when we purchased it worked
fine.
While it would be nice to have it back, I figured out a way around it.
Pete Allison
-----Original Message-----
From: en-nut-discussion-bounces at egnite.de
[mailto:en-nut-discussion-bounces at egnite.de] On Behalf Of Harald Kipp
Sent: Tuesday, December 02, 2008 8:43 AM
To: Ethernut User Chat (English)
Subject: Re: [En-Nut-Discussion] Ethernet Failure
JOhan ferouskain wrote:
> but still i couldnt connect to the dhcp server(a Level One switch-hub
> serves as my DHCP server,it supports 10mb ethernet )
You do not mean that really, do you? ;-) A HUB/Switch typically do not
provide DHCP, but routers do.
> The only application that can connect and works as it should is
> the basemon application .(The ethernet device due to basemons findings
> is realtek)
Just Basemon or did you try to connected the integrated HTTP server (after
exiting Basemon by pressing X)?
Try another power supply. Ethernet requires a it more power.
Is the yellow LED lit? Does the green LED flash sometimes?
If you use Basemon to set a fixed IP, it will be stored in EEPROM. When the
'Preserve EEPROM' fuse is set (default on shipped Ethernuts), these
setting
will be available after burning a new application. No DHCP will be required
then and the HTTP server sample should run out of the box.
Additional network configuration samples are provided at
http://www.ethernut.de/nutwiki/Nut/OS_Examples
There are ready-made binaries you can try as well.
Which board revision you have? Rev-F or earlier?
Did you create the sample binaries yourself? Sure you chose the right
configuration file?
Harald
_______________________________________________
http://lists.egnite.de/mailman/listinfo/en-nut-discussion
------------------------------
_______________________________________________
http://lists.egnite.de/mailman/listinfo/en-nut-discussion
End of En-Nut-Discussion Digest, Vol 62, Issue 3
************************************************
___________________________________________________________
Χρησιμοποιείτε Yahoo!;
Βαρεθήκατε τα ενοχλητικά μηνύματα (spam); Το Yahoo! Mail
διαθέτει την καλύτερη δυνατή προστασία κατά των ενοχλητικών
μηνυμάτων http://login.yahoo.com/config/mail?.intl=gr
More information about the En-Nut-Discussion
mailing list