background image

Z-Stack User's Guide - CC2431ZDK 

F8W-2006-0025 Version 1.4.3

 

Copyright 

 2006-2007 Texas Instruments, Inc.  All rights reserved

 

3.2.  Target Development System Requirements 

Z-Stack provides a  complementary offering to the  IAR Embedded Workbench (EW8051) suite 
of software development tools. These tools support project management, compiling, assembling, 
linking, downloading, and debugging for various 8051-based processors, including the Chipcon 
CC243x family. The following is required support for the Z-Stack target development system: 

 

IAR EW8051  ( 

http://www.iar.com/

 ) 

  

4.   Product Installation Procedures 

4.1.  Install Z-Stack Package 

Install the Texas Instruments Z-Stack files and programs from the downloaded package. Run the 
windows-based  installation  program,

  ZStack-CC2430-1.4.3-1.2.0.exe

,  to  create  the  required 

directory structure and load all software and documentation files. Review the README.txt file 
for a synopsis of new features and changes with this Z-Stack release. 

4.2. Install IAR EW8051 Package 

Install the Embedded Workbench for 8051 from IAR Systems: 

http://www.iar.com/

. The project 

and library files included in this release of Z-Stack require the use of EW8051 version 7.30B or 
newer. When considering an upgrade to a newer version of EW8051, it is necessary to verify that 
installed project and library files are compatible with the newer development tools. 

4.3.  Device IEEE Addresses 

Each CC243xEM board in the development kit has been pre-programmed with a unique 64-bit 
IEEE address. These addresses, assigned by Chipcon, are stored in 

Little-Endian

 format, located 

in  the  upper  8  bytes  of  FLASH  memory  on  the  CC243x  processor.  The  IEEE  address  is 
displayed on a sticker affixed to the bottom of each CC243xEM. 
 
This FLASH memory location would also be used for factory commissioning of IEEE addresses 
on devices that use Z-Stack. For CC243x-F128 devices, used on all boards in the development 
kit, the least significant byte of the IEEE address is located at “linear” FLASH memory address 
0x1FFF8, corresponding to “banked” address 0x3FFF8.  
 
Z-Stack  treats  the  IEEE  address  area  of  FLASH  as  “write  once”  memory.  When  an  attempt  is 
made  to  write  an  IEEE  address  to  that  location  (via  Z-Tool,  etc.),  it  will  succeed  only  if  the 
current  contents  are  empty  (0xFFFFFFFFFFFFFFFF).  In  other  words,  any  8-byte  pattern  other 
than all 0xFF values, is considered to be a valid IEEE address and won’t be modified. 
 

5.   Configuring and Using Z-Stack 

5.1.  Configuring Z-Stack 

For the purposes of this release, the Logical Device Type and Profile are pre-configured. Details 
on configuring and programming the sample applications for the Z-Location are provided in the 
sections beginning with “Building the Sample Devices”. 
 
 

Summary of Contents for CC2431ZDK

Page 1: ...2006 2007 Texas Instruments Inc All rights reserved Z Stack User s Guide For CC2431ZDK ZigBee 2006 Release Version 1 4 3 Document Number F8W 2006 0025 Texas Instruments Inc San Diego California USA 6...

Page 2: ...431ZDK F8W 2006 0025 Version 1 4 3 i Copyright 2006 2007 Texas Instruments Inc All rights reserved Revision Description Date 1 0 Initial release 12 13 2006 1 1 Changed IAR compiler version to 7 30B in...

Page 3: ...3 4 1 INSTALL Z STACK PACKAGE 3 INSTALL IAR EW8051 PACKAGE 3 4 2 3 4 3 DEVICE IEEE ADDRESSES 3 5 CONFIGURING AND USING Z STACK 3 5 1 CONFIGURING Z STACK 3 5 2 LOGICAL DEVICE TYPES 4 5 3 SELECTING THE...

Page 4: ...ion 1 4 3 iii Copyright 2006 2007 Texas Instruments Inc All rights reserved Table of Figures FIGURE 1 CHIPCON SMARTRF04EB WITH CC243XEM 1 FIGURE 2 CHIPCON SOC_BB BATTERY BOARD WITH CC243XEM 2 Table of...

Page 5: ...t on top of Z Stack conforming to ZigBee Alliance standards www zigbee org 1 2 Scope The CC2430EM and the CC2431EM are interchangeable except that a device intended to run as a Blind Node must be fitt...

Page 6: ...An RS232 cable may be connected between the serial port on the SmartRF04EB 9 pin connector and the host PC to enable communication with the Z Tool or Z Location PC application included with the Z Stac...

Page 7: ...it is necessary to verify that installed project and library files are compatible with the newer development tools 4 3 Device IEEE Addresses Each CC243xEM board in the development kit has been pre pr...

Page 8: ...of Z Location include Location Profile Dongle Location Profile Reference Node Location Profile Blind Node Multiple application profiles can be configured on a ZigBee device Profiles are configured to...

Page 9: ...5 Copyright 2006 2007 Texas Instruments Inc All rights reserved Navigate to the SampleApp project directory and launch the IAR Embedded Workshop by double clicking on the SampleApp eww file Select th...

Page 10: ...Instruments Inc All rights reserved Open LocationProfile h file by clicking the next to the folder App and then double clicking on the file name Uncomment only the line that defines the Location Dong...

Page 11: ...ower by moving switch S3 toward the CC243xEM If Windows needs to install a driver browse to C Program Files IAR Systems Embedded Workbench 4 0 8051 drivers Chipcon to locate the necessary files Downlo...

Page 12: ...S3 away from the CC2430EM Disconnect the board from the USB cable and set it aside 5 6 Building a Reference Node Router Device Make sure all tools have been installed Sections 4 1 4 2 Navigate to the...

Page 13: ...Instruments Inc All rights reserved Open the LocationProfile h file by clicking the next to the folder App and then double clicking on the file name Uncomment only the line that defines the Reference...

Page 14: ...a driver browse to C Program Files IAR Systems Embedded Workbench 4 0 8051 drivers Chipcon to locate the necessary files Download the application by pulling down the Project menu and clicking on Debu...

Page 15: ...All rights reserved 5 7 Building a Blind Node Router Device Make sure all tools have been installed Sections 4 1 4 2 Navigate to the SampleApp project directory and launch the IAR Embedded Workshop by...

Page 16: ...licking the next to the folder App and then double clicking on the file name Uncomment only the line that defines the Blind Node Build the application by pulling down the Project menu and clicking on...

Page 17: ...essary files Download the application by pulling down the Project menu and clicking on Debug After downloading to the CC2430EB is complete exit the debugger by pulling down the Debug menu and clicking...

Page 18: ...position activates the SW1 input Switch inputs SW2 SW4 result from pressing the joystick to the right down away from U400 and left positions respectively SW5 occurs when the joystick is pressed strai...

Page 19: ...ment and debugging it is often convenient to disable saving restoring NV parameters remove or disable the NV_RESTORE compile flag To bypass this feature in a device that was built with NV_RESTORE pres...

Page 20: ...00 16 0x00010000 17 0x00020000 18 0x00040000 19 0x00080000 20 0x00100000 21 0x00200000 22 0x00400000 23 0x00800000 24 0x01000000 25 0x02000000 26 0x04000000 Table 1 Default Channel Select Bit Map DEFA...

Page 21: ...AC source file distribution The value of this parameter minus 83 gives the maximum tolerated energy level in dBm To ensure that the coordinator will always find a suitable channel to start the network...

Reviews: