![NXP Semiconductors MC9S08PA4 Скачать руководство пользователя страница 397](http://html1.mh-extra.com/html/nxp-semiconductors/mc9s08pa4/mc9s08pa4_reference-manual_1721838397.webp)
the change of flow event. Because the system is configured for begin-trigger, the DBG
remains armed and does not break until the FIFO has been filled by subsequent change of
flow events.
19.5 Resets
The DBG module cannot cause an MCU reset.
There are two different ways this module will respond to reset depending upon the
conditions before the reset event. If the DBG module was setup for an end trace run with
DBG_C[DBGEN] = 1 and DBG_T[BEGIN] = 0, DBG_C[ARM], DBG_S[ARMF], and
DBG_C[BRKEN] are cleared but the reset function on most DBG control and status bits
is overridden so a host development system can read out the results of the trace run after
the MCU has been reset. In all other cases including POR, the DBG module controls are
initialized to start a begin trace run starting from when the reset vector is fetched. The
conditions for the default begin trace run are:
• DBG_CAX = 0x00, DBG_CAH=0xFF, DBG_CAL=0xFE so comparator A is set to
match when the 16-bit CPU address 0xFFFE appears during the reset vector fetch
• DBG_C = 0xC0 to enable and arm the DBG module
• DBG_T = 0x40 to select a force-type trigger, a BEGIN trigger, and A-only trigger
mode
Chapter 19 Debug module (DBG)
MC9S08PA4 Reference Manual, Rev. 5, 08/2017
NXP Semiconductors
397
Содержание MC9S08PA4
Страница 1: ...MC9S08PA4 Reference Manual Supports MC9S08PA4 Document Number MC9S08PA4RM Rev 5 08 2017 ...
Страница 2: ...MC9S08PA4 Reference Manual Rev 5 08 2017 2 NXP Semiconductors ...
Страница 22: ...MC9S08PA4 Reference Manual Rev 5 08 2017 22 NXP Semiconductors ...
Страница 28: ...System clock distribution MC9S08PA4 Reference Manual Rev 5 08 2017 28 NXP Semiconductors ...
Страница 150: ...Port data registers MC9S08PA4 Reference Manual Rev 5 08 2017 150 NXP Semiconductors ...
Страница 196: ...Human machine interfaces HMI MC9S08PA4 Reference Manual Rev 5 08 2017 196 NXP Semiconductors ...
Страница 224: ...Instruction Set Summary MC9S08PA4 Reference Manual Rev 5 08 2017 224 NXP Semiconductors ...
Страница 232: ...Functional Description MC9S08PA4 Reference Manual Rev 5 08 2017 232 NXP Semiconductors ...
Страница 258: ...FTM Interrupts MC9S08PA4 Reference Manual Rev 5 08 2017 258 NXP Semiconductors ...
Страница 268: ...Initialization application information MC9S08PA4 Reference Manual Rev 5 08 2017 268 NXP Semiconductors ...
Страница 294: ...Functional description MC9S08PA4 Reference Manual Rev 5 08 2017 294 NXP Semiconductors ...
Страница 370: ...Memory map and register description MC9S08PA4 Reference Manual Rev 5 08 2017 370 NXP Semiconductors ...
Страница 398: ...Resets MC9S08PA4 Reference Manual Rev 5 08 2017 398 NXP Semiconductors ...
Страница 400: ...MC9S08PA4 Reference Manual Rev 5 08 2017 400 NXP Semiconductors ...