There are 61 messages in this thread.
You are currently looking at messages 60 to 61.
On Thu, 08 Jan 2004 21:54:23 -0800, Albert Lee Mitchell wrote: > On Wed, 07 Jan 2004 21:40:55 +0000, Bob Stephens wrote: > >> On Wed, 07 Jan 2004 11:31:53 -0800, Albert Lee Mitchell wrote: >> >>> [quoted text muted] >> >> I debug C the same way I debug assembler or anything else. By writing debug >> code. I also like to generate "life noises" like toggling a port bit on >> entry to an ISR saying " I made it this far", also squirting out diagnostic >> messages to a serial port. >> >> Bob > > That's not unsimilar to our methodology except we use the same code as > the finished job will, not test code. Using the serial port for > diagnostic messages has a major impact on execution speed which I very > much wish to avoid. > > Without running the same code at the same speed you're not really > exercising the final product. > > -- Regards, Albert > ---------------------------------------------------------------------- > AM Research, Inc. The Embedded Systems Experts > http://www.amresearch.com 916.780.7623 > ---------------------------------------------------------------------- Yes I agree. I was talking about debugging in the very preliminary stages where you're not even sure if the oscillator is clocking the chip properly. Bob