pulp-platform / riscv-dbg

RISC-V Debug Support for our PULP RISC-V Cores
Other
218 stars 72 forks source link

Reset state after trst_ni is wrong #165

Closed bluewww closed 2 months ago

bluewww commented 3 months ago

This

https://github.com/pulp-platform/riscv-dbg/blob/358f90110220adf7a083f8b65d157e836d706236/src/dmi_jtag_tap.sv#L306

should reset the TAP to the Test-Logic-Reset state.

See 4.6.1 Specifications in IEEE Standard for Test Access Port and Boundary-Scan Architecture 11491-2013. @msfschaffner does that sound correct to you too?