{"id":10219,"date":"2019-10-16T13:52:39","date_gmt":"2019-10-16T13:52:39","guid":{"rendered":"http:\/\/blog.bachi.net\/?p=10219"},"modified":"2020-04-05T12:27:46","modified_gmt":"2020-04-05T12:27:46","slug":"esp-prog-programming-header","status":"publish","type":"post","link":"https:\/\/blog.bachi.net\/?p=10219","title":{"rendered":"ESP32 ESP-Prog Programming Header"},"content":{"rendered":"<h3>Espressif<\/h3>\n<p><a href=\"https:\/\/github.com\/espressif\/esp-iot-solution\/blob\/master\/documents\/evaluation_boards\/ESP-Prog_guide_en.md\">github.com\/espressif\/esp-iot-solution\/blob\/master\/documents\/evaluation_boards\/ESP-Prog_guide_en.md<\/a>, Introduction to the ESP-Prog Board<\/p>\n<h3>platformio<\/h3>\n<p><a href=\"https:\/\/docs.platformio.org\/en\/latest\/plus\/debug-tools\/esp-prog.html\">ESP-Prog<\/a><br \/>\n<a href=\"https:\/\/docs.platformio.org\/en\/latest\/projectconf\/section_env_upload.html\">Upload options<\/a><\/p>\n<pre class=\"brush: plain; title: platformio.ini; notranslate\" title=\"platformio.ini\">\r\n&#x5B;env:lolin32]\r\nplatform = espressif32\r\nboard = lolin32\r\nframework = arduino\r\ndebug_tool = esp-prog\r\n#upload_protocol = esp-prog\r\nupload_port = COM11\r\ndebug_init_break = tbreak setup\r\n<\/pre>\n<h3>Zadig<\/h3>\n<p><a href=\"https:\/\/zadig.akeo.ie\/\">Zadig<\/a>, USB driver installation made easy<br \/>\n<a href=\"https:\/\/github.com\/pbatard\/libwdi\/wiki\/FAQ#Help_Zadig_replaced_the_driver_for_the_wrong_device_How_do_I_restore_it\">Zadig FAQ<\/a><\/p>\n<h3>ESP32 Forum<\/h3>\n<p><a href=\"https:\/\/www.esp32.com\/viewtopic.php?t=12222\">ESP32-WROOM-32D and ESP-PROG<\/a><br \/>\n<a href=\"https:\/\/www.esp32.com\/viewtopic.php?f=12&#038;t=11916&#038;p=47912#p47912\">ESP-PROG pin headers<\/a><\/p>\n<h3>SuperHouse<\/h3>\n<p><a href=\"https:\/\/www.superhouse.tv\/vlog-66-lets-define-a-standard-esp8266-esp32-programming-header\/\">Vlog #66: Let\u2019s define a standard ESP8266\/ESP32 programming header<\/a><br \/>\n<a href=\"https:\/\/www.superhouse.tv\/esp-prog\/\">ESP-Prog: Programming header format for ESP8266, ESP8285, and ESP32<\/a><br \/>\n<a href=\"https:\/\/github.com\/SuperHouse\/ESPROG\">github.com\/SuperHouse\/ESPROG<\/a><\/p>\n<h3>wesp32<\/h3>\n<p><a href=\"https:\/\/wesp32.com\/wesp32-prog\/\">wESP32-Prog submodule<\/a><\/p>\n<h4>Not Working<\/h4>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nUploading .pio\\build\\lolin32\\firmware.bin\r\nOpen On-Chip Debugger  v0.10.0-esp32-20190708 (2019-07-08-11:04)\r\nLicensed under GNU GPL v2\r\nFor bug reports, read\r\n        http:\/\/openocd.org\/doc\/doxygen\/bugs.html\r\ndebug_level: 1\r\nnone separate\r\nadapter speed: 20000 kHz\r\nesp32 interrupt mask on\r\nError: libusb_open() failed with LIBUSB_ERROR_NOT_SUPPORTED\r\nError: libusb_open() failed with LIBUSB_ERROR_NOT_FOUND\r\nError: no device found\r\nError: unable to open ftdi device with vid 0403, pid 6010, description '*', serial '*' at bus location '*'\r\n** OpenOCD init failed **\r\nshutdown command invoked\r\n\r\nWarn : Flash driver of esp32.flash does not support free_driver_priv()\r\nWarn : Flash driver of irom does not support free_driver_priv()\r\nWarn : Flash driver of drom does not support free_driver_priv()\r\n*** &#x5B;upload] Error 1\r\n==== &#x5B;FAILED] Took 1.87 seconds ===\r\n<\/pre>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nCURRENT: upload_protocol = esp-prog\r\nUploading .pio\\build\\lolin32\\firmware.bin\r\nOpen On-Chip Debugger  v0.10.0-esp32-20190708 (2019-07-08-11:04)\r\nLicensed under GNU GPL v2\r\nFor bug reports, read\r\n        http:\/\/openocd.org\/doc\/doxygen\/bugs.html\r\ndebug_level: 1\r\nnone separate\r\nadapter speed: 20000 kHz\r\nesp32 interrupt mask on\r\nError: libusb_open() failed with LIBUSB_ERROR_NOT_SUPPORTED\r\nError: JTAG scan chain interrogation failed: all zeroes\r\nError: Check JTAG interface, timings, target power, etc.\r\nError: Trying to use configured scan chain anyway...\r\nError: esp32.cpu0: IR capture error; saw 0x00 not 0x01\r\nWarn : Bypassing JTAG setup events due to errors\r\nError: JTAG scan chain interrogation failed: all zeroes\r\nError: Check JTAG interface, timings, target power, etc.\r\nError: Trying to use configured scan chain anyway...\r\nError: esp32.cpu0: IR capture error; saw 0x00 not 0x01\r\nWarn : Bypassing JTAG setup events due to errors\r\n*** &#x5B;upload] Error 253\r\n==== &#x5B;FAILED] Took 3.48 seconds ===\r\n<\/pre>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nReading symbols from c:\\Users\\andreas\\Documents\\github\\PlatformIO\\Projects\\lolin32-arduino-blinky-pcb\\.pio\\build\\lolin32\\firmware.elf...\r\ndone.\r\nPlatformIO Unified Debugger -&gt; http:\/\/bit.ly\/pio-debug\r\nPlatformIO: debug_tool = esp-prog\r\nPlatformIO: Initializing remote target...\r\nOpen On-Chip Debugger  v0.10.0-esp32-20190708 (2019-07-08-11:04)\r\nLicensed under GNU GPL v2\r\nFor bug reports, read\r\n\thttp:\/\/openocd.org\/doc\/doxygen\/bugs.html\r\nnone separate\r\nadapter speed: 20000 kHz\r\nInfo : Configured 2 cores\r\nesp32 interrupt mask on\r\nInfo : tcl server disabled\r\nInfo : telnet server disabled\r\nError: libusb_open() failed with LIBUSB_ERROR_NOT_SUPPORTED\r\nError: libusb_claim_interface() failed with LIBUSB_ERROR_NOT_SUPPORTED\r\nError: unable to open ftdi device with vid 0403, pid 6010, description '*', serial '*' at bus location '*'\r\n\r\nWarn : Flash driver of esp32.flash does not support free_driver_priv()\r\nWarn : Flash driver of irom does not support free_driver_priv()\r\nWarn : Flash driver of drom does not support free_driver_priv()\r\n.pioinit:15: Error in sourced command file:\r\nRemote communication error.  Target disconnected.: No error.\r\n<\/pre>\n<h4>Working<\/h4>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nProcessing lolin32 (platform: espressif32; board: lolin32; framework: arduino)\r\n--------------------------------------------------------------------------------\r\nVerbose mode can be enabled via `-v, --verbose` option\r\nCONFIGURATION: https:\/\/docs.platformio.org\/page\/boards\/espressif32\/lolin32.html\r\nPLATFORM: Espressif 32 1.11.1 &gt; WEMOS LOLIN32\r\nHARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash\r\nDEBUG: Current (esp-prog) External (esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)\r\nPACKAGES:\r\n - framework-arduinoespressif32 2.10004.191002 (1.0.4)\r\n - tool-esptoolpy 1.20600.0 (2.6.0)\r\n - toolchain-xtensa32 2.50200.80 (5.2.0)\r\nLDF: Library Dependency Finder -&gt; http:\/\/bit.ly\/configure-pio-ldf\r\nLDF Modes: Finder ~ chain, Compatibility ~ soft\r\nFound 26 compatible libraries\r\nScanning dependencies...\r\nNo dependencies\r\nBuilding in debug mode\r\nRetrieving maximum program size .pio\\build\\lolin32\\firmware.elf\r\nChecking size .pio\\build\\lolin32\\firmware.elf\r\nAdvanced Memory Usage is available via &quot;PlatformIO Home &gt; Project Inspect&quot;\r\nRAM:   &#x5B;          ]   4.7% (used 15444 bytes from 327680 bytes)\r\nFlash: &#x5B;==        ]  16.5% (used 216777 bytes from 1310720 bytes)\r\n========================= &#x5B;SUCCESS] Took 1.59 seconds =========================\r\nReading symbols from c:\\Users\\andreas\\Documents\\github\\PlatformIO\\Projects\\lolin32-arduino-blinky-pcb\\.pio\\build\\lolin32\\firmware.elf...\r\ndone.\r\nPlatformIO Unified Debugger -&gt; http:\/\/bit.ly\/pio-debug\r\nPlatformIO: debug_tool = esp-prog\r\nPlatformIO: Initializing remote target...\r\nOpen On-Chip Debugger  v0.10.0-esp32-20190708 (2019-07-08-11:04)\r\nLicensed under GNU GPL v2\r\nFor bug reports, read\r\n\thttp:\/\/openocd.org\/doc\/doxygen\/bugs.html\r\nnone separate\r\nadapter speed: 20000 kHz\r\nInfo : Configured 2 cores\r\nesp32 interrupt mask on\r\nInfo : tcl server disabled\r\nInfo : telnet server disabled\r\nError: libusb_open() failed with LIBUSB_ERROR_NOT_SUPPORTED\r\nInfo : ftdi: if you experience problems at higher adapter clocks, try the command &quot;ftdi_tdo_sample_edge falling&quot;\r\nInfo : clock speed 20000 kHz\r\nInfo : JTAG tap: esp32.cpu0 tap\/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)\r\nInfo : JTAG tap: esp32.cpu1 tap\/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)\r\nInfo : esp32: Debug controller 0 was reset (pwrstat=0x5F, after clear 0x0F).\r\nInfo : esp32: Core 0 was reset (pwrstat=0x5F, after clear 0x0F).\r\nInfo : esp32: Debug controller 1 was reset (pwrstat=0x5F, after clear 0x0F).\r\nInfo : esp32: Core 1 was reset (pwrstat=0x5F, after clear 0x0F).\r\nInfo : Detected debug stubs @ 3ffc0cac on core0 of target 'esp32'\r\nInfo : accepting 'gdb' connection from pipe\r\nError: No symbols for FreeRTOS\r\nInfo : Target halted. PRO_CPU: PC=0x400E910A (active)    APP_CPU: PC=0x400E910A\r\nInfo : Target halted. PRO_CPU: PC=0x400916EE (active)    APP_CPU: PC=0x400E910A\r\nInfo : Flash mapping 0: 0x10020 -&gt; 0x3f400020, 45 KB\r\nInfo : Flash mapping 1: 0x20018 -&gt; 0x400d0018, 100 KB\r\nInfo : Target halted. PRO_CPU: PC=0x400916EE (active)    APP_CPU: PC=0x400E910A\r\nInfo : Auto-detected flash size 4096 KB\r\nInfo : Using flash size 4096 KB\r\nInfo : Target halted. PRO_CPU: PC=0x400916EE (active)    APP_CPU: PC=0x400E910A\r\nInfo : Flash mapping 0: 0x10020 -&gt; 0x3f400020, 45 KB\r\nInfo : Flash mapping 1: 0x20018 -&gt; 0x400d0018, 100 KB\r\nInfo : Using flash size 104 KB\r\nInfo : Target halted. PRO_CPU: PC=0x400916EE (active)    APP_CPU: PC=0x400E910A\r\nInfo : Flash mapping 0: 0x10020 -&gt; 0x3f400020, 45 KB\r\nInfo : Flash mapping 1: 0x20018 -&gt; 0x400d0018, 100 KB\r\nInfo : Using flash size 48 KB\r\n0x400e910a in String::setLen (this=0x0, len=&lt;optimized out&gt;) at C:\\Users\\andreas\\.platformio\\packages\\framework-arduinoespressif32\\cores\\esp32\/WString.h:277\r\n277\t        inline void setLen(int len) { if (isSSO()) sso.len = len; else ptr.len = len; }\r\nTemporary breakpoint 1 at 0x400d0bfc: file src\\main.cpp, line 6.\r\nInfo : JTAG tap: esp32.cpu0 tap\/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)\r\nInfo : JTAG tap: esp32.cpu1 tap\/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)\r\nJTAG tap: esp32.cpu0 tap\/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)\r\nJTAG tap: esp32.cpu1 tap\/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)\r\nInfo : esp32: Debug controller 0 was reset (pwrstat=0x5F, after clear 0x0F).\r\nInfo : esp32: Core 0 was reset (pwrstat=0x5F, after clear 0x0F).\r\nesp32: Debug controller 0 was reset (pwrstat=0x5F, after clear 0x0F).\r\nesp32: Core 0 was reset (pwrstat=0x5F, after clear 0x0F).\r\nInfo : Target halted. PRO_CPU: PC=0x5000004B (active)    APP_CPU: PC=0x00000000\r\nInfo : esp32: Core 0 was reset (pwrstat=0x1F, after clear 0x0F).\r\nInfo : esp32: Debug controller 1 was reset (pwrstat=0x5F, after clear 0x0F).\r\nInfo : esp32: Core 1 was reset (pwrstat=0x5F, after clear 0x0F).\r\nTarget halted. PRO_CPU: PC=0x5000004B (active)    APP_CPU: PC=0x00000000\r\nesp32: Core 0 was reset (pwrstat=0x1F, after clear 0x0F).\r\nesp32: Debug controller 1 was reset (pwrstat=0x5F, after clear 0x0F).\r\nesp32: Core 1 was reset (pwrstat=0x5F, after clear 0x0F).\r\nInfo : Target halted. PRO_CPU: PC=0x40000400 (active)    APP_CPU: PC=0x40000400\r\n** Programming Started **\r\nauto erase enabled\r\nTarget halted. PRO_CPU: PC=0x40000400 (active)    APP_CPU: PC=0x40000400\r\n** Programming Started **\r\nauto erase enabled\r\nInfo : Target halted. PRO_CPU: PC=0x400916EE (active)    APP_CPU: PC=0x40000400\r\nTarget halted. PRO_CPU: PC=0x400916EE (active)    APP_CPU: PC=0x40000400\r\nInfo : Target halted. PRO_CPU: PC=0x400916EE (active)    APP_CPU: PC=0x40000400\r\nTarget halted. PRO_CPU: PC=0x400916EE (active)    APP_CPU: PC=0x40000400\r\nwrote 16384 bytes from file C:\/Users\/andreas\/.platformio\/packages\/framework-arduinoespressif32\/tools\/sdk\/bin\/bootloader_dio_40m.bin in 0.751528s (21.290 KiB\/s)\r\nwrote 16384 bytes from file C:\/Users\/andreas\/.platformio\/packages\/framework-arduinoespressif32\/tools\/sdk\/bin\/bootloader_dio_40m.bin in 0.751528s (21.290 KiB\/s)\r\n** Programming Finished **\r\n** Verify Started **\r\n** Programming Finished **\r\n** Verify Started **\r\nInfo : Target halted. PRO_CPU: PC=0x400916EE (active)    APP_CPU: PC=0x40000400\r\nTarget halted. PRO_CPU: PC=0x400916EE (active)    APP_CPU: PC=0x40000400\r\nread 15872 bytes from file C:\/Users\/andreas\/.platformio\/packages\/framework-arduinoespressif32\/tools\/sdk\/bin\/bootloader_dio_40m.bin and flash bank 0 at offset 0x00001000 in 0.310407s (49.934 KiB\/s)\r\ncontents match\r\nread 15872 bytes from file C:\/Users\/andreas\/.platformio\/packages\/framework-arduinoespressif32\/tools\/sdk\/bin\/bootloader_dio_40m.bin and flash bank 0 at offset 0x00001000 in 0.310407s (49.934 KiB\/s)\r\ncontents match\r\n** Verified OK **\r\n** Verified OK **\r\nInfo : JTAG tap: esp32.cpu0 tap\/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)\r\nInfo : JTAG tap: esp32.cpu1 tap\/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)\r\nJTAG tap: esp32.cpu0 tap\/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)\r\nJTAG tap: esp32.cpu1 tap\/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)\r\nInfo : esp32: Debug controller 0 was reset (pwrstat=0x5F, after clear 0x0F).\r\nInfo : esp32: Core 0 was reset (pwrstat=0x5F, after clear 0x0F).\r\nesp32: Debug controller 0 was reset (pwrstat=0x5F, after clear 0x0F).\r\nesp32: Core 0 was reset (pwrstat=0x5F, after clear 0x0F).\r\nInfo : Target halted. PRO_CPU: PC=0x5000004B (active)    APP_CPU: PC=0x00000000\r\nTarget halted. PRO_CPU: PC=0x5000004B (active)    APP_CPU: PC=0x00000000\r\nInfo : esp32: Core 0 was reset (pwrstat=0x1F, after clear 0x0F).\r\nInfo : esp32: Debug controller 1 was reset (pwrstat=0x5F, after clear 0x0F).\r\nInfo : esp32: Core 1 was reset (pwrstat=0x5F, after clear 0x0F).\r\nesp32: Core 0 was reset (pwrstat=0x1F, after clear 0x0F).\r\nesp32: Debug controller 1 was reset (pwrstat=0x5F, after clear 0x0F).\r\nesp32: Core 1 was reset (pwrstat=0x5F, after clear 0x0F).\r\nInfo : Target halted. PRO_CPU: PC=0x40000400 (active)    APP_CPU: PC=0x40000400\r\n** Programming Started **\r\nTarget halted. PRO_CPU: PC=0x40000400 (active)    APP_CPU: PC=0x40000400\r\n** Programming Started **\r\nauto erase enabled\r\nauto erase enabled\r\nInfo : Target halted. PRO_CPU: PC=0x400916EE (active)    APP_CPU: PC=0x40000400\r\nTarget halted. PRO_CPU: PC=0x400916EE (active)    APP_CPU: PC=0x40000400\r\nInfo : Target halted. PRO_CPU: PC=0x400916EE (active)    APP_CPU: PC=0x40000400\r\nTarget halted. PRO_CPU: PC=0x400916EE (active)    APP_CPU: PC=0x40000400\r\nwrote 4096 bytes from file c:\/Users\/andreas\/Documents\/github\/PlatformIO\/Projects\/lolin32-arduino-blinky-pcb\/.pio\/build\/lolin32\/partitions.bin in 0.575346s (6.952 KiB\/s)\r\nwrote 4096 bytes from file c:\/Users\/andreas\/Documents\/github\/PlatformIO\/Projects\/lolin32-arduino-blinky-pcb\/.pio\/build\/lolin32\/partitions.bin in 0.575346s (6.952 KiB\/s)\r\n** Programming Finished **\r\n** Verify Started **\r\n** Programming Finished **\r\n** Verify Started **\r\nInfo : Target halted. PRO_CPU: PC=0x400916EE (active)    APP_CPU: PC=0x40000400\r\nTarget halted. PRO_CPU: PC=0x400916EE (active)    APP_CPU: PC=0x40000400\r\nread 3072 bytes from file c:\/Users\/andreas\/Documents\/github\/PlatformIO\/Projects\/lolin32-arduino-blinky-pcb\/.pio\/build\/lolin32\/partitions.bin and flash bank 0 at offset 0x00008000 in 0.280529s (10.694 KiB\/s)\r\ncontents match\r\nread 3072 bytes from file c:\/Users\/andreas\/Documents\/github\/PlatformIO\/Projects\/lolin32-arduino-blinky-pcb\/.pio\/build\/lolin32\/partitions.bin and flash bank 0 at offset 0x00008000 in 0.280529s (10.694 KiB\/s)\r\ncontents match\r\n** Verified OK **\r\n** Verified OK **\r\nInfo : JTAG tap: esp32.cpu0 tap\/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)\r\nInfo : JTAG tap: esp32.cpu1 tap\/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)\r\nJTAG tap: esp32.cpu0 tap\/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)\r\nJTAG tap: esp32.cpu1 tap\/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)\r\nInfo : esp32: Debug controller 0 was reset (pwrstat=0x5F, after clear 0x0F).\r\nInfo : esp32: Core 0 was reset (pwrstat=0x5F, after clear 0x0F).\r\nesp32: Debug controller 0 was reset (pwrstat=0x5F, after clear 0x0F).\r\nesp32: Core 0 was reset (pwrstat=0x5F, after clear 0x0F).\r\nInfo : Target halted. PRO_CPU: PC=0x5000004B (active)    APP_CPU: PC=0x00000000\r\nInfo : esp32: Core 0 was reset (pwrstat=0x1F, after clear 0x0F).\r\nInfo : esp32: Debug controller 1 was reset (pwrstat=0x5F, after clear 0x0F).\r\nInfo : esp32: Core 1 was reset (pwrstat=0x5F, after clear 0x0F).\r\nTarget halted. PRO_CPU: PC=0x5000004B (active)    APP_CPU: PC=0x00000000\r\nesp32: Core 0 was reset (pwrstat=0x1F, after clear 0x0F).\r\nesp32: Debug controller 1 was reset (pwrstat=0x5F, after clear 0x0F).\r\nesp32: Core 1 was reset (pwrstat=0x5F, after clear 0x0F).\r\nInfo : Target halted. PRO_CPU: PC=0x40000400 (active)    APP_CPU: PC=0x40000400\r\n** Programming Started **\r\nauto erase enabled\r\nTarget halted. PRO_CPU: PC=0x40000400 (active)    APP_CPU: PC=0x40000400\r\n** Programming Started **\r\nauto erase enabled\r\nInfo : Target halted. PRO_CPU: PC=0x400916EE (active)    APP_CPU: PC=0x40000400\r\nTarget halted. PRO_CPU: PC=0x400916EE (active)    APP_CPU: PC=0x40000400\r\nInfo : Target halted. PRO_CPU: PC=0x400916EE (active)    APP_CPU: PC=0x40000400\r\nTarget halted. PRO_CPU: PC=0x400916EE (active)    APP_CPU: PC=0x40000400\r\nwrote 8192 bytes from file C:\/Users\/andreas\/.platformio\/packages\/framework-arduinoespressif32\/tools\/partitions\/boot_app0.bin in 0.594859s (13.449 KiB\/s)\r\nwrote 8192 bytes from file C:\/Users\/andreas\/.platformio\/packages\/framework-arduinoespressif32\/tools\/partitions\/boot_app0.bin in 0.594859s (13.449 KiB\/s)\r\n** Programming Finished **\r\n** Verify Started **\r\n** Programming Finished **\r\n** Verify Started **\r\nInfo : Target halted. PRO_CPU: PC=0x400916EE (active)    APP_CPU: PC=0x40000400\r\nTarget halted. PRO_CPU: PC=0x400916EE (active)    APP_CPU: PC=0x40000400\r\nread 8192 bytes from file C:\/Users\/andreas\/.platformio\/packages\/framework-arduinoespressif32\/tools\/partitions\/boot_app0.bin and flash bank 0 at offset 0x0000e000 in 0.278502s (28.725 KiB\/s)\r\ncontents match\r\nread 8192 bytes from file C:\/Users\/andreas\/.platformio\/packages\/framework-arduinoespressif32\/tools\/partitions\/boot_app0.bin and flash bank 0 at offset 0x0000e000 in 0.278502s (28.725 KiB\/s)\r\ncontents match\r\n** Verified OK **\r\n** Verified OK **\r\nInfo : JTAG tap: esp32.cpu0 tap\/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)\r\nInfo : JTAG tap: esp32.cpu1 tap\/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)\r\nJTAG tap: esp32.cpu0 tap\/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)\r\nJTAG tap: esp32.cpu1 tap\/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)\r\nInfo : esp32: Debug controller 0 was reset (pwrstat=0x5F, after clear 0x0F).\r\nInfo : esp32: Core 0 was reset (pwrstat=0x5F, after clear 0x0F).\r\nesp32: Debug controller 0 was reset (pwrstat=0x5F, after clear 0x0F).\r\nesp32: Core 0 was reset (pwrstat=0x5F, after clear 0x0F).\r\nInfo : Target halted. PRO_CPU: PC=0x5000004B (active)    APP_CPU: PC=0x00000000\r\nInfo : esp32: Core 0 was reset (pwrstat=0x1F, after clear 0x0F).\r\nInfo : esp32: Debug controller 1 was reset (pwrstat=0x5F, after clear 0x0F).\r\nInfo : esp32: Core 1 was reset (pwrstat=0x5F, after clear 0x0F).\r\nTarget halted. PRO_CPU: PC=0x5000004B (active)    APP_CPU: PC=0x00000000\r\nesp32: Core 0 was reset (pwrstat=0x1F, after clear 0x0F).\r\nesp32: Debug controller 1 was reset (pwrstat=0x5F, after clear 0x0F).\r\nesp32: Core 1 was reset (pwrstat=0x5F, after clear 0x0F).\r\nInfo : Target halted. PRO_CPU: PC=0x40000400 (active)    APP_CPU: PC=0x40000400\r\n** Programming Started **\r\nauto erase enabled\r\nTarget halted. PRO_CPU: PC=0x40000400 (active)    APP_CPU: PC=0x40000400\r\n** Programming Started **\r\nauto erase enabled\r\nInfo : Target halted. PRO_CPU: PC=0x400916EE (active)    APP_CPU: PC=0x40000400\r\nTarget halted. PRO_CPU: PC=0x400916EE (active)    APP_CPU: PC=0x40000400\r\nInfo : Target halted. PRO_CPU: PC=0x400916EE (active)    APP_CPU: PC=0x40000400\r\nTarget halted. PRO_CPU: PC=0x400916EE (active)    APP_CPU: PC=0x40000400\r\nwrote 217088 bytes from file c:\/Users\/andreas\/Documents\/github\/PlatformIO\/Projects\/lolin32-arduino-blinky-pcb\/.pio\/build\/lolin32\/firmware.bin in 2.130688s (99.498 KiB\/s)\r\nwrote 217088 bytes from file c:\/Users\/andreas\/Documents\/github\/PlatformIO\/Projects\/lolin32-arduino-blinky-pcb\/.pio\/build\/lolin32\/firmware.bin in 2.130688s (99.498 KiB\/s)\r\n** Programming Finished **\r\n** Verify Started **\r\n** Programming Finished **\r\n** Verify Started **\r\nInfo : Target halted. PRO_CPU: PC=0x400916EE (active)    APP_CPU: PC=0x40000400\r\nTarget halted. PRO_CPU: PC=0x400916EE (active)    APP_CPU: PC=0x40000400\r\nread 216896 bytes from file c:\/Users\/andreas\/Documents\/github\/PlatformIO\/Projects\/lolin32-arduino-blinky-pcb\/.pio\/build\/lolin32\/firmware.bin and flash bank 0 at offset 0x00010000 in 0.945353s (224.057 KiB\/s)\r\ncontents match\r\nread 216896 bytes from file c:\/Users\/andreas\/Documents\/github\/PlatformIO\/Projects\/lolin32-arduino-blinky-pcb\/.pio\/build\/lolin32\/firmware.bin and flash bank 0 at offset 0x00010000 in 0.945353s (224.057 KiB\/s)\r\ncontents match\r\n** Verified OK **\r\n** Verified OK **\r\nInfo : JTAG tap: esp32.cpu0 tap\/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)\r\nInfo : JTAG tap: esp32.cpu1 tap\/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)\r\nJTAG tap: esp32.cpu0 tap\/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)\r\nJTAG tap: esp32.cpu1 tap\/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)\r\nInfo : esp32: Debug controller 0 was reset (pwrstat=0x5F, after clear 0x0F).\r\nInfo : esp32: Core 0 was reset (pwrstat=0x5F, after clear 0x0F).\r\nesp32: Debug controller 0 was reset (pwrstat=0x5F, after clear 0x0F).\r\nesp32: Core 0 was reset (pwrstat=0x5F, after clear 0x0F).\r\nInfo : Target halted. PRO_CPU: PC=0x5000004B (active)    APP_CPU: PC=0x00000000\r\nTarget halted. PRO_CPU: PC=0x5000004B (active)    APP_CPU: PC=0x00000000\r\nInfo : esp32: Core 0 was reset (pwrstat=0x1F, after clear 0x0F).\r\nInfo : esp32: Debug controller 1 was reset (pwrstat=0x5F, after clear 0x0F).\r\nInfo : esp32: Core 1 was reset (pwrstat=0x5F, after clear 0x0F).\r\nesp32: Core 0 was reset (pwrstat=0x1F, after clear 0x0F).\r\nesp32: Debug controller 1 was reset (pwrstat=0x5F, after clear 0x0F).\r\nesp32: Core 1 was reset (pwrstat=0x5F, after clear 0x0F).\r\nInfo : Target halted. PRO_CPU: PC=0x40000400 (active)    APP_CPU: PC=0x40000400\r\nTarget halted. PRO_CPU: PC=0x40000400 (active)    APP_CPU: PC=0x40000400\r\nPlatformIO: Initialization completed\r\nPlatformIO: Resume the execution to `debug_init_break = tbreak setup`\r\nPlatformIO: More configuration options -&gt; http:\/\/bit.ly\/pio-debug\r\nNote: automatically using hardware breakpoints for read-only addresses.\r\nInfo : Target halted. PRO_CPU: PC=0x4000C782             APP_CPU: PC=0x400D0BFC (active)\r\nTarget halted. PRO_CPU: PC=0x4000C782             APP_CPU: PC=0x400D0BFC (active)\r\nInfo : Detected debug stubs @ 3ffc0cac on core0 of target 'esp32'\r\n&#x5B;New Thread 1073464940]\r\n&#x5B;New Thread 1073463528]\r\n&#x5B;New Thread 1073467632]\r\n&#x5B;New Thread 1073455716]\r\n&#x5B;New Thread 1073445320]\r\n&#x5B;New Thread 1073446424]\r\n&#x5B;Switching to Thread 1073447000]\r\n\r\nTemporary breakpoint\r\n1, setup () at src\\main.cpp:6\r\n6\t{\r\nInfo : Target halted. PRO_CPU: PC=0x400E914E             APP_CPU: PC=0x400D0C0B (active)\r\nTarget halted. PRO_CPU: PC=0x400E914E             APP_CPU: PC=0x400D0C0B (active)\r\nInfo : Target halted. PRO_CPU: PC=0x400E914E             APP_CPU: PC=0x400D0C24 (active)\r\nTarget halted. PRO_CPU: PC=0x400E914E             APP_CPU: PC=0x400D0C24 (active)\r\nInfo : Target halted. PRO_CPU: PC=0x400E914E             APP_CPU: PC=0x400D0C2B (active)\r\nTarget halted. PRO_CPU: PC=0x400E914E             APP_CPU: PC=0x400D0C2B (active)\r\n\r\nBreakpoint\r\n2, loop () at src\\main.cpp:13\r\n13\t    Serial.println(&quot;Hello, world!&quot;);\r\nInfo : Target halted. PRO_CPU: PC=0x400E914E             APP_CPU: PC=0x400D0C34 (active)\r\nTarget halted. PRO_CPU: PC=0x400E914E             APP_CPU: PC=0x400D0C34 (active)\r\nInfo : Target halted. PRO_CPU: PC=0x400E914E             APP_CPU: PC=0x400D0C40 (active)\r\nTarget halted. PRO_CPU: PC=0x400E914E             APP_CPU: PC=0x400D0C40 (active)\r\nInfo : Target halted. PRO_CPU: PC=0x400E914E             APP_CPU: PC=0x400D0C46 (active)\r\nTarget halted. PRO_CPU: PC=0x400E914E             APP_CPU: PC=0x400D0C46 (active)\r\nInfo : Target halted. PRO_CPU: PC=0x400E914E             APP_CPU: PC=0x400D0C4F (active)\r\nTarget halted. PRO_CPU: PC=0x400E914E             APP_CPU: PC=0x400D0C4F (active)\r\n\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Espressif github.com\/espressif\/esp-iot-solution\/blob\/master\/documents\/evaluation_boards\/ESP-Prog_guide_en.md, Introduction to the ESP-Prog Board platformio ESP-Prog Upload options &#x5B;env:lolin32] platform = espressif32 board = lolin32 framework = arduino debug_tool = esp-prog #upload_protocol = esp-prog upload_port = COM11 debug_init_break = tbreak setup Zadig Zadig, USB driver installation made easy Zadig FAQ ESP32 Forum ESP32-WROOM-32D and ESP-PROG ESP-PROG pin headers SuperHouse Vlog #66: Let\u2019s [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-10219","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/10219","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10219"}],"version-history":[{"count":12,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/10219\/revisions"}],"predecessor-version":[{"id":10852,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/10219\/revisions\/10852"}],"wp:attachment":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10219"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10219"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10219"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}