Quick start of TI CC2530

Download and install the following software:

  1. ZStack-CC2530-2.5.1a(Can go to google search to)

    • Assuming the default installation folder C:\Texas Instruments\ZStack-CC2530-2.5.1a

    • After installation is complete, go https://github.com/mark-legend/bpi_g1_zigbee_patch download hal_lcd.c file and overwrite the folder C:\Texas Instruments\ZStack-CC2530-2.5.1a\Components\hal\target\CC2530EB file with the same name

  2. IAR EW8051(The software is compiled BLE's IDE is the same, if you have installed, then the direct use, otherwise the installation yourself, we recommend using IAR EW8051 8.1)

G1 connection BPI open debugger burn board

BPI open debugger check whether the software and hardware are connected

BPI open debugger board connected to the PC, and check whether the drive is installed, if you can not identify, install SmartRF Studio,The software that comes with the driver. If you can identify that, please give G1 powered.

If the drive is normal, then check the G1 and Open debugger connection is normal. After the G1 to power, press the CC Debugger interface open debuger reset button next.

If the connection is normal, then the status light next to the CC Debugger interface will turn green, if it is red or other colors, please check whether it is normal or electricity on the G1 G1 is properly connected and Open Debugger.

Modifications to adapt the code for G1

  1. Open the file C:\Texas instruments\ZStack-CC2530-2.5.1a\Components\hal\target\CC2530EB\hal_board_cfg.h, jump to about 61 lines, will be as

    Modified to

  2. Open the file C:\Texas Instruments\ZStack-CC2530-2.5.1a\Components\mac\low_level\srf04\single_chip\mac_radio_defs.c,jump to about 300 lines, will be as

    Modified to

Compile, download and debug routines SampleApp

The operation requires two BPI G1 development board, and you need two OLED screens.

  1. Start IAR EW8051 and open SampleApp project, select File> Open from the menu> Workspace

  2. Browse to C:\Texas Instruments\ZStack-CC2530-2.5.1a\Projects\zstack\Samples\SampleApp\CC2530DB and open SampleApp.eww

  3. Choose from the list of items CoordinatorEB.

  4. When debugging code must be downloaded to the device. Select Project> Options from the menu and select Debugger category. In this setup tab, select Texas Instruments as a driver, and then click OK. Figure

  5. Click on the icon to download the program debug button on the device and enter debug mode. Figure

  6. Click Debug Step Out button on the column, enter the full speed

  7. If there is no problem, a G1 should be is a good writer. Up and running in the following figure

  8. Next, another a G1 programming development board. Choose from the list of items RouterEB

  9. Another is a G1 and BPI OPENDEBUGGER connection. After connecting, click the CC Debugger interface again next reset button, look at the status light is green, if not green, check the power supply G1 or G1 with OPEN DEBUGGER the cable is properly

  10. Click on the icon to download the program debug button on the device and enter debug mode. Figure

  11. Click Debug Step Out button on the column, enter the full speed

  12. If everything is normal, then the two G1 already up and running, you can see from the two G1 OLED screen they have connected to the

Last updated