Sometimes debugging assembly code (8051 in this case) is just spending hours stepping through and staring at code you know should work until you find that stupid typo in an operand that you've step through hundreds of times. I'm in hour 7 of this...
Conversation
Replying to
In cases like this (you might have seen the error but didn't consciously register) I find that taking a break or sleeping over it really does its magic.
Replying to
Yeah, my break was sleeping last night... the 7 hours were yesterday. I've finally slayed this dragon: It was a port that defaulted to analog rather than (as I expected) digital.
1
1
Replying to
The embedded roller coaster... Every time this kind of thing happens I swear I'll never touch hardware again. Still doing hardware so there must be some addiction process involved.
1

