[En-Nut-Discussion] Http server

Cosmin Buhu towmeup at as.ro
Fri Feb 20 07:03:51 CET 2004



        Thanks Brett,
    
    For one, hope to test soon. For three, yes the unchanged httpd,
on heavy stress (just refresh page in browser quick enough). For two,
I haven't a JTAG unit, but hope to buy an Olimex one soon.
    I tested other apps too, some strange things appeared too (like 
sockets blocked on send even if there are timeouts set, not returning
from unsuccessful dns queries). Hmm, maybe because I'm a self trained
programmer.
   
Regards,
Cosmin



----- Original Message ----- 
From: "Brett Abbott" <Brett.Abbott at digital-telemetry.com>
To: <en-nut-discussion at egnite.de>
Sent: Thursday, February 19, 2004 9:23 PM
Subject: RE: [En-Nut-Discussion] Http server


> Cosmin
> 
> A couple of ideas...
> 
> 1.  Have you tried a second ethernut (just in case).
> 2. If you have a JTAG unit, trace the location of the heap that is being 
> corrupted - this assumes it reproduces in the same place each time (but 
> can often be engineered this way), place a breakpoint on the data memory 
> at the expected location.  Obviously you will see the owner updating the 
> memory, but this will also give you a means to identify what else is 
> changing the memory.  This requires you to know what a good heap looks 
> like so you can spot the difference.  AVR Studio helps by changing the 
> colour of recently changed memory values.
> 3. As a third thought, to be ignored if you are using the sample code 
> EXACTLY unchanged, is that it is very easy to reuse the pointer to the 
> device, perhaps initialising or opening it twice, or writing (fprintf) 
> to a pointer/device that hasnt been opened - this generally has fatal 
> consequence matching the symptoms you see.
> 
> Hope this helps
> Brett
> 
> -- 
> -----------------------------------------------------------------
> Brett Abbott, Managing Director, Digital Telemetry Limited
> Email: Brett.Abbott at digital-telemetry.com
> PO Box 24 036 Manners Street, Wellington, New Zealand
> Phone +64 (4) 5666-860  Mobile +64 (21) 656-144
> ------------------- Commercial in confidence --------------------
> 
> 
> _______________________________________________
> 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