On Tue, 16 Dec 2003 17:03:31 -0500 Jesse Lackey wrote: > malloc returns a pointer to RAM already used by globals Is that by chance in an ISR? I know there used to be a bug in interrupt functions where local variables clobbered allocated memory. It was even true in when calling their built-in delay functions from an interrupt. My SOP has been not allocate any locals in ISRs since then nor to use their delay functions in an ISR. david -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body