banana pi BPI-G1 open source IoT development board
  • Initial page
  • LANGS
  • About BPI-G1 IoT development board
    • BPI-G1 hardware
    • Summary
    • BPI-G1 Other Accessories
    • Which IDE development can use
    • Quick start of TI CC2530
    • Quick Start STM32F103CB
    • BPI-G1 Simple Code Firmware programming manual
    • Quick start of TI CC3200
    • BPI-G1 smart home gateway project
    • Which emulator debugging
    • BPI-G1 Global Power and Ground
    • BPI-G1 Hardware Specifications
    • Some of the features TI CC2540/1
    • Status LEDs for each module
    • BPI-G1 Main features
    • BPI-G1 Quick Start
    • Explanation
    • Some of the features TI CC2530
    • Some of the features TI CC3200
    • Some of the features STM32F103CB
    • TI CC3200 part Peripheral Interface
    • TI CC2530 part Peripheral Interface
    • Button
    • STM32F103CB part Peripheral Interface
    • CC2530 connection with F103
    • CC2540 connection with F103
    • BPI Open debugger burn board
    • TI CC3200 mode selection jumper
    • TI CC2540/1 part Peripheral Interface
    • BPI-G1 Module interconnection
    • BPI-G1 hardware interface
    • BPI-G1 Accessories
    • Quick start of TI CC2540/1
  • About BPI-G1 IoT development board
    • BPI-G1 Global Power and Ground
    • BPI-G1 Schematic
    • Summary
    • BPI-G1 Other Accessories
    • Quick Start STM32F103CB
    • BPI-G1 smart home gateway project
    • CC2530 connection with F103
    • Button
    • BPI Open debugger burn board
    • BPI-G1 Hardware Specifications
    • CC2540 connection with F103
    • All banana pi product
    • bpi40customizedserver
    • BPI-G1 Main features
    • BPI-G1 Quick Start
    • Explanation
    • BPI-G1 hardware interface
    • BPI-G1 Accessories
    • Quick start of TI CC2540/1
    • BPI-G1 hardware
    • BPI-G1 Module interconnection
    • Quick start of TI CC2530
    • Quick start of TI CC3200
    • BPI-G1 Simple Code Firmware programming manual
Powered by GitBook
On this page

Was this helpful?

  1. About BPI-G1 IoT development board

Quick start of TI CC2530

PreviousBPI-G1 Module interconnectionNextQuick start of TI CC3200

Last updated 5 years ago

Was this helpful?

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 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

https://github.com/mark-legend/bpi_g1_zigbee_patch