This is an annoying issue but it is driving me crazy…
After I upload a sketch from the Arduino IDE to the Redboard Turbo I would like to run it with the Serial Monitor (SM) open for debugging purposes.
-
The only way this works is if I open SM first, then do the upload.
-
If I upload first without having SM open, the sketch starts running. When I then open SM it shows messages from the current running program location, typically somewhere in the middle of the loop. It does not restart the sketch (like it does when using an Arduino Uno or Mega).
The big problem: once the program is running with SM correctly, I want to restart the sketch with SM active. I cannot find a way to do this.
-
On an Arduino, pressing the reset button on the board restarts the sketch, including communications to the SM. This does not occur on the Turbo.
-
On Arduino, closing SM and re-opening it restarts the sketch. This does not occur on the Turbo.
I have tried all sorts of combinations of single tap reset, double tap, close/open SM, cycle power, etc. The only way I can restart is to recompile and re-upload the sketch. This is a pain, and very inefficient; sometimes the compiles take 10 minutes or more. Surely there is some way to restart a running sketch and get output on the SM?