Info

On Chip Debug for (Some) MicroPython

On Chip Debug for (Some) MicroPython

If you’ve used MicroPython much, you know that debugging usually amounts to printing a few things out, trying your code out, and then repeating. But [ghi-electronics] wants you to have …. On Chip Debug for (Some) MicroPython.

But [ghi-electronics] wants you to have full on-chip source-code debugging in Visual Studio. You don’t need anything special to use it — just a supported MicroPython host and the same USB cable you program with now. The downside is that you either have to build a custom MicroPython image and flash it or use one that they include.

They support several Raspberry Pi Pico versions and ESP32 chips, as well. At least one “odd” Pico we had lying around wouldn’t take the firmware. A stock one did, and it worked as you would expect.

A little more investigation showed the odd Pico (an RP2040 GEEK) probably did take the firmware; it just produced an error during setup.


Discover more from ChuckysCarnage

Subscribe to get the latest posts sent to your email.

Leave a comment