Unable to start debugging. Unexpected GDB output from command "- interpreter-exec console "target remote:3333""
-
- Posts: 229
- Joined: Wed May 02, 2018 12:12 pm
Re: Unable to start debugging. Unexpected GDB output from command "- interpreter-exec console "target remote:3333""
How do you start the openOCD ? Are you using the extension OpenOCD Server ? What is the openOCD output ? Click menu View -> Output -> Choose ESP-IDF from drop down and see the OpenOCD output.
Re: Unable to start debugging. Unexpected GDB output from command "- interpreter-exec console "target remote:3333""
How do you start the openOCD ?
A: I press ctr+Shift+D or select the buton on the left
Are you using the extension OpenOCD Server ?
A: No. I don't see any extension with that name. I don't see that in the instructions.
What is the openOCD output ? Click menu View -> Output -> Choose ESP-IDF from drop down and see the OpenOCD output.
A: I dont see that in the output drop-down list
Only
A: I press ctr+Shift+D or select the buton on the left
Are you using the extension OpenOCD Server ?
A: No. I don't see any extension with that name. I don't see that in the instructions.
What is the openOCD output ? Click menu View -> Output -> Choose ESP-IDF from drop down and see the OpenOCD output.
A: I dont see that in the output drop-down list
Only
-
- Posts: 229
- Joined: Wed May 02, 2018 12:12 pm
Re: Unable to start debugging. Unexpected GDB output from command "- interpreter-exec console "target remote:3333""
So you are just starting a debug session without starting openOCD as far as I can see.
You need to start openOCD, either using ESP-IDF: Start OpenOCD command or in a terminal somewhere. Your launch.json configuration is not starting it.
You need to start openOCD, either using ESP-IDF: Start OpenOCD command or in a terminal somewhere. Your launch.json configuration is not starting it.
Re: Unable to start debugging. Unexpected GDB output from command "- interpreter-exec console "target remote:3333""
I run the OpenOCD manager and I get below error. The USB port is fine since I can download my code so why can't it find my device ?
I would like to use the commands to an external terminal but I'm not optimistic. I never managed to make them work inside VS code anyway
OpenOCD server failed to start because of Error:
_init(): esp_usb_jtag: could not find or open device!
Debug: 936 184 command.c:541 run_command(): Command 'init' failed with error code -4
User : 937 184 command.c:612 command_run_line(): c:\Applications\Programming\ESP\tools\tools\openocd-esp32\v0.12.0-esp32-20230921/openocd-esp32/share/openocd/scripts/target/esp_common.cfg:9: Error:
at file "c:\Applications\Programming\ESP\tools\tools\openocd-esp32\v0.12.0-esp32-20230921/openocd-esp32/share/openocd/scripts/target/esp_common.cfg", line 9
Debug: 938 185 esp_xtensa.c:198 esp_xtensa_target_deinit(): start
Debug: 939 185 xtensa.c:3423 xtensa_target_deinit(): start
Debug: 940 185 target.c:2166 target_free_all_working_areas_restore(): freeing all working areas
Debug: 941 185 esp_xtensa.c:198 esp_xtensa_target_deinit(): start
Debug: 942 185 xtensa.c:3423 xtensa_target_deinit(): start
I would like to use the commands to an external terminal but I'm not optimistic. I never managed to make them work inside VS code anyway
OpenOCD server failed to start because of Error:
_init(): esp_usb_jtag: could not find or open device!
Debug: 936 184 command.c:541 run_command(): Command 'init' failed with error code -4
User : 937 184 command.c:612 command_run_line(): c:\Applications\Programming\ESP\tools\tools\openocd-esp32\v0.12.0-esp32-20230921/openocd-esp32/share/openocd/scripts/target/esp_common.cfg:9: Error:
at file "c:\Applications\Programming\ESP\tools\tools\openocd-esp32\v0.12.0-esp32-20230921/openocd-esp32/share/openocd/scripts/target/esp_common.cfg", line 9
Debug: 938 185 esp_xtensa.c:198 esp_xtensa_target_deinit(): start
Debug: 939 185 xtensa.c:3423 xtensa_target_deinit(): start
Debug: 940 185 target.c:2166 target_free_all_working_areas_restore(): freeing all working areas
Debug: 941 185 esp_xtensa.c:198 esp_xtensa_target_deinit(): start
Debug: 942 185 xtensa.c:3423 xtensa_target_deinit(): start
Who is online
Users browsing this forum: No registered users and 27 guests