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 Lighting Gateway and BeagleBone Black

Expert 1595 points
Other Parts Discussed in Thread: Z-STACK

Hi all,

I am running into problems try to flash the ninjablocks image onto the BeagleBone Black EMMC. I followed the instructions on the Wiki. The three leds closer to the ethernet port are blinking on and off at the same time. I have this running for 4 hours last night and I don't see the LED turning solid or going off. I tried for 2 hours this morning and its still the same.

The beaglebone I have is a Black REV C from Element14 and the image I used is from:
s3.amazonaws.com/.../Ninja-Factory-Recovery-20-12-2013.img.gz

I am using a 16GB Class10 microSD card.

Any ideas what could have gone wrong?

Regards,

Kian

  • Update:
    Some forums said that all the 3 LEDs should be ON, some said that all the LEDs should be off after flashing is completed.

    For me, I think when the image is flashed successfully into the EMMC, the 3 leds should be flashing on and off at the same time. And it only took me about 15-20 mins for the flashing to be completed. I took out the microsd and powered up the beaglebone black (BBB) with the USB connected to my computer. I am able to use a serial terminal and communicate with the board. Its showing Ubuntu OS for ninjablock. So I guess its flashed successfully.

    I can see the zigbee drivers using this command:
    cd /opt/ninja/drivers

    Now I am having other problems trying to get the Zlight to be detected by the gateway. Again, following the instructions on the Wiki, I configured the USB dongle as a ZLL Control Bridge. Then I connect the dongle to the BBB and plugged in the Ethernet cable. I checked that the BBB is assigned an IP address with the command: ifconfig

    I verified that the Zigbee service is running using the command: tail -f /opt/ninja/zbStartUp.log and I can see this:

    getFwModel from /dev/ttyACM0
    getFwModel from /dev/ttyACM1
    getFwModel from /dev/ttyACM2
    getFwModel from /dev/ttyACM3
    getFwModel from /dev/ttyACM4
    getFwModel from /dev/ttyO4
    getFwModel from /dev/ttyACM0
    Found device: /dev/ttyACM0
    modelId: Model ID:TI SampleBridge
    Starting zllGateway with /dev/ttyACM0

    My android phone has the Zllcontroller app installed. It is connected to the same network. When I launch the app, I entered the HA Gateway IP address. It is able to connect successfully.

    Next I powered on a Zlight. I tried to factory reset it by pressing on the reset button for 4 seconds. I waited for more than a minute, but the Zlight is not detect by the gateway.

    I really don't know what is wrong. Can anyone suggest how I can troubleshoot?


    Regards,
    Kian
  • Anyone? TI Employees??
  • TI has not maintained Zigbee Lighting Gateway reference design for a while. If you don't have to use ZLL profile, I would suggest to you using Zigbee Linux Home gateway instead of Zigbee lighting gateway.
  • YiKai Chen said:
    TI has not maintained Zigbee Lighting Gateway reference design for a while. If you don't have to use ZLL profile, I would suggest to you using Zigbee Linux Home gateway instead of Zigbee lighting gateway.

    Hi YiKai,

    I am actually using the Zigbee Linux Home gateway and following the instructions in this wiki:

    processors.wiki.ti.com/.../ZigBee_Lighting_Gateway

    But nothing seems to work. I am almost giving up....

    Regards,

    Kian

  • The wiki link you listed is Zigbee Lighting gateway. You can find Z-Stack Linux Home gateway reference design at www.ti.com/.../CC2531EM-IOT-HOME-GATEWAY-RD.