English
Language : 

CC2510FX Datasheet, PDF (61/253 Pages) List of Unclassifed Manufacturers – True System-on-Chip with Low Power RF Transceiver and 8051 MCU
CC2510Fx / CC2511Fx
12.9.1 Debug Mode
Debug mode is entered by forcing two rising
edge transitions on pin P2_2 (Debug Clock)
while the RESET_N input is held low.
While in Debug mode, pin P2_1 is the Debug
Data bi-directional pin and P2_2 is the Debug
Clock input pin.
12.9.2 Debug Communication
The debug interface uses an SPI-like two-wire
interface consisting of the Debug Data (P2_1)
and Debug Clock (P2_2) pins. Data is driven
on the bi-directional Debug Data pin at the
positive edge of Debug Clock and data is
sampled on the negative edge of this clock.
Debug commands are sent by an external host
and consist of 1 to 4 output bytes (including
command byte) from the host and an optional
input byte read by the host. Figure 11 shows a
timing diagram of data on the debug interface.
The first byte of the debug command is a
command byte and is encoded as follows:
• bits 7 to 3 : instruction code
• bit 2
: return input byte to host
when high
• bits 1 to 0 : number of output bytes from
host following instruction code byte
P2_2
P2_1
command
first data byte
second data byte
host input byte
Figure 11: Debug interface timing diagram
12.9.3 Debug Commands
The debug commands are shown in Table 38.
Some of the debug commands are described
in further detail in the following sections
12.9.4 Debug Lock Bit
For software code security, the Debug
Interface may be locked. When the Debug
Lock bit , DBGLOCK, is set (see section 13.16.3)
all debug commands except CHIP_ERASE,
READ_STATUS and GET_CHIP_ID are
disabled and will not function.
The CHIP_ERASE command is used to clear
the Debug Lock bit.
12.9.5 Debug Configuration
The commands WR_CONFIG and
RD_CONFIG are used to access the debug
configuration data byte. The format and
description of this configuration data is shown
in Table 39.
12.9.6 Debug Status
A Debug status byte is read using the
READ_STATUS command. The format and
description of this debug status is shown in
Table 40.
The READ_STATUS command is used e.g. for
polling the status of flash chip erase after a
CHIP_ERASE command or oscillator stable
status required for debug commands HALT,
RESUME, DEBUG_INSTR, STEP_REPLACE
and STEP_INSTR.
CC2510Fx/CC2511Fx PRELIMINARY Data Sheet (Rev. 1.2) SWRS055A Page 61 of 252