AW: [En-Nut-Discussion] Ethernut without Ethernet
Robert Hildebrand
robert.hildebrand at ims.fraunhofer.de
Wed Nov 10 07:45:09 CET 2004
Hi Lars,
I have used Nut/OS without ethernet in two differetn projects. In one
project I had the external 32kByte RAM, in one procect only the internal
memory of the Mega128. There was nothing special to do, just don't call any
Nut/Net functions and don't link the nutnet librariy. Just look at the uart
example application.
If this does not work, there is an other problem.
Regards,
Robert
--
Dipl.-Ing. Robert Hildebrand
Fraunhofer-IMS
Abteilung System- und Anwendungstechnik
Finkenstr. 61
47057 Duisburg
Tel.: +49 203 / 3783 - 237
Fax: +49 203 / 3783 - 277
Email: robert.hildebrand at ims.fhg.de
-----Ursprüngliche Nachricht-----
Von: en-nut-discussion-bounces at egnite.de
[mailto:en-nut-discussion-bounces at egnite.de]Im Auftrag von Lars
Andersson
Gesendet: Dienstag, 9. November 2004 16:55
An: Ethernut User Chat (English)
Betreff: [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