[sdiy] Things were going just too smooth...
Seb Francis
seb at is-uk.com
Fri Nov 29 20:58:02 CET 2002
If you take a fine chisel and gently remove the top of the uC, you may just be able to see the electrons moving around, and be able to work out what's going wrong ;-)
More seriously .. 99% of my strange troubles with PICs has been to do with incorrect pages of Data or Progam memory switched in. Also, with interupts make sure you save all the registers/RAM locations which you might be using in the main loop. Not sure if any of this applies to an AVR, but I thought I'd mention it.
Another stupid problem I had while breadboarding was when I left leaving the reset pin floating .. that was really dumb.
Seb
patchell wrote:
> My efforts at finishing up the Midi->CV converter for my synth were
> thwarted today by an uncooperative AVR...;^)
>
> Or, at least, that is my story. Still not sure what the problem
> it. I can see the Midi data going into the Uart pin, but the Uart sure
> as heck doesn't seem to realize it. In an effort to debug it, I soon
> discovered that the AVR wasn't behaving well at all. Nothing seems to
> make sense, can't even get LED's to count correctly...so, it looks like
> I will be starting over again back at the STK200 card to try and make
> sense of it all...I also remember why I hate microcontrollers...they can
> be difficult to debug at times.
>
> --
> -Jim
> ------------------------------------------------
> * Visit:http://www.silcom.com/~patchell/
> *-----------------------------------------------
> *I'm sure glad Merry Christmas comes just once a year
> * -Yogi Yorgensen
> ------------------------------------------------
More information about the Synth-diy
mailing list