New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ESP32S3 + JLink not working (OCD-581) #234
Comments
@higaski Currently I don't have my jlink with me and can not try your configuration. Did you try debugging hello_world example with both boards? |
I did try debugging the hello_world example (removed the reset though) with both boards yes. What exactly do you mean which "configure them"? What else besides setting fuses is there? As far as I know the JTAG pins don't require any special initialization in software? My pin connections are as follows
|
I meant, if the jtag pins configured as GPIO, there will be an issue during the OpenOCD communication. But since you tried with the hello_world app, this is not the case. Your connection also looks good. I will give a try with Jlink EDU and turn back. |
I power both modules through the UART connector. To be honest, I didn't even know the JLink EDU can output power... 😆 |
Ok. Here is my test outputs. I don't see an issue with my Jlink-EDU(20 pin) I tried with the latest OpenOCD release and idf 5.0 hello_world example. JTAG_SEL_ENABLE is true in my ESP32S3-DevkitC and nothing connected to the GPIO3. IO42 - TMS - JLINK7 For the next thing to do, maybe you can connect a logic analyzer and see what is going on with the jtag pins.
|
Ok, I have no idea why but all of the sudden it started working for me too. Info : JTAG tap: esp32s3.cpu0 tap/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)
Info : JTAG tap: esp32s3.cpu1 tap/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1) The only thing that changed on my system in the meantime is the SEGGER version: JLinkExe --version
SEGGER J-Link Commander V7.66f (Compiled Jul 5 2022 15:23:22)
DLL version V7.66f, compiled Jul 5 2022 15:23:08 When I initially posted this issue it has been 7.66e. What JLink version have you been using? /edit |
This is what I have.
No problem. I am closing this issue. |
Did you ever find out what the original issue was? |
Not really no sry. |
Development Kit
ESP32-S3-DevKitC-1
Module or chip used
ESP32-S3-WROOM1
Debug Adapter
J-Link EDU
OpenOCD version
v0.11.0-esp32-20220411
Operating System
Linux
Using an IDE ?
no
OpenOCD command line
openocd -c "adapter speed 1000" -s share/openocd/scripts -f interface/jlink.cfg -f target/esp32s3.cfg
JTAG Clock Speed
1000 kHz
ESP-IDF version
ESP-IDF v5.0-dev-3654-gc2ccc383da
Problem Description
Debug Logs
Expected behavior
It is currently not possible to connect to an ESP32-S3 using OpenOCD v0.11.0-esp32-20220411 and JLink V7.66e.
For whatever reason OpenOCD always errors out ->
I found suggestions before that this can be bad wiring or connections. This is defiantly not the case. I've also tried to debug a DevKitM which doesn't work either.
I've even tried to set different fuses on the two dev kits I own. On the DevKitC board I've only burned the
JTAG_SEL_ENABLE
fuse which seems to work as documented. On this board I can at least still use the internal USB-JTAG when pulling GPIO3 high. On the DevKitM board I've burnedDIS_USB_JTAG
andDIS_USB_SERIAL_JTAG
.Screenshots
No response
The text was updated successfully, but these errors were encountered: