Sort of an odd question... Can you debug an Arduino UNO, an Arduino Pro Micro, or an esp-01 (esp8266)? Preferably with PlatformIO IDE (VScode). I couldn't find anything online...
I'm not the right person to answer this question, but I'll try anyway.
-
UNO (R3):
No, there's no debugging support for the microcontroller (?) -
Pro Micro:
Possibly, with the right programmer and some hacking.
ATmega32U4 and JTAG - #3 by anderscarlberg74 - PlatformIO Core - PlatformIO Community -
ESP:
Again, possibly, with issues.
Debugging ESP8266 with GDB and VSCode + Platformio – Adam @ Hilltop Cottage
Thank you sooo much! I have yet to try the pro micro, but the ESP works wonderfully! And in the meantime I've found this for the UNO (also yet to try): Debugging the Arduino Uno or Nano! (No extra hardware needed!)
Again, thank you.
(BTW the bug I was searching for was actually in the print statements LOL)
That's a very interesting setup! I wasn't aware anything like that was possible. There do seem to be a few big caveats; it seems to take over Serial, one of the timers and one of the interrupt pins, but still good to know about.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.