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

[jtag] Avoid power button press #26644

Open
jesultra opened this issue Mar 17, 2025 · 0 comments
Open

[jtag] Avoid power button press #26644

jesultra opened this issue Mar 17, 2025 · 0 comments
Labels
Component:RTL Type:Enhancement Feature requests, enhancements

Comments

@jesultra
Copy link
Contributor

jesultra commented Mar 17, 2025

Description

At Google, we could want to use JTAG on chips in DEV lifecycle, running our production code. However, one unfortunate effect of enabling the JTAG strapping, is that the signals that share pins with JTAG are all seen as low / "0" by the chips, for as long as JTAG is active. One of those signals is the pwb_in input to the System Reset Controller, and since that signal is active low, it becomes impossible to debug any "ordinary" state of the system, which does not involve the System Reset Controller being in the process of counting down to reset something.

I propose that the levels seen by GPIO and various other IPs on the five inputs should instead be "frozen" at their previous value, when JTAG is enabled. Or if that presents an issue (e.g. with undefined state in case JTAG is enabled out of reset), that the inputs become fixed at high / "1" instead, as that is the inactive level for the keyboard and power button inputs in our use case.

@rswarbrick rswarbrick added Type:Enhancement Feature requests, enhancements Component:RTL labels Mar 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component:RTL Type:Enhancement Feature requests, enhancements
Projects
None yet
Development

No branches or pull requests

2 participants