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.

CC2538: Z-Stack-Linux and CC2538

Part Number: CC2538
Other Parts Discussed in Thread: CC2531, Z-STACK

Hi, I'm developing a Zigbee 3 Compliant gateway based on Linux which will communicate via UART or USB to a CC2538. Ideally the network topology I'd like to use is Mesh and the gateway will act as coordinator.
I'm struggling understanding the firmware and software stack to use for my goal. I was wondering if you could kindly provide an answer to my questions:

1. Ideally I'd like to use Z-Stack-Linux but it only supports ZHA. I've been also trying to understand if znp-host-framework could be an alternative but it's not clear if supports Zigbee 3 and if can provide OTA for the devices in the network.


2. So far I haven't found any firmware that enables the CC2538 to talk to Z-Stack-Linux allowing Routers and End Devices to join the network using a Link Key.
I tried using the firmware file included in the znp-host-framework repo (cc2538-znp-120-usb-tclk.hex) and another one found in the forum (ZNP.rar at
e2e.ti.com/.../1211956 but both don't seem to work properly with Z-Stack Linux as Routers and End Devices fail to join (do these binary have Link Key support?). Although I have no problem using Z-Stack-Linux with a CC2531 but that's not the device I want to use as coordinator.
I'd like to avoid buying and IAR ARM license for now just to compile a firmware image since I'm not sure this platform is compatible with my requirements (and unfortunately my trial has expired already).

3. Since being able to upgrade the firmware for the CC2538 in case of necessity is a requirement, can the Serial Boot Loader be used via both USB and UART protocol or does it only supports UART?

Thanks for your help.

John

  • Any help on this would be much appreciated.
  • 1. Ideally I'd like to use Z-Stack-Linux but it only supports ZHA. I've been also trying to understand if znp-host-framework could be an alternative but it's not clear if supports Zigbee 3 and if can provide OTA for the devices in the network.

    [] Current Zigbee Linux Gateway web release does not support Zigbee 3.0, this is coming soon. I cannot share roadmap timelines on a public forum, please contact your local TI representative for this.

    2. So far I haven't found any firmware that enables the CC2538 to talk to Z-Stack-Linux allowing Routers and End Devices to join the network using a Link Key.
    I tried using the firmware file included in the znp-host-framework repo (cc2538-znp-120-usb-tclk.hex) and another one found in the forum (ZNP.rar at
    e2e.ti.com/.../1211956 but both don't seem to work properly with Z-Stack Linux as Routers and End Devices fail to join (do these binary have Link Key support?). Although I have no problem using Z-Stack-Linux with a CC2531 but that's not the device I want to use as coordinator.
    I'd like to avoid buying and IAR ARM license for now just to compile a firmware image since I'm not sure this platform is compatible with my requirements (and unfortunately my trial has expired already).

    [] Joining mechanism is based on the ZHA profile in the current web release.


    3. Since being able to upgrade the firmware for the CC2538 in case of necessity is a requirement, can the Serial Boot Loader be used via both USB and UART protocol or does it only supports UART?

    [] If you want to update the CC2538 firmware via the linux host, it has a ROM serial bootloader.
    To build a serial bootloader for your ARM host you can look at the TI 15.4 stack (www.ti.com/.../ti-15.4-stack-gateway-linux-sdk). The documentation on how to use the example can be found (software-dl.ti.com/.../linux-example-applications.html , with usage information (software-dl.ti.com/.../linux-running-the-example-applications.html. Don’t be thrown off by the references to `cc13xx`, our bootloader interface hasn’t changed between the cc13xx, cc26xx, and cc2538; documentation on the interface itself can be found (www.ti.com/.../swra466a.pdf). The document describes the interfaces available