English
Language : 

CC2430 Datasheet, PDF (65/234 Pages) Texas Instruments – A True System-on-Chip solution for 2.4 GHz IEEE 802.15.4 / ZigBee-TM
CC2430
Bit
Name
7
chip_erase_done
6
pcon_idle
5
cpu_halted
4
power_mode_0
3
halt_status
2
debug_locked
1
oscillator_stable
0
stack_overflow
Description
Flash chip erase done
0 Chip erase in progress
1 Chip erase done
PCON idle
0 CPU is running
1 CPU is idle (clock gated)
CPU halted
0 CPU running
1 CPU halted
Power Mode 0
0 Power Mode 1-3 selected
1 Power Mode 0 selected
Halt status. Returns cause of last CPU halt
0 CPU was halted by HALT debug command
1 CPU was halted by software or hardware breakpoint
Debug locked. Returns value of DBGLOCK bit
0 Debug interface is not locked
1 Debug interface is locked
Oscillators stable. This bit represents the status of the
CLKCON.XSOC_STB and CLKCON.HFRC_STB register bits.
0 Oscillators not stable
1 Oscillators stable
Stack overflow. This bit indicates when the CPU writes to
DATA memory space at address 0xFF which is possibly a
stack overflow
0 No stack overflow
1 Stack overflow
Table 35: Debug Status
12.9.7 Hardware Breakpoints
The debug command SET_HW_BRKPNT
is used to set a hardware breakpoint. The
CC2430 supports up to four hardware
breakpoints. When a hardware breakpoint
is enabled it will compare the CPU
address bus with the breakpoint.. When a
match occurs, the CPU is halted.
When issuing the SET_HW_BRKPNT, the
external host must supply three data bytes
that define the hardware breakpoint. The
hardware breakpoint itself consists of 18
bits while three bits are used for control
purposes. The format of the three data
bytes for the SET_HW_BRKPNT
command is as follows.
The first data byte consists of the
following:
• bits 7-5 : unused
• bits 4-3 : breakpoint number; 0-3
• bit 2
: 1=enable, 0=disable
• bits 1-0
: Memory bank bits. Bits
17-16 of hardware
breakpoint.
The second data byte consists of bits 15-8
of the hardware breakpoint.
The third data byte consists of bits 7-0 of
the hardware breakpoint.
CC2430 PRELIMINARY Data Sheet (rev. 1.03) SWRS036A
Page 65 of 232