OpenOCD Log output

Add this to your openocd commands Using -d3 gives you a full verbose output The output log is written to the file openocd_log.txt in: C:\Espressif\frameworks\esp-idf-vX.X.X

Read More

.4 Debugging with VS Code

ESP-Prog programmer / debugger For details on installing see here. Installing debugger VS Code has a built-in debugger, its setup documentation is here. Apparently some people use it successfully for Espressif chips (launch.json “type”: “gdb”). Espressif have a dedicated VS Code extension for debugging which is likely the better choice (launch.json “type”: “espidf”) and that’s […]

Read More

Help and Community

ESP32 Forum – Seems really hard getting any actually support on this for anything tricky, we get nothing unless we email Espressif a link to our post that has sat there unanswered for days and ask if someone can respond to it. GitHub – We’ve found that raising issues with esp-idf on GitHub gets a […]

Read More

UART Pins

UART0 The ESP32 can be programmed via its UART pins. However it doesn’t have to be if you want to use them for something else. It is also possible to program it using the JTAG interface pins. Pin assignment (other than UART0) UART signals can be connected via IOMUX for specific GPIO or otherwise the […]

Read More

Using Visual Studio

Resources The official documentation Keyboard Shortcuts Command Pallet (run command box) CTRL+SHIFT+P   (Menu > View > Command Palette) Build Project CTRL+E then B   (ESP-IDF: Build your project)

Read More

.3 Creating a new project

Resources https://github.com/espressif/vscode-esp-idf-extension/blob/master/docs/tutorial/basic_use.md NOTE: The esp-idf build system does not support spaces in paths to projects Create an example project in Visual Studio Code Menu > View > Command Palette (CTRL+SHIFT+P) > Type: ESP-IDF: Show Examples Projects (If it doesn’t come up, make sure VS Code isn’t in restricted safe mode)Choose “Use current ESP-IDF (\path\to\esp-idf)”.All of […]

Read More

.1 Installing Visual Studio Code

Installing You don’t have to have installed EDP-IDF first, the VS plugin is very good and can do it all for you. Install Visual Studio Code Install Python Install ESP-IDF Visual Studio Code Extension from: https://marketplace.visualstudio.com/items?itemName=espressif.esp-idf-extension Visual Studio Code > Menu > View > Command Palette (CTRL+SHIFT+P) > type: configure esp-idf extensionChoose the ESP-IDF: Configure ESP-IDF […]

Read More

Eclipse Issues

Build Errors The following Python requirements are not satisfied: Shown in the output windows, with another message like: To install the missing packages, please run “C:\Espressif\frameworks\esp-idf-v4.4.3\install.bat” Running the install.bat doesn’t resolve the issue or has errors. Is the version of Python you’ve installed (prequesit for Eclipse) quite new? You may need to remove it and […]

Read More

ESP-Prog programmer/debugger

ESP-PROG board the instructions Jumpers “IO0 ON/OFF” Linked (default) – Allow the ESP-Prog to set the IO0 line when programming via the serail interface. “Vprog” and “Vjtag” Removed (default) – The ESP-Prog will not provide a power output via its connection to your PCB3V3 – The ESP-Prog will output 3.3V via the power pin connection […]

Read More