Security Mode - NXP Semiconductors MC9S08SU16 Reference Manual

Table of Contents

Advertisement

• When a BGND instruction is executed.
• When encountering a BDC breakpoint.
Background commands are of two types:
• Non-intrusive commands, defined as commands that can be issued while the user
program is running. Non-intrusive commands can be issued through the BKGD pin
while the MCU is in run mode; non-intrusive commands can also be executed when
the MCU is in the active background mode. Non-intrusive commands include:
• Memory access commands
• Memory-access-with-status commands
• BDC register access commands
• The BACKGROUND command
• Active background commands, which can be executed only while the MCU is in
active background mode. Active background commands include commands to:
• Read or write CPU registers
• Trace one user program instruction at a time
• Leave active background mode to return to the user's application program (GO)
The active background mode is used to program a bootloader or user application program
into the flash program memory before the MCU is operated in run mode for the first time.
The active background mode can also be used to erase and reprogram the flash memory
after it has been previously programmed.

10.4.4 Security mode

Usually HCS08 V6 MCUs are implemented with a secure operating mode. When in
secure mode, external access to internal memory is restricted, so that only instructions
fetched from secure memory can access secure memory.
The method by which the MCU is put into secure mode is not defined by the HCS08 V6
Core. The core receives an external input signal that, when asserted, informs to the core
that the MCU is in secure mode.
While in secure mode, the core controls the following set of conditions:
NXP Semiconductors
MC9S08SU16 Reference Manual, Rev. 5, 4/2017
Chapter 10 Central processor unit
139

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mc9s08su16vfkMc9s08su8vfk

Table of Contents