Hey friends,
I uploaded a sketch like:
HardwareSerial & serial_stream = Serial;
TMC2209 stepper_driver;
void setup()
{
Serial.begin(SERIAL_BAUD_RATE);
stepper_driver.setup(serial_stream);
}
Now, sure enough, I cannot flash and get the classic avrdude: stk500_getsync().
This kind of makes sense. My sketch clobbered the serial interface... how possibly could USB/serial work again in flash mode? I tried some randomly timed board resets during upload without success.
Is there some black magic i can do?