Search found 11 matches

by Halfnium
Tue Dec 01, 2020 10:30 pm
Forum: IDEs for ESP-IDF
Topic: Eclipse JTAG Integration to Improve?
Replies: 4
Views: 6112

Re: Eclipse JTAG Integration to Improve?

Hi @Halfnium, We have integrated OpenOCD debugging with the Espressif IDF Eclipse plugin. Please check this here https://github.com/espressif/idf-eclipse-plugin/#gdb-openocd-debugging Please update to the latest version of the plugin v1.2.2 to get the OpenOCD debugging updates. https://github.com/e...
by Halfnium
Tue Dec 01, 2020 9:46 pm
Forum: IDEs for ESP-IDF
Topic: Eclipse JTAG Integration to Improve?
Replies: 4
Views: 6112

Re: Eclipse JTAG Integration to Improve?

Hi Halfnium, do you mean the problem is that the documentation at https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/jtag-debugging/using-debugger.html#jtag-debugging-using-debugger-eclipse doesn't contain instructions for launching OpenOCD from Eclipse? ESP_igrr, Yes, that is w...
by Halfnium
Tue Aug 18, 2020 3:02 am
Forum: IDEs for ESP-IDF
Topic: Eclipse JTAG Integration to Improve?
Replies: 4
Views: 6112

Eclipse JTAG Integration to Improve?

I have succeeded in edit / compile / build / flash / run with ESP32 WROOM in the guise of SparkFun's ThingPlus board, with both command line and Eclipse. I have also succeeded in OpenOCD and GDB debug in two cooperating command-line windows. I'm using a Chinese-sourced FT2232HL board with quite thin...
by Halfnium
Wed Aug 12, 2020 4:24 am
Forum: ESP-IDF
Topic: Programming WROOM using Jtag
Replies: 2
Views: 6524

Re: Programming WROOM using Jtag

Does this mean that JTAG debugging also is not possible unless / until the AT application has been removed via "esptool.py erase_flash?"

Secondly, how would one restore the AT application in future, should that be desired?
by Halfnium
Wed Jul 22, 2020 3:20 am
Forum: ESP-IDF
Topic: can not build when using c++
Replies: 11
Views: 13584

Re: can not build when using c++

Angus, I may have to eat my hat. I set out to reproduce the problem as described earlier in this thread but have not been able to make it happen again: the declaration of main() as extern "C" is sufficient. Maybe this is something subtle that only happens as part of the newbie workflow. Or maybe I m...
by Halfnium
Wed Jul 22, 2020 12:57 am
Forum: General Discussion
Topic: Debug ESP32 with J-Link Ultra and Eclipse
Replies: 7
Views: 7826

Re: Debug ESP32 with J-Link Ultra and Eclipse

Hugo, Not quite sure, but it seems I jogged you toward finding your solution. If so, I'm glad. On my Ubuntu system, 'java --version' yields openjdk 11.0.7 2020-04-14 OpenJDK Runtime Environment (build 11.0.7+10-post-Ubuntu-3ubuntu1) OpenJDK 64-Bit Server VM (build 11.0.7+10-post-Ubuntu-3ubuntu1, mix...
by Halfnium
Mon Jul 20, 2020 3:35 am
Forum: ESP-IDF
Topic: can not build when using c++
Replies: 11
Views: 13584

Re: can not build when using c++

ESP_Angus, Yes, I had noticed those C++ guards when perusing the include files. Nonetheless, Eclipse (2020-06 version) refused to resolve the references until I put them inside the "extern C." Building from Eclipse otherwise failed with 23 unresolved references. I am also a new guy. I was so fixated...
by Halfnium
Sun Jul 19, 2020 5:08 pm
Forum: ESP-IDF
Topic: can not build when using c++
Replies: 11
Views: 13584

Re: can not build when using c++

zhenghaku, Many people (including me) have encountered this problem. Your and chegewara's solutions are correct. To help others understand, I have created a C++ version of the hello_world C-language example that Espressif provides within the IDF. Please find this attached. Note that the new source c...
by Halfnium
Fri Jul 17, 2020 8:50 pm
Forum: General Discussion
Topic: Debug ESP32 with J-Link Ultra and Eclipse
Replies: 7
Views: 7826

Re: Debug ESP32 with J-Link Ultra and Eclipse

hbouchard , At the risk of complicating the problem description, I am successful in using Eclipse 2020-06 (4.16.0), build id: 20200615-1200 with ESP IDF v4.2-dev-2243-gcf056a7d0 on Ubuntu Linux 20.04 LTS / Gnome 3.36.3. I have not tried using JTAG with or without Eclipse (since I don't have JTAG equ...
by Halfnium
Fri Jul 17, 2020 2:42 am
Forum: ESP-IDF
Topic: Small Surprise in IDF Project Example: Purposeful or Typographical Error?
Replies: 1
Views: 2709

Small Surprise in IDF Project Example: Purposeful or Typographical Error?

New to the ESP32, IDF I carefully watched the application build process. I was surprised to note that building the "hello_world" example in "../esp/esp_idf/examples/get-started" generates files named "hello-world" (of types .bin, .elf and .map). That's right, a dash crept into the file names in plac...