Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] serial communication

2008-02-05 by Dennis Clark

And then there is what I have taught my students and preach a bit about
on the 'net.  It comes in part from Sherlock Holmes and part from my own
experience:

Data Watson!  Data!  You cannot make bricks without straw.

and

If the data does not make any sense, examine your assumptions, at least
one of them is incorrect.

DLC

> This is a part of the art that isn't taught much..
>
> How to diagnose or debug a problem.
>
> Basically, you need to divide up your system, to know that "THIS PART
> WORKS", and keep sectioning off the problem into a smaller and smaller
> space until you have it cornered.
>
> I learned this art in analog electronics, how to divide up the system
> and isolate the problem. The approach works just as well with
> software, and with microcontrollers it's not all that unusual to have
> problems that are both in hardware and in software.
>
> "drive a stake in the gound" with some part of your code that outputs
> something you can see, and be absolutely sure that it always works.
> Use that to debug other parts of the system.
>
>
>
> Yahoo! Groups Links
>
>
>
>


-- 
Dennis Clark
TTT Enterprises

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.