xmetal
-
- Reaction score
- 45
I have spent 40 years debugging circuits at the prototyping stage, sometimes with many dozens of ICs. One gets drawn to particular errors that we all make. Floating inputs, outputs tied together, missing power connections, missing pullups, things shifted one hole along or in mirror image. Sometimes before you can even articulate what is wrong, you get a sense of 'there's an error around there somewhere' or 'that looks funny but it won't be that.'
I remember one night at uni, I had spent all afternoon and evening programming, and I couldn't debug a math routine. My good friend and expert programmer Richard popped by the lab, scanned the code and went straight to it - I had declared an array as a constant and later tried to use it as a variable. I realised later that not only had he come to it fresh, he automatically formed a clearer mental image of the data structure than I did myself and had a much better insight into its ramifications and in this case discrepancies.
Sometimes I find if I get stuck on a fault, is to sleep on it. Many a time the next morning, I go straight to it and find the problem.