openocd: Open On-Chip Debugger v0.10.0-esp32-20190313 (2019-03-13-09:57) openocd: Licensed under GNU GPL v2 openocd: For bug reports, read openocd: http://openocd.org/doc/doxygen/bugs.html openocd: debug_level: 2 openocd: adapter speed: 2000 kHz openocd: Info : Configured 2 cores openocd: esp32 interrupt mask on =thread-group-added,id="i1" openocd: Error: libusb_open() failed with LIBUSB_ERROR_NOT_SUPPORTED GNU gdb (crosstool-NG crosstool-ng-1.22.0-80-g6c4433a5) 7.10 Copyright (C) 2015 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "--host=i686-host_pc-mingw32 --target=xtensa-esp32-elf". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word". =cmd-param-changed,param="pagination",value="off" openocd: Info : clock speed 2000 kHz openocd: Info : JTAG tap: esp32.cpu0 tap/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1) openocd: Info : JTAG tap: esp32.cpu1 tap/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1) openocd: Info : esp32: Debug controller 0 was reset (pwrstat=0x5F, after clear 0x0F). openocd: Info : esp32: Core 0 was reset (pwrstat=0x5F, after clear 0x0F). openocd: Info : Listening on port 3333 for gdb connections openocd: Info : JTAG tap: esp32.cpu0 tap/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1) openocd: Info : JTAG tap: esp32.cpu1 tap/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1) openocd: Info : Target halted. PRO_CPU: PC=0x40000400 (active) APP_CPU: PC=0x00000000 openocd: Info : esp32: Debug controller 0 was reset (pwrstat=0x5F, after clear 0x0F). openocd: Info : esp32: Core 0 was reset (pwrstat=0x5F, after clear 0x0F). openocd: Info : Target halted. PRO_CPU: PC=0x5000004B (active) APP_CPU: PC=0x00000000 openocd: Info : esp32: Core 0 was reset (pwrstat=0x1F, after clear 0x0F). openocd: Info : esp32: Debug controller 1 was reset (pwrstat=0x5F, after clear 0x0F). openocd: Info : esp32: Core 1 was reset (pwrstat=0x5F, after clear 0x0F). openocd: Info : Listening on port 6666 for tcl connections openocd: Info : Listening on port 4444 for telnet connections openocd: Info : accepting 'gdb' connection on tcp/3333 openocd: Info : Target halted. PRO_CPU: PC=0x40078616 (active) APP_CPU: PC=0x400076DD openocd: Info : Target halted. PRO_CPU: PC=0x4009171A (active) APP_CPU: PC=0x400076DD openocd: Info : Flash mapping 0: 0x10020 -> 0x3f400020, 145 KB openocd: Info : Flash mapping 1: 0x40018 -> 0x400d0018, 164 KB openocd: Info : Target halted. PRO_CPU: PC=0x4009171A (active) APP_CPU: PC=0x400076DD openocd: Info : Auto-detected flash size 4096 KB openocd: Info : Using flash size 4096 KB openocd: Info : Target halted. PRO_CPU: PC=0x4009171A (active) APP_CPU: PC=0x400076DD openocd: Info : Flash mapping 0: 0x10020 -> 0x3f400020, 145 KB openocd: Info : Flash mapping 1: 0x40018 -> 0x400d0018, 164 KB openocd: Info : Using flash size 168 KB openocd: Info : Target halted. PRO_CPU: PC=0x4009171A (active) APP_CPU: PC=0x400076DD openocd: Info : Flash mapping 0: 0x10020 -> 0x3f400020, 145 KB openocd: Info : Flash mapping 1: 0x40018 -> 0x400d0018, 164 KB openocd: Info : Using flash size 148 KB openocd: Warn : negative reply, retrying openocd: Warn : acknowledgment received, but no packet pending 0x40078616 in ?? () Loaded 'shared libraries loaded at this time.'. Cannot find or open the symbol file. openocd: Info : xtensa_poll: Target offline openocd: Error: xtensa_poll: Target failure openocd: Warn : target esp32 is not halted (gdb fileio) openocd: Polling target esp32 failed, trying to reexamine openocd: Examination failed, GDB will be halted. Polling again in 100ms @"xtensa_poll: Target offline\n" @"xtensa_poll: Target failure\n" openocd: Warn : xtensa_read_memory: esp32: target not halted [Remote target] #1 stopped. 0x40078616 in ?? () openocd: Warn : xtensa_read_memory: esp32: target not halted openocd: Warn : xtensa_read_memory: esp32: target not halted openocd: Warn : xtensa_read_memory: esp32: target not halted openocd: Warn : xtensa_read_memory: esp32: target not halted openocd: Warn : xtensa_read_memory: esp32: target not halted openocd: Warn : xtensa_read_memory: esp32: target not halted openocd: Warn : xtensa_read_memory: esp32: target not halted openocd: Warn : xtensa_read_memory: esp32: target not halted Signal 0 openocd: Error: xtensa_poll: Target failure openocd: Polling target esp32 failed, trying to reexamine openocd: Examination failed, GDB will be halted. Polling again in 300ms openocd: Error: xtensa_poll: Target failure openocd: Polling target esp32 failed, trying to reexamine openocd: Examination failed, GDB will be halted. Polling again in 700ms openocd: Error: xtensa_poll: Target failure openocd: Polling target esp32 failed, trying to reexamine openocd: Examination failed, GDB will be halted. Polling again in 1500ms openocd: Error: xtensa_poll: Target failure openocd: Polling target esp32 failed, trying to reexamine openocd: Examination failed, GDB will be halted. Polling again in 3100ms openocd: Error: xtensa_poll: Target failure openocd: Polling target esp32 failed, trying to reexamine openocd: Examination failed, GDB will be halted. Polling again in 6300ms openocd: Error: xtensa_poll: Target failure openocd: Polling target esp32 failed, trying to reexamine openocd: Examination failed, GDB will be halted. Polling again in 6300ms openocd: Error: xtensa_poll: Target failure openocd: Polling target esp32 failed, trying to reexamine openocd: Examination failed, GDB will be halted. Polling again in 6300ms openocd: Error: xtensa_poll: Target failure openocd: Polling target esp32 failed, trying to reexamine openocd: Examination failed, GDB will be halted. Polling again in 6300ms openocd: Error: xtensa_poll: Target failure openocd: Polling target esp32 failed, trying to reexamine openocd: Examination failed, GDB will be halted. Polling again in 6300ms openocd: Error: xtensa_poll: Target failure openocd: Polling target esp32 failed, trying to reexamine openocd: Examination failed, GDB will be halted. Polling again in 6300ms openocd: Error: xtensa_poll: Target failure openocd: Polling target esp32 failed, trying to reexamine openocd: Examination failed, GDB will be halted. Polling again in 6300ms openocd: Error: xtensa_poll: Target failure openocd: Polling target esp32 failed, trying to reexamine openocd: Examination failed, GDB will be halted. Polling again in 6300ms openocd: Error: xtensa_poll: Target failure openocd: Polling target esp32 failed, trying to reexamine openocd: Examination failed, GDB will be halted. Polling again in 6300ms openocd: Error: xtensa_poll: Target failure openocd: Polling target esp32 failed, trying to reexamine openocd: Examination failed, GDB will be halted. Polling again in 6300ms openocd: Error: xtensa_poll: Target failure openocd: Polling target esp32 failed, trying to reexamine openocd: Examination failed, GDB will be halted. Polling again in 6300ms openocd: Error: xtensa_poll: Target failure openocd: Polling target esp32 failed, trying to reexamine openocd: Examination failed, GDB will be halted. Polling again in 6300ms openocd: Error: xtensa_poll: Target failure openocd: Polling target esp32 failed, trying to reexamine openocd: Examination failed, GDB will be halted. Polling again in 6300ms openocd: Error: xtensa_poll: Target failure openocd: Polling target esp32 failed, trying to reexamine openocd: Examination failed, GDB will be halted. Polling again in 6300ms openocd: Error: xtensa_poll: Target failure openocd: Polling target esp32 failed, trying to reexamine openocd: Examination failed, GDB will be halted. Polling again in 6300ms openocd: Error: xtensa_poll: Target failure openocd: Polling target esp32 failed, trying to reexamine openocd: Examination failed, GDB will be halted. Polling again in 6300ms openocd: Error: xtensa_poll: Target failure openocd: Polling target esp32 failed, trying to reexamine openocd: Examination failed, GDB will be halted. Polling again in 6300ms openocd: Error: xtensa_poll: Target failure openocd: Polling target esp32 failed, trying to reexamine openocd: Examination failed, GDB will be halted. Polling again in 6300ms openocd: Error: xtensa_poll: Target failure openocd: Polling target esp32 failed, trying to reexamine openocd: Examination failed, GDB will be halted. Polling again in 6300ms openocd: Error: xtensa_poll: Target failure openocd: Polling target esp32 failed, trying to reexamine openocd: Examination failed, GDB will be halted. Polling again in 6300ms openocd: Error: xtensa_poll: Target failure openocd: Polling target esp32 failed, trying to reexamine openocd: Examination failed, GDB will be halted. Polling again in 6300ms openocd: Error: xtensa_poll: Target failure openocd: Polling target esp32 failed, trying to reexamine openocd: Examination failed, GDB will be halted. Polling again in 6300ms openocd: Error: xtensa_poll: Target failure openocd: Polling target esp32 failed, trying to reexamine openocd: Examination failed, GDB will be halted. Polling again in 6300ms openocd: Warn : xtensa_read_memory: esp32: target not halted openocd: Warn : xtensa_read_memory: esp32: target not halted openocd: Warn : xtensa_read_memory: esp32: target not halted openocd: Warn : xtensa_read_memory: esp32: target not halted openocd: Warn : xtensa_read_memory: esp32: target not halted openocd: Warn : xtensa_read_memory: esp32: target not halted openocd: Warn : xtensa_read_memory: esp32: target not halted openocd: Warn : xtensa_read_memory: esp32: target not halted openocd: Warn : xtensa_read_memory: esp32: target not halted openocd: Warn : xtensa_read_memory: esp32: target not halted openocd: Error: xtensa_poll: Target failure openocd: Polling target esp32 failed, trying to reexamine openocd: Examination failed, GDB will be halted. Polling again in 6300ms openocd: Error: xtensa_poll: Target failure openocd: Polling target esp32 failed, trying to reexamine openocd: Examination failed, GDB will be halted. Polling again in 6300ms openocd: Error: xtensa_poll: Target failure openocd: Polling target esp32 failed, trying to reexamine openocd: Examination failed, GDB will be halted. Polling again in 6300ms openocd: Error: xtensa_poll: Target failure openocd: Polling target esp32 failed, trying to reexamine openocd: Examination failed, GDB will be halted. Polling again in 6300ms openocd: Error: xtensa_poll: Target failure openocd: Polling target esp32 failed, trying to reexamine openocd: Examination failed, GDB will be halted. Polling again in 6300ms openocd: Error: xtensa_poll: Target failure openocd: Polling target esp32 failed, trying to reexamine openocd: Examination failed, GDB will be halted. Polling again in 6300ms openocd: Error: xtensa_poll: Target failure openocd: Polling target esp32 failed, trying to reexamine openocd: Examination failed, GDB will be halted. Polling again in 6300ms openocd: Error: xtensa_poll: Target failure openocd: Polling target esp32 failed, trying to reexamine openocd: Examination failed, GDB will be halted. Polling again in 6300ms openocd: Error: xtensa_poll: Target failure openocd: Polling target esp32 failed, trying to reexamine openocd: Examination failed, GDB will be halted. Polling again in 6300ms openocd: Error: xtensa_poll: Target failure openocd: Polling target esp32 failed, trying to reexamine openocd: Examination failed, GDB will be halted. Polling again in 6300ms openocd: Error: xtensa_poll: Target failure openocd: Polling target esp32 failed, trying to reexamine openocd: Examination failed, GDB will be halted. Polling again in 6300ms openocd: Info : esp32: Debug controller 0 was reset (pwrstat=0x5F, after clear 0x0F). openocd: Info : esp32: Core 0 was reset (pwrstat=0x5F, after clear 0x0F). openocd: Polling target esp32 failed, trying to reexamine openocd: Info : xtensa_poll: Target offline openocd: Error: xtensa_poll: Target failure openocd: Polling target esp32 failed, trying to reexamine openocd: Examination failed, GDB will be halted. Polling again in 100ms openocd: Info : esp32: Debug controller 0 was reset (pwrstat=0x5F, after clear 0x0F). openocd: Info : esp32: Core 0 was reset (pwrstat=0x5F, after clear 0x0F). openocd: Polling target esp32 failed, trying to reexamine openocd: Info : xtensa_poll: Target offline openocd: Error: xtensa_poll: Target failure openocd: Polling target esp32 failed, trying to reexamine openocd: Examination failed, GDB will be halted. Polling again in 100ms openocd: Error: xtensa_poll: Target failure openocd: Polling target esp32 failed, trying to reexamine openocd: Examination failed, GDB will be halted. Polling again in 300ms openocd: Error: xtensa_poll: Target failure openocd: Polling target esp32 failed, trying to reexamine openocd: Examination failed, GDB will be halted. Polling again in 700ms openocd: Error: xtensa_poll: Target failure openocd: Polling target esp32 failed, trying to reexamine openocd: Examination failed, GDB will be halted. Polling again in 1500ms openocd: Error: xtensa_poll: Target failure openocd: Polling target esp32 failed, trying to reexamine openocd: Examination failed, GDB will be halted. Polling again in 3100ms openocd: Error: xtensa_poll: Target failure openocd: Polling target esp32 failed, trying to reexamine openocd: Examination failed, GDB will be halted. Polling again in 6300ms openocd: Error: xtensa_poll: Target failure openocd: Polling target esp32 failed, trying to reexamine openocd: Examination failed, GDB will be halted. Polling again in 6300ms openocd: Error: xtensa_poll: Target failure openocd: Polling target esp32 failed, trying to reexamine openocd: Examination failed, GDB will be halted. Polling again in 6300ms openocd: Error: xtensa_poll: Target failure openocd: Polling target esp32 failed, trying to reexamine openocd: Examination failed, GDB will be halted. Polling again in 6300ms openocd: Error: xtensa_poll: Target failure openocd: Polling target esp32 failed, trying to reexamine openocd: Examination failed, GDB will be halted. Polling again in 6300ms openocd: Error: xtensa_poll: Target failure openocd: Polling target esp32 failed, trying to reexamine openocd: Examination failed, GDB will be halted. Polling again in 6300ms openocd: Error: xtensa_poll: Target failure openocd: Polling target esp32 failed, trying to reexamine openocd: Examination failed, GDB will be halted. Polling again in 6300ms openocd: Error: xtensa_poll: Target failure openocd: Polling target esp32 failed, trying to reexamine openocd: Examination failed, GDB will be halted. Polling again in 6300ms openocd: Error: xtensa_poll: Target failure openocd: Polling target esp32 failed, trying to reexamine openocd: Examination failed, GDB will be halted. Polling again in 6300ms openocd: Error: xtensa_poll: Target failure openocd: Polling target esp32 failed, trying to reexamine openocd: Examination failed, GDB will be halted. Polling again in 6300ms openocd: Error: xtensa_poll: Target failure openocd: Polling target esp32 failed, trying to reexamine openocd: Examination failed, GDB will be halted. Polling again in 6300ms openocd: Error: xtensa_poll: Target failure openocd: Polling target esp32 failed, trying to reexamine openocd: Examination failed, GDB will be halted. Polling again in 6300ms openocd: Error: xtensa_poll: Target failure openocd: Polling target esp32 failed, trying to reexamine openocd: Examination failed, GDB will be halted. Polling again in 6300ms Kill the program being debugged? (y or n) [answered Y; input not from terminal] openocd: Error: xtensa_poll: Target failure openocd: Error: esp32: Failed to wait halted target to remove flash BPs (-305)! openocd: Info : dropped 'gdb' connection Программа "" завершилась с кодом 0 (0x0).