Skip to content
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

Schematic has wrong pins, resulting in Error: JTAG scan chain interrogation failed: all zeroes (EUB-59) #18

Closed
prabbit237 opened this issue Nov 26, 2023 · 1 comment

Comments

@prabbit237
Copy link

M_TDI and M_TDO are swapped between the default config and the example schematic.

The example schematic shows:

M_TDO: GPIO 3 on ESP32-S2 and GPIO 15 on target ESP32
M_TDI: GPIO 9 on ESP32-S2 and GPIO 12 on target ESP32

image

The default settings for sdkconfig, however, has GPIO 3 for M_TDI and GPIO 9 for M_TDO. Using those pins as in the sdkconfig results in:

Error: JTAG scan chain interrogation failed: all zeroes

Swapping them in the code (since I'd already wired up a board using the schematic) allows it to work fine.

I beat my head on the wall for quite some time and checked and re-checked wiring, etc until I decided to try swapping them (I finally realized the schematic had M_RXD connected to ESP32 TXD0 and M_TXD to ESP32 RXD0, which makes sense as you swap the TX and RX, so I swapped the TDI and TDO and it works fine.)

@github-actions github-actions bot changed the title Schematic has wrong pins, resulting in Error: JTAG scan chain interrogation failed: all zeroes Schematic has wrong pins, resulting in Error: JTAG scan chain interrogation failed: all zeroes (EUB-59) Nov 26, 2023
@DNedic
Copy link
Contributor

DNedic commented Nov 27, 2023

Hello @prabbit237 , thank you for bringing this issue to light, we will fix the schematic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants