Search found 10 matches

by evanescent_nacho
Mon Jan 30, 2023 8:41 pm
Forum: ESP-IDF
Topic: ESP32-C3 lost in BTM module with a suspicious callback while trying to fix ADC crash when connecting via Bluetooth
Replies: 0
Views: 1047

ESP32-C3 lost in BTM module with a suspicious callback while trying to fix ADC crash when connecting via Bluetooth

Development specs: WIndows 10, ESP-IDF for VSCode v4.4, ESP32-C3 connecting with onboard JTAG debugging and serial logging. I'm trying to debug a crash I am getting while connecting to an ESP32-C3 based device after having added ADC code. I was able to connect before adding in the ADC. I am using AD...
by evanescent_nacho
Fri Jan 20, 2023 3:51 pm
Forum: IDEs for ESP-IDF
Topic: Unable to start debugging. Unexpected GDB output from command "- interpreter-exec console "target remote:3333""
Replies: 14
Views: 170181

Re: Unable to start debugging. Unexpected GDB output from command "- interpreter-exec console "target remote:3333""

I've posted what worked for me here. Basically the preLaunchTask is not working for me to OpenOCD does not start. I have to start that in a terminal before starting a debug session, even though I followed the example for the preLaunchTask. Here is the other thread where I talk about it a little more...
by evanescent_nacho
Fri Jan 20, 2023 3:39 pm
Forum: IDEs for ESP-IDF
Topic: Unable to start debugging. Unexpected GDB output from command "- interpreter-exec console "target remote:3333""
Replies: 14
Views: 170181

Re: Unable to start debugging. Unexpected GDB output from command "- interpreter-exec console "target remote:3333""

I've been able to get it working, but I have to launch OpenOCD externally in a terminal. I type on the command line "openocd -c "set ESP_RTOS none" -f board/esp32c3-builtin.cfg". I need the folder above 'board' to be part of PATH. That is 'PATH_TO_SDK'\tools\openocd-esp32\v0.11.0-esp32-20220411\open...
by evanescent_nacho
Thu Jan 19, 2023 11:41 pm
Forum: ESP-IDF
Topic: ESP32C3 with OpenOCD
Replies: 7
Views: 9765

Re: ESP32C3 with OpenOCD

With more testing, I realized that my preRun task has some bad syntax and was silently not starting OpenOCD. I manually started it with "openocd -f board/esp32c3-builtin.cfg" in a terminal. That would start debugging, but not a the terminal logging. I started that and then I could not start debuggin...
by evanescent_nacho
Thu Jan 19, 2023 9:31 pm
Forum: ESP-IDF
Topic: ESP32C3 with OpenOCD
Replies: 7
Views: 9765

Re: ESP32C3 with OpenOCD

I found some of my dumb mistakes, but I'm not quite there yet. In several places instead of typing "text" I typed "test". Somehow that leads to a NULL argument exception. It makes more sense now, but if anyone runs into a "EXCEPTION: System.ArgumentNullException" it may be a misspelled keyword like ...
by evanescent_nacho
Tue Jan 17, 2023 4:01 pm
Forum: IDEs for ESP-IDF
Topic: Unable to start debugging. Unexpected GDB output from command "- interpreter-exec console "target remote:3333""
Replies: 14
Views: 170181

Re: Unable to start debugging. Unexpected GDB output from command "- interpreter-exec console "target remote:3333""

I'm stuck with the same issue. I had a different issue before, but after resolving that, I got stuck with this. Here is a link to that thread: https://www.esp32.com/viewtopic.php?f=13&t=30661. I've used the command line successfully with OpenOCD / GDB, set a breakpoint and investigated a variable, b...
by evanescent_nacho
Thu Dec 01, 2022 10:56 pm
Forum: ESP-IDF
Topic: ESP32C3 with OpenOCD
Replies: 7
Views: 9765

Re: ESP32C3 with OpenOCD

To Add more information, I have tried two different debugging launches. One is the play button on the bottom ribbon towards the right, and the other is in the debugging menu in the top left. However, once the button in the top left has been used, a new button in the bottom ribbon shows up (closer to...
by evanescent_nacho
Wed Nov 30, 2022 9:51 pm
Forum: ESP-IDF
Topic: ESP32C3 with OpenOCD
Replies: 7
Views: 9765

Re: ESP32C3 with OpenOCD

I haven't made any progress with the above issue. After trying some other things the button I was using that appeared at the bottom has disappeared and I tried the 'play' button at the bottom and that seem to try to debug differently. But there are some obvious issue where it applies a default targe...
by evanescent_nacho
Tue Nov 22, 2022 6:47 pm
Forum: ESP-IDF
Topic: ESP32C3 with OpenOCD
Replies: 7
Views: 9765

Re: ESP32C3 with OpenOCD

Yesterday I applied what I learned yesterday and ran into new issues and solved a few of them. Yes, esp-idf does contain OpenOCD as it should, but it was in a folder I did not expect and buried quite deep. It may have set it up that way, but that was months ago and I understood nothing about this de...
by evanescent_nacho
Fri Nov 18, 2022 3:25 pm
Forum: ESP-IDF
Topic: ESP32C3 with OpenOCD
Replies: 7
Views: 9765

ESP32C3 with OpenOCD

I'm working on a windows 10 computer using Visual Studio Code 1.73.1, ESP IDF 4.4.2 and OpenOCD 0.11.0. My development board is an ESP32C3 DevkitM-1 V1.0. I've been porting a product to the Espressif system, but I'm at a point where I need to debug some pointer issues and need live debugging. I had ...