Search found 15 matches

by CalinB
Sat Aug 24, 2019 8:36 am
Forum: ESP-IDF
Topic: ESP32 - Debugging using Eclipse [solved]
Replies: 15
Views: 23332

Re: ESP32 - Debugging using Eclipse [solved]

Change the "/" to "\" on IDF_PATH variable on your settings.
I just made a new setup on eclipse to check...
I used https://dl.espressif.com/dl/esp-idf-tools-setup-1.2.exe to install the openocd.
The setup work OK...ish...
Here is my setup:

1.jpg
1.jpg (129.62 KiB) Viewed 7101 times
2.jpg
2.jpg (137.17 KiB) Viewed 7101 times
3.jpg
3.jpg (278.59 KiB) Viewed 7101 times
by CalinB
Fri Aug 23, 2019 12:36 pm
Forum: ESP-IDF
Topic: Debugging with VS Code?
Replies: 4
Views: 20853

Re: Debugging with VS Code?

I made an ESP32 debug template project for VsCode that work's just fine: https://github.com/botofancalin/Esp32_debug_template https://raw.githubusercontent.com/botofancalin/Esp32_debug_template/master/img/Esp32_win_gdb_debug.jpg You can use this template as a starting point for your project. Please ...
by CalinB
Fri Aug 23, 2019 9:20 am
Forum: ESP-IDF
Topic: ESP32 - Debugging using Eclipse [solved]
Replies: 15
Views: 23332

Re: ESP32 - Debugging using Eclipse [solved]

That may be caused by some wrong environment variables or environment paths setup on Eclipse. I was using Eclipse for build/debug software on ESP32 some time ago and i found it very hard and time consuming to set up a esp32 project on Eclipse. Moving the project to a different PC is a headache too w...
by CalinB
Wed Aug 21, 2019 5:58 pm
Forum: ESP-IDF
Topic: ESP32 - Debugging using Eclipse [solved]
Replies: 15
Views: 23332

Re: ESP32 - Debugging using Eclipse [solved]

The gdb response looks OK.
There must be something wrong on eclipse debug settings...
On step 6 from eclipse debug instructions, click "Browse" and select the xtensa-esp32-elf-gdb.exe on your PC
by CalinB
Tue Aug 13, 2019 7:38 pm
Forum: ESP-IDF
Topic: ESP32 - Debugging using Eclipse [solved]
Replies: 15
Views: 23332

Re: ESP32 - Debugging using Eclipse [solved]

The command should be entered on command line. The paths to gdb and openocd should be set on system environment variables. As a alternative solution to eclipse, you can try Visual Studio Code. Here is a quick start guide for debugging esp32 on VsCode: https://github.com/botofancalin/Esp32_debug_temp...
by CalinB
Thu May 02, 2019 5:54 am
Forum: ESP-IDF
Topic: Setting up Visual Studio Code for ESP32 IDF
Replies: 16
Views: 69497

Re: Setting up Visual Studio Code for ESP32 IDF

I made a VsCode project template/tutorial that include debug settings and operation buttons: Menuconfig, Build, Flash, Monitor, Clean. https://github.com/botofancalin/Esp32_debug_template The project name is named using project folder name. So if you need your own project, just rename the folder fro...
by CalinB
Sun Apr 14, 2019 11:49 pm
Forum: General Discussion
Topic: JTAG Debugger
Replies: 8
Views: 15870

Re: JTAG Debugger

I made a template repository for esp32 debug on Windows 10 using VsCode:

https://github.com/botofancalin/Esp32_debug_template

You will find detailed setup instructions there.

The template contain the blink project.
You can extend your project from this template.
Esp32_win_gdb_debug.jpg
Esp32_win_gdb_debug.jpg (235.8 KiB) Viewed 15608 times
by CalinB
Sat Apr 13, 2019 7:14 pm
Forum: General Discussion
Topic: JTAG Debugger
Replies: 8
Views: 15870

Re: JTAG Debugger

Thanks CalinB I could not succed in debugging with FT2232HL... Can you please tell me wiring for FT232 module ? I will recommend FT2232HL since it have a bigger buffer so will be faster and more reliable. Anyway, here it is the ft232 jtag connection diagram prog-mcusb-sch.png Please note that you w...
by CalinB
Fri Apr 12, 2019 8:14 pm
Forum: General Discussion
Topic: JTAG Debugger
Replies: 8
Views: 15870

Re: JTAG Debugger

Very Strange.. No one is using any debugger in this forum LOL............. i use ft2232 debuggers with esp32: - wrover kit with integrated ft2232hl - custom made debugger using ft2232d and never had any problem connecting to esp32 as long the setup was correct. I posted the setup instructions on ot...
by CalinB
Mon Feb 04, 2019 5:11 am
Forum: ESP-IDF
Topic: ESP32 - Debugging using Eclipse [solved]
Replies: 15
Views: 23332

Re: ESP32 - Debugging using Eclipse

Ritesh wrote:
Sat Feb 02, 2019 1:46 pm
ESP_igrr has asked like what output you are getting into OpenOCD console output while facing this issue. So that we can have idea like what can be issue into your case.

I was giving a solution to @salomonreinach problem on my post.
Please read the posts and posters name before reply :D