[En-Nut-Discussion] Ethernut Lockups

Steve Kelly steve at planetcontrols.com.au
Mon Mar 6 01:22:39 CET 2006


Hey All

I am currently using Ethernut 2.1b and Nut 3.9.8.
Our little Ethernut basically talks to another device of ours via 485 on
Uart1 and serves web pages as well as SMTP mail.

The whole app works well for periods of time but then just seems to fall
over.

Now I thought the problem could be related to heat as it seemed to
happen when the air-con was turned off in our office at night.
But that may just be a coincidence at this stage.

Two things I have done of which im not sure if it has any effect on my
problem is that 1. I have changed the Crystal to 16Mhz. 2. I use Uart1
for my RS485 comms and just use the standard imagecraft #pragma's for
the interrupt routines.

Does it matter that I don't use the Nut Interrupt routine registrations
etc?
My 485 comms is continous at 250k and seems to work without problems.

The longest time I seem to have had the ethernut working before a lockup
Is 24 hours. It then does not respond to any TCP traffic or 485 comms.
The stacks seem fine I have tried extending them quite a bit without any
luck.

Has anyone else had anything similar or is there any known heat
problems?

Regards

Steve 

-----Original Message-----
From: en-nut-discussion-bounces at egnite.de
[mailto:en-nut-discussion-bounces at egnite.de] On Behalf Of
en-nut-discussion-request at egnite.de
Sent: Sunday, 5 March 2006 9:00 PM
To: en-nut-discussion at egnite.de
Subject: En-Nut-Discussion Digest, Vol 29, Issue 7

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://www.egnite.de/mailman/listinfo.cgi/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: Power Strip Program (Nic Cave-Lynch)
   2. RE: Power Strip Program (Joel Winarske)


----------------------------------------------------------------------

Message: 1
Date: Sun, 05 Mar 2006 05:38:51 +1300
From: Nic Cave-Lynch <nic at tymar.com>
Subject: Re: [En-Nut-Discussion] Power Strip Program
To: mje at posix.co.za,	"Ethernut User Chat (English)"
	<en-nut-discussion at egnite.de>
Message-ID: <4409C29B.1070207 at tymar.com>
Content-Type: text/plain; format=flowed; charset=ISO-8859-1

Sounds interesting. Look at hall-effect devices for non-invasive (and
isolated) 
current monitoring. I used them once measuring load deltas: just
tape/epoxy them 
against the power cable ad away you go. Not sure how repeatable they'd
be in 
productions quantities. The resultant voltage depends on thickness of
insulation 
and device orientation as well as load current. It might be completely
practical 
to calibrate them as part of a production testing process.

Nic C-L

Mark J Elkins wrote (among other things):
> 
> The POWER STRIP will have at least twelve sockets with an additional
> Euro Socket at the top for powering the cabinet fans.  The Sockets
> will be those used in South Africa (3 round pins).  The sockets and
> mains voltage could be different for different markets.  Typically,
> there will be a Euro Plug at the bottom of the strip for a connection
> to the UPS.  There will be a "normally closed" relay per machine
> socket.  There will be a Red LED per relay showing that the relay is
> now Open (the "unusual" state).  If any relay is open, the Red LED on
> the front panel display should also come on.  Each Power and Euro
> socket will have a current measuring device to enable the current for
> all devices to be calculated (total input current from the UPS, each
> machine socket and the fan socket).  This could be as simple as a very
> low valued resistor in series with the supply, with a "sensor" wire
> from the load side and a single common wire from the supply side -
> although this would result in high voltages being present in the
> control box.  **** Of everything in this document - this is the only
> area in which I am personally not sure how to proceed.****
> 


------------------------------

Message: 2
Date: Sat, 4 Mar 2006 11:32:34 -0800
From: "Joel Winarske" <joelw at indyelectronics.com>
Subject: RE: [En-Nut-Discussion] Power Strip Program
To: <mje at posix.co.za>,	"'Ethernut User Chat (English)'"
	<en-nut-discussion at egnite.de>
Message-ID: <001e01c63fc2$63f39170$c901a8c0 at LAPTOP02>
Content-Type: text/plain;	charset="us-ascii"

Hi Mark,

> I'm going to send out my idea anyway. I'm interested as to whether
> anyone has done what I'm proposing. I'm intending to make this an Open
> Source project.
> 
> The Feedback I'm looking from from this list is:-
> 
> Anyone done anything similar? (share?)

These guys offer something you might get some ideas from:
http://www.itwatchdogs.com/



Joel




------------------------------

_______________________________________________
En-Nut-Discussion mailing list
En-Nut-Discussion at egnite.de
http://www.egnite.de/mailman/listinfo.cgi/en-nut-discussion


End of En-Nut-Discussion Digest, Vol 29, Issue 7
************************************************



More information about the En-Nut-Discussion mailing list