Рет қаралды 10,167
My ESP32 development needs have outgrown the Arduino IDE so I go on the hunt for a better development environment and hardware debugging support. I discovered PlatformIO and the ESP-PROG board. This combination lets me easily flash new firmware onto the board with one cable, and then perform in-hardware debugging. In the video I go into extreme detail to show you how to set up your whole environment for success.
Links to content:
ESP-PROG: docs.platformio.org/en/latest/plus/debug-tools/esp-prog.html
PlatformIO: platformio.org/
Zadig USB port utility: zadig.akeo.ie/
Timeline:
0:00 - Introduction
0:45 - Why do we need hardware debugging?
3:35 - The ESP-PROG hardware debugging board
5:12 - The PlatformIO development and debugging environment
8:27 - USB Setup
11:193 - ESP-PROG Setup
15:52 - PlatformIO Setup
23:57 - Flashing new firmware
26:05 - No Serial.println() output via the ESP-PROG board
26:48 - Good Serial.println() output via a second USB cable
27:43 - Hardware debugging!