Chapter 19
Debug module (DBG)
19.1 Introduction
The DBG module implements an on-chip ICE (in-circuit emulation) system and allows
non-intrusive debug of application software by providing an on-chip trace buffer with
flexible triggering capability. The trigger also can provide extended breakpoint capacity.
The on-chip ICE system is optimized for the S08CPUV6 8-bit architecture and supports 2
M bytes of memory space.
19.1.1 Features
The on-chip ICE system includes these distinctive features:
• Three comparators (A, B, and C) with ability to match addresses in 64 KB space
• Dual mode, Comparators A and B used to compare addresses
• Full mode, Comparator A compares address and Comparator B compares data
• Can be used as triggers and/or breakpoints
• Comparator C can be used as a normal hardware breakpoint
• Loop1 capture mode, Comparator C is used to track most recent COF event
captured into FIFO
• Tag and Force type breakpoints
• Nine trigger modes
• A
• A Or B
• A then B
• A and B, where B is data (full mode)
• A and not B, where B is data (full mode)
• Event only B, store data
• A then event only B, store data
• Inside range, A ≤ address ≤ B
• Outside range, address < A or address > B
MC9S08PA4 Reference Manual, Rev. 5, 08/2017
NXP Semiconductors
371
Summary of Contents for MC9S08PA4
Page 1: ...MC9S08PA4 Reference Manual Supports MC9S08PA4 Document Number MC9S08PA4RM Rev 5 08 2017 ...
Page 2: ...MC9S08PA4 Reference Manual Rev 5 08 2017 2 NXP Semiconductors ...
Page 22: ...MC9S08PA4 Reference Manual Rev 5 08 2017 22 NXP Semiconductors ...
Page 28: ...System clock distribution MC9S08PA4 Reference Manual Rev 5 08 2017 28 NXP Semiconductors ...
Page 150: ...Port data registers MC9S08PA4 Reference Manual Rev 5 08 2017 150 NXP Semiconductors ...
Page 196: ...Human machine interfaces HMI MC9S08PA4 Reference Manual Rev 5 08 2017 196 NXP Semiconductors ...
Page 224: ...Instruction Set Summary MC9S08PA4 Reference Manual Rev 5 08 2017 224 NXP Semiconductors ...
Page 232: ...Functional Description MC9S08PA4 Reference Manual Rev 5 08 2017 232 NXP Semiconductors ...
Page 258: ...FTM Interrupts MC9S08PA4 Reference Manual Rev 5 08 2017 258 NXP Semiconductors ...
Page 294: ...Functional description MC9S08PA4 Reference Manual Rev 5 08 2017 294 NXP Semiconductors ...
Page 398: ...Resets MC9S08PA4 Reference Manual Rev 5 08 2017 398 NXP Semiconductors ...
Page 400: ...MC9S08PA4 Reference Manual Rev 5 08 2017 400 NXP Semiconductors ...