PK-HC08QY4 Freescale Semiconductor, PK-HC08QY4 Datasheet - Page 27

no-image

PK-HC08QY4

Manufacturer Part Number
PK-HC08QY4
Description
KIT STARTER 908QY4
Manufacturer
Freescale Semiconductor
Type
MCUr
Datasheet

Specifications of PK-HC08QY4

Contents
Board
For Use With/related Products
*
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
4
4. Debugging Features
§
§
§
§
§
§
§
Notes and Tips
Entering Debug Session with CodeWarrior
When entering a debug session, the target microcontroller’s FLASH memory is
automatically erased, programmed with the user application, and the trimming value (if the
trimming option is enabled) is automatically calculated and programmed.
Halt Debugging Handling
The “Halt” debugging command (in the CodeWarrior IDE) will not work unless the IRQ
interrupt is properly handled. In particular, the following precautions must be taken in the
application’s source code.
1. Global interrupts must be enabled (use the “cli” instruction);
2. The IRQEN bit in the CONFIG2 register must be set to 1;
3. The IRQ interrupt vector must be handled;
Page 26
The PTA0, PTA2, PTA3 and PTA5 pins of the microcontroller are reserved—in
particular, the PTA0 bit in the DDRA Register must not be changed (must be left to
input);
The MON08 lines (PTA1 and PTA4) and the PTA3/RESET line have a 1 KOhm serial
resistor;
Since the IRQ/PTA2 line is reserved (and it is driven to V
Assembly instructions will result in no branch and always branch, respectively.
The COP must be disabled at the beginning of the user code.
The Break Module peripheral is reserved, and only one hardware breakpoint is
available—however, you can insert a “swi” instruction into your code to generate a
software breakpoint;
The “Halt” debugging command (in the CodeWarrior IDE) will not work unless the IRQ
interrupt is properly handled;
13 bytes of stack are wasted by the on-chip monitor—therefore the addresses from SP-
13 to SP are reserved.
TST
) the “bil” and “bih”

Related parts for PK-HC08QY4