[En-Nut-Discussion] Ethernut without Ethernet

Lars Andersson laran at ikp.liu.se
Wed Nov 10 12:41:11 CET 2004


Hi all,

I have tested again wit the CVS updated version and now the example application was sucsessfull. I realized that since basemoon autodetect the baudrate of the uart things worked fine but in other application the baudrate, in my case since i don't have an external clock, depends on how the CPU clock speed is defined. After studying the datasheet I noticed that the baudrate basemon selected did not correspond with what was sugested in the datasheet. I guess I was just lucky that basemon worked at all.

I assume this is related to the fixed cpu clock settings that other have had problems with earlier, but now seams to have been fixed and updated in cvs, thanx to the people who did that!

Regards,
Lars A Andersson


-----Original Message-----
From: en-nut-discussion-bounces at egnite.de
[mailto:en-nut-discussion-bounces at egnite.de]On Behalf Of Robert
Hildebrand
Sent: den 10 november 2004 07:45
To: Ethernut User Chat (English)
Subject: AW: [En-Nut-Discussion] Ethernut without Ethernet 


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



_______________________________________________
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