![]() ![]() ![]() xtensa-esp32-elf-gdb requires shared library libpython2.7.so.1.0Įrror: Could not determine GDB version after sending: …/esp-2020r2-8.2. DebuggingĮxpressif has a great document on debugging within Eclipse: Potential Errorsīelow are some potential errors you may face with openocd and esp32-gdb. This will download your code over the JTAG link prior to establishing the debugging session. When started in debug mode, the script reads two environment variables, JPDATRANSPORT and JPDA. Change localhost to the hostname of the machine running the Hybris app in debug mode. # Please keep this list sorted by VID:PIDĪTTRS 0x10000 verify Launch Eclipse and go to Run -> Debug Configurations Right-click on Remote Java Application and select New Choose a name and select the Hybris code project. SUBSYSTEM!="usb|tty|hidraw", GOTO="openocd_rules_end" To prevent this occurring, create the file /etc/udev/rules.d/les and add the following contents: # Copy this file to /etc/udev/rules.d/ĪCTION!="add|change", GOTO="openocd_rules_end" Running OpenOCD as a normal user will probably result with the following error message: Error: libusb_open() failed with LIBUSB_ERROR_ACCESS It also assumes you are using an FTDI based JTAG interface such as the Espressif ESP-Prog. If not, please visit Getting started with the Espressif esp-idf & Eclipse IDE This tutorial assumes you have Eclipse and the esp-idf set-up on Ubuntu 20.04.01 LTS. Enable the Eclipse reverse debugging buttons as explained in First steps Open Debug configurations Choose C/C++ Application from the left hand side. Debugging allows single stepping through your code, adding breakpoints and examining the contents of registers.īesides the rich debugging, programming over JTAG can also speed up development as the JTAG interface can be as fast as 20MHz as opposed to the serial download at a typical 460,800 bps. In addition to the UART Bootloader, the ESP32 can also be programmed and debugged via the JTAG interface. Developing ESP32 code by iteratively downloading code to your target via esptool can become laborious for anything but the smallest of projects. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |