How to disable JTAG?

MalteJ
Posts: 62
Joined: Wed Sep 21, 2016 10:26 pm

How to disable JTAG?

Postby MalteJ » Fri Mar 10, 2017 12:59 pm

Hi,

I want to use the JTAG pins as GPIOs.
How can I disable JTAG? Is this permanent or is it possible to reenable JTAG afterwards?

Thank you!

Best,
Malte

MalteJ
Posts: 62
Joined: Wed Sep 21, 2016 10:26 pm

Re: How to disable JTAG?

Postby MalteJ » Sat Mar 11, 2017 2:35 pm

It looks like you can only disable JTAG while enabling Secure Boot, right?

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

Re: How to disable JTAG?

Postby WiFive » Sat Mar 11, 2017 7:50 pm

What is the conflict you are having?

ESP_Sprite
Posts: 8921
Joined: Thu Nov 26, 2015 4:08 am

Re: How to disable JTAG?

Postby ESP_Sprite » Sun Mar 12, 2017 5:14 am

From memory, the JTAG pins are routed to the GPIOs by either the IO mux or the GPIO matrix, I don't remember which one off the top of my head. By simply reconfiguring the values in the configuration registers of that (or using an esp-idf driver, which will do this for you) you can deselect the JTAG function and use the GPIO for something else; no need to mess with fuses.

Who is online

Users browsing this forum: No registered users and 138 guests