[En-Nut-Discussion] Ethernut without Ethernet

Marc Wetzel MarcWetzel at gmx.de
Tue Nov 9 20:15:26 CET 2004


If you dont use Ethernet, normally no libnutnet will be linked to your
application, so the avr does not know that there is one.

I also have an setup without ethernet and it behaved some kind of strange
using no realtimeclock (e.g. no 32khz osci). So I added one :)

I had also some problems, with compiling a hard Mhz value in NutOs, 
but as I read the list this seems to be fixed (perhaps only in CVS ?)

Greetings
/Marc

-----Original Message-----
From: en-nut-discussion-bounces at egnite.de
[mailto:en-nut-discussion-bounces at egnite.de] On Behalf Of Lars Andersson
Sent: Tuesday, November 09, 2004 4:55 PM
To: Ethernut User Chat (English)
Subject: [En-Nut-Discussion] Ethernut without Ethernet 

Hi all,

I have some issues with the removal of the Ethernet controller. Does anyone
have experience in setting up the Nut/OS environment for such HW ?

I have built some minimal Ethernut HW without Ethernet controller (basically
a mega128, 32k SRAM and reset circuit). I downloaded Basemon and everything
seamed fine, except that the system failed to detect any Ethernet
controller, which was expected :-)  Anyhow, I downloaded the timers example
code and this is when things started to behave strange. The system crashed
and locked up. I started to investigate and found one major difference
between the timers and the basemon examples. Basemon has it's own NutInit
function which differs from the one in avr_init.c. Is it possible that the
absence of an Ethernet controller crashes the system?

I created a build environment using nutconf. Since my hardware configuration
is not included in the cvs :) I used the eternut13f.conf file as template,
doing some minor changes like setting the CPU clock fixed to 8MHz. I noticed
it was not possible to disable the Ethernet controllers in nutconf. Is it
possible to do this elsewhere? If not, how to I configure the interrupt pin
for the Ethernet controllers?

Regards,
/Lars A. Andersson

Buy the way, I did some modifications to the basemon app. by replacing the
code in the WebDemo thread to the code in the timers example, just to see
that the threads and timers worked properly. This was successful and It
seams that if I build my applications based on basemon and place the code in
the "main" thread treated by the "idle" thread in basemon.c



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Lars Andersson M.Sc.                     Phone: +46 (0)13  - 28 11 98
 Div. of Fluid and Mech. Eng. System      Mobile:+46 (0)733 - 80 07 74
 Dept. of Mechanical Engineering          Fax:   +46 (0)13 	- 13 04 14
 Linköping University                     mailto:laran at ikp.liu.se
 S-581 83 Linköping                       http://hydra.ikp.liu.se/~laran
 SWEDEN
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

_______________________________________________
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