Search found 400 matches

by ESP_krzychb
Wed Jul 26, 2017 10:27 am
Forum: ESP-IDF
Topic: OpenOCD installation issues, can't find 'esp108'
Replies: 12
Views: 18601

Re: OpenOCD installation issues, can't find 'esp108'

HI justinmreina, You are clearly almost there. I am not sure about wiring: 1. I would not connect 3.3V between ESP32 and Segger J-Link. ESP32 should be powered through own USB 2. From the pictures you posted it looks like one of lines is connected to GPIO27 while GPIO12 is not connected Please see b...
by ESP_krzychb
Mon Jul 24, 2017 9:27 pm
Forum: General Discussion
Topic: trouble preparing openOCD env
Replies: 4
Views: 7120

Re: trouble preparing openOCD env

Hi linuxpaul, Thanks a lot for the tip that the "pkg-config" is the single "troublemaker"! In fact I was looking for a workflow to compile OpenOCD for Windows. Here is what I have just successfully tested for MSYS2 / Windows 7: Building OpenOCD from sources on Windows platform ======================...
by ESP_krzychb
Mon Jul 24, 2017 4:00 pm
Forum: ESP-IDF
Topic: OpenOCD installation issues, can't find 'esp108'
Replies: 12
Views: 18601

Re: OpenOCD installation issues, can't find 'esp108'

I am happy to see you are progressing! Configuration files have changed with latest release of OpenOCD and "jtag_debugging_for_esp32_en.pdf v1.0" is not updated to reflect these changes. Regarding the error log, it looks like communication speed or wiring problem: Info : Reduced speed from 20000 kHz...
by ESP_krzychb
Mon Jul 24, 2017 3:08 pm
Forum: General Discussion
Topic: openocd/jtag no thread access
Replies: 4
Views: 6847

Re: openocd/jtag no thread access

This is great news :D
Thank you for update!
by ESP_krzychb
Sun Jul 23, 2017 7:45 pm
Forum: General Discussion
Topic: openocd/jtag no thread access
Replies: 4
Views: 6847

Re: openocd/jtag no thread access

Hi again,

Are you using default (provided with https://github.com/espressif/openocd-esp32 repository) or modified configuration file(s)?
What is your board and JTAG interface?

Have you tried to call OpenOCD as discussed in https://esp32.com/viewtopic.php?f=13&t=2525#p11896 ?
by ESP_krzychb
Sun Jul 23, 2017 7:29 pm
Forum: ESP-IDF
Topic: OpenOCD installation issues, can't find 'esp108'
Replies: 12
Views: 18601

Re: OpenOCD installation issues, can't find 'esp108'

Hi justinmreina, I do not see the command you have used to call OpenOCD. It should look as follows: $ src/openocd -s tcl -f interface/ftdi/esp32_devkitj_v1.cfg -f board/esp-wroom-32.cfg You may need to adjust configuration files after "-f" to match your specifc h/w. If done correctly you should see:...
by ESP_krzychb
Sun Jul 23, 2017 7:59 am
Forum: General Discussion
Topic: trouble preparing openOCD env
Replies: 4
Views: 7120

Re: trouble preparing openOCD env

Hello @linuxpaul, I run into the same issue with MSYS2. After installation of additional packages I was able to successfully compile OpenOCD, but then had to redo broken toolchain setup for Windows. I got suggestion to use Cygwin to build OpenOCD instead but did not try it yet. Build with Linux on t...
by ESP_krzychb
Fri Jul 21, 2017 10:07 am
Forum: General Discussion
Topic: Favorite IDE for debugging -- Eclipse, Visual Studio, or other?
Replies: 14
Views: 26816

Re: Favorite IDE for debugging -- Eclipse, Visual Studio, or other?

I coppied esp32.cfg to my openocd directory
This part is fine.
My concern was that I did not see "interface" and "board" configuration files invoked.
by ESP_krzychb
Fri Jul 21, 2017 9:38 am
Forum: General Discussion
Topic: Favorite IDE for debugging -- Eclipse, Visual Studio, or other?
Replies: 14
Views: 26816

Re: Favorite IDE for debugging -- Eclipse, Visual Studio, or other?

pulled openocd from espressif, did a build, hooked up my olimex ARM-USB-OCD-H. Reflashed my LoPy, started OpenOCD. The program halts on scheduler. I started monitor, but it keeps resetting O_o I'm probably doing smthn wrong but idk what =P @f.h-f.s., Sorry for missing your post. I am not sure about...
by ESP_krzychb
Fri Jul 21, 2017 9:12 am
Forum: General Discussion
Topic: Cannot compile openOCD-ESP32 within msys2 env
Replies: 3
Views: 10904

Re: Cannot compile openOCD-ESP32 within msys2 env

Compiling the same sources under debian9 works very fine. Indeed compilation with Linux work very fine (and quick) make CFLAGS='-Wno-error=implicit-fallthrough' Expanding on answer by @f.h-f.s., the issue report https://github.com/espressif/openocd-esp32/issues/13 provides a recepie how to handle "...