Why does Oki's ARM-based MCUs have a separate pin for resetting the system and the JTAG interface?
Descriptive Answer:
Some ARM MCU vendors multiplex the two resets into one signal. In this scenario, when the MCU system reset is asserted, the on-chip debug unit gets reset as well. This creates problems during debugging, since the debug state is altered by this reset and the debugger must re-initialize and reopen the debug channel after the reset. In this scenario, debuggers cannot gain control of the chip immediately after reset causing issues such as memory corruption or inconveniences during debugging.
When designing the Oki ARM MCU circuit, if the JTAG interface is to be used for debugging, the designer should connect the nSRST signal from the JTAG header to the system reset (RESET_N) of the Oki MCU and the JTAG reset signal (nTRST) to the nTRST pin on the Oki MCU. For recommended sample circuits, refer to the JTAG chapter of Oki's ARM MCU User's Manual.
Many ARM debuggers have the feature to assert reset to the target from inside the debugger on the host development system. This reset feature can usually be configured to either assert nTRST (JTAG Reset), or nSRST (System Reset), or both at the same time. The user should appropriately configure this feature.
