So being the stupid newb that I am, I sort of created a minor buffer overflow in my code using strcat. I was doing something similiar to;
int n;
int myBuff[8];
for (int y = 1; y < 2; y++) {
for(int x = 1; x < 17; x++) {
n = sprintf(myBuff, "?x%02d?y%02d", x, y);
SerialDebugger(NOTIFICATION, "loop", strcat("New location: ", myBuff));
}
}
Which, in retrospect.. is a pretty stupid thing to do. For some reason I was thinking... Well... I dunno WHAT I was thinking. :-[
Anyway, I realized my problem pretty quickly. And so I set about correcting it... I got distracted, put kids to bed, had a beer.. meanwhile, my faithful little Diecmila was executing that bogus code..
About 2 hours go by, and I came back to upload the fixed code, and..
poof!
avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51
Reset button does nothing.. power cycle.. nothing...
the RX light does light up if I send chars to the unit via the serial monitor, but..
So.. did I kill it? Did my careless instructions to my faithful little device cause it to commit suicide? Is it dead? Am I going to have to push the bootloader back into the darn thing? will that even work?