ESP32: JTAG debugging with OpenOCD and a logic probe
Stop guessing why the firmware crashes. Set breakpoints, step through code, inspect registers, with JTAG + OpenOCD + GDB. The right tool when print debugging fails.
Tag
4 tutorials
Stop guessing why the firmware crashes. Set breakpoints, step through code, inspect registers, with JTAG + OpenOCD + GDB. The right tool when print debugging fails.
When the Serial.print tells you nothing, the I2C bus tells you everything. Pick a $10 clone or a $400 Saleae, install Sigrok and PulseView, decode I2C/SPI/UART.
Read a scope like you read a multimeter. Volts per div, time per div, AC vs DC coupling, what bandwidth actually buys you, and how to measure PWM duty cycle.
The BOOT button on most ESP32 boards is not a reset button. It puts the chip in download mode. Here is what that means and why you keep needing it.