This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Zigbee CC2531

Other Parts Discussed in Thread: CC2531, Z-STACK

I want to connect CC2531 usb dongle to Beaglebone . For that I used z-stack_linux_gateway_arm_binaries_38883 . It contains runnable files in binary form ,but i cant it run on Beaglebone because of cross platform dependence .So can you please provide  us source code for precompiled binaries (z-stack_linux_gateway_arm_binaries_38883) .

thanks

  • You can download and run Z-Stack™Linux Ubuntu Gateway installer from www.ti.com/.../CC2531EM-IOT-HOME-GATEWAY-RD.

  • But precompiled binaries are not running on my beaglebone. We got error as shown below.

    akshay@akshay-desktop:~$ ssh root@192.168.7.2
    root@192.168.7.2's password:

    root@beaglebone:~# cd /media/Angstrom/zigbee/servers

    root@beaglebone:/media/Angstrom/zigbee/servers# ls
    GATEWAY_SRVR_arm NPI_lnx_arm_server OTA_SRVR_arm config.ini sample_app_ota.cfg start_application~ zigbeeHAgw
    NPI_Gateway.cfg NWKMGR_SRVR_arm ZLSZNP_arm gateway_config.tlg start_application track_servers

    oot@beaglebone:/media/Angstrom/zigbee/servers# chmod +x ./zigbeeHAgw


    root@beaglebone:/media/Angstrom/zigbee/servers# ./zigbeeHAgw beaglebone
    running zigbeegw.scr on an ARM
    resetting beaglebone black
    ./zigbeeHAgw: line 989: ../tools/bbb_usbreset.bin: No such file or directory
    sleeping 6 seconds after reset... ./zigbeeHAgw: line 997: ../tools/gw_soc_fw_version_query.bin: No such file or directory
    done
    stty: /dev/ttyACM0: No such file or directory
    stty: /dev/ttyACM0: No such file or directory
    Starting the ZigBee gateway subsystem
    ./zigbeeHAgw: line 332: ./NPI_lnx_arm_server: No such file or directory

  • Do you flash CC2531-GW-ZNP_38724.hex to CC2531 USB dongle and plug it into your Beagleboard?
  • I havn't , it has default firmware .
  • You have to flash CC2531-GW-ZNP_38724.hex to CC2531 USB dongle and plug it into your Beagleboard.
  • We are trying to execute Z-Stack_Linux_Gateway-1.0.1/Precompiled_arm/z-stack_linux_gateway_arm_binaries_38883/app/main.bin on Beaglebone ,but it was giving same error as shown above .Then we tried to compile Z-Stack_Linux_Gateway-1.0.1/Source/Projects/zstack/linux/demo/project/main.c on Beaglebone using arm-eabi-gcc. Then we have executed compiled file ,its executed. But we don't have .c files for other bin(GATEWAY_SRVR_arm,NPI_lnx_arm_server , NWKMGR_SRVR_arm,OTA_SRVR_arm , ZLSZNP_arm from path Z-Stack_Linux_Gateway-1.0.1/Precompiled_arm/z-stack_linux_gateway_arm_binaries_38883/servers) files .We think that because of not having .c files for given bin files , we are not able to execute on Beaglebone.

  • You have to sign SLA with TI to get servers source code. You can contact your TI local representative for SLA.
  • Hi Akshay,

    We are successfully able to run the CC2531 USB Dongle with Beaglebone Black.

    Login to the BBB with user: root

    You just need to copy the z-stack_linux_gateway_arm_binaries contents to your Beaglebone via ssh. This folder is located at Z-Stack_Linux_Gateway-1.0.1\Precompiled_arm\z-stack_linux_gateway_arm_binaries when you download the Z-Stack for Linux from TI Z-Stack site.

    Then go to the servers folder located in the z-stack_linux_gateway_arm_binaries folder.

    Do the below:

    chmod +x zigbeeHAgw

    ./zigbeeHAgw

    Login to the BBB on second Terminal with user: root

    Go to the Z-Stack_Linux_Gateway-1.0.1\Precompiled_arm\z-stack_linux_gateway_arm_binaries\servers folder again.

    Run the below:

    ./start_application

    Press down arrow key.

    You are good to go.

    Thanks,
    Sunny