Hi I've got a question regarding reset sequence while using JTAG on LS1028A-RDB.
Below are my insights on how this is implemented on LS1028A-RDB, I would be grateful if you could confirm or correct my observations:
- JTAG RST (CWJTAG_RST_B) is connected to CPLD input called CWJTAG_RST_B
- while calling ccs::reset_to_debug, the CWJTAG_RST_B is asserted which is handled by CPLD, which in the response asserts JTAG logic of LS1028A (DUT_TRST_B) and asserts PORESET causing the usuaull PORESET events to happen (like zeroing the registers and so on)
- once the CWJTAG_RST_B is deasserted both DUT_TRST_B and PORESET are deasserted
Is above true?
Suppose that we do not have a similar signal like CWJTAG_RST_B on our CPLD, but when the CWJTAG_RST_B is asserted, we reset JTAG logic but our CPLD does not assert PORESET. Is there any workaround for this? What would happen if (based on e.g.LS1028A-RDB design), instead of the current solution we would connect CWJTAG_RST_B with DUT_TRST_B and REQSET_REQ (in order to trigger RESET sequence when CWJTAG_RST_B is asserted)?
To be clear:
"CWJTAG_RST_B is asserted which is handled by CPLD, which in the response asserts JTAG logic of LS1028A (DUT_TRST_B) and asserts PORESET "
never assert TRST to the processor when the target reset pin (10) is asserted, this breaks the ability to take control of the DUT. TRST should be asserted on power-up only, generally.
Should always distinguish TRST and PORESET_n.
TRST_B is asserted during power-on reset flow to ensure that the JTAG boundary logic does not
interfere with normal chip operation.
PORESET_B is power-on reset(POR) inputs, When PORESET_B de-asserts, the configuration pins
are sampled and latched into registers.
Please follow the checklist to connect the both signals.
If CWJTAG_RST_B is not connect to PORESET_B, the CodeWarrrior TAP could not reset the LS1028A.
RESET_REQ_B is an output signal, could not connect a input signal to this pin.
Maybe you could try to link the two signal follow the FRWY-LS1046A which is no CPLD on the board.
( https://www.nxp.com/design/design-center/development-boards-and-designs/FRWY-LS1046A).
Yiping will supporting you for that issue.