[En-Nut-Discussion] Ethernut without Ethernet

Lars Andersson laran at ikp.liu.se
Tue Nov 9 16:55:29 CET 2004


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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




More information about the En-Nut-Discussion mailing list