Texas Instruments 2531NANO Benutzerhandbuch
8/21
Linker_xxx.xcl
Linker file
usb_cdc_driver_cc2531_PID16B2.inf
usb_cdc_driver_cc2531_PID16A8.inf
usb_cdc_driver_cc2531_PID16A8.inf
USB drivers
Z-stack ZNP Applications Example
ZigBee Network Processor
application example, based on
the Z-stack ZNP project
application example, based on
the Z-stack ZNP project
RF4CE RNP Application Example
ZigBee Remote Network
Processor(RNP) application
example, based on the RemoTI
RNP project
Processor(RNP) application
example, based on the RemoTI
RNP project
Texas Instruments SmartRF Flash
Programmer
Programmer
Flash Programmer PC tool, used
to program hex files using
debuggers
to program hex files using
debuggers
- Tools - znp.bat, znp.js, sim2bin.exe for a Z-stack application (automatically installed with the Z-stack
in \Projects\zstack\ZNP\CC253x\tools
in \Projects\zstack\ZNP\CC253x\tools
- pp_cc2531f256sb.bat, oadbbin.exe for a RemoTI stack application (automatically installed with the
RemoTI stack under, respectively, \Projects\RemoTI\RNP\CC2530EB and
Projects\RemoTI\common\cc2530
RemoTI stack under, respectively, \Projects\RemoTI\RNP\CC2530EB and
Projects\RemoTI\common\cc2530
- Linker files: cc2530-sb.xcl (Z-stack), ti_51ew_cc2531f256_sb.xcl (RemoTI). These linker files are
automatically installed with the Z-stack and the RemoTI stack under, respectively,
\Projects\zstack\Tools\CC2530DB and \Projects\RemoTI\common\cc2530
automatically installed with the Z-stack and the RemoTI stack under, respectively,
\Projects\zstack\Tools\CC2530DB and \Projects\RemoTI\common\cc2530
- USB Drivers (usb_cdc_driver_cc2531_PID16B2.inf and usb_cdc_driver_cc2531_PID16A8.inf)
4.2 SBL Boot Code Image
If the SBL is already loaded on your target, skip this section.
This section will guide you through the steps needed to program the Bootloader image into flash using
Texas Instrument SmartRF Programmer. The project for the boot image already exists, so all you
need to do here is open the project, rebuild it and download the output .hex file with SmartRF
Programmer.
Texas Instrument SmartRF Programmer. The project for the boot image already exists, so all you
need to do here is open the project, rebuild it and download the output .hex file with SmartRF
Programmer.
But before downloading the SBL, you may want to tune the period during which the SBL waits for an
application to be downloaded (it happens after powercycling the device, the default setting is around
15 sec). To do that, just modify the SBL_WAIT_PERIOD value defined in the Constants section in the
main file of the SBL project, called either sb_main.c for the Z-stack bootloader, or main_cc2531.c for
the RemoTI stack. This waiting period is not implemented with timers, it simply uses a while loop
statement decrementing the SBL_WAIT_PERIOD value. This value is initialized to a non-zero value,
and when it reaches zero the SBL jumps to the application. Therefore the conversion between the
variable value and corresponding time is approached by the relation:
For Z-stack SBL : SBL_WAIT_PERIOD = 21 845 * X, where X is the waiting period in seconds.
For RemoTI SBL : SBL_WAIT_PERIOD = 23 130 * X, where X is the waiting period in seconds.
application to be downloaded (it happens after powercycling the device, the default setting is around
15 sec). To do that, just modify the SBL_WAIT_PERIOD value defined in the Constants section in the
main file of the SBL project, called either sb_main.c for the Z-stack bootloader, or main_cc2531.c for
the RemoTI stack. This waiting period is not implemented with timers, it simply uses a while loop
statement decrementing the SBL_WAIT_PERIOD value. This value is initialized to a non-zero value,
and when it reaches zero the SBL jumps to the application. Therefore the conversion between the
variable value and corresponding time is approached by the relation:
For Z-stack SBL : SBL_WAIT_PERIOD = 21 845 * X, where X is the waiting period in seconds.
For RemoTI SBL : SBL_WAIT_PERIOD = 23 130 * X, where X is the waiting period in seconds.
Modify the value and rebuild the project. Then you can download the SBL on the target.
4.3
Download the Serial Bootloader
1. Open Texas Instruments SmartRF Programmer
2. SelectProgram CCxxxx SoC or MSP430 under What do you want to program ?
3. Select System-on-chip tab
4. Browse the Flash image field to the .hex object file of the SBL
2. SelectProgram CCxxxx SoC or MSP430 under What do you want to program ?
3. Select System-on-chip tab
4. Browse the Flash image field to the .hex object file of the SBL