I am working on Windows, using NRF Connect SDK 1.5.0 (have also tried the SDK 1.5.0r-rc1, with an updated nrf_802154_serialization module to be able to compile).
I am using the SEGGER Embedded Studio for ARM Release 5.34a Build 2021011401.44914 Nordic Edition.
I am able to compile and program the Zigbee light_bulb sample, but get this output, when pressing button 4, to wnable Identify mode:
I: nRF5 802154 radio initialized
*** Booting Zephyr OS build v2.4.99-ncs1 ***
I: Production configuration is not present or invalid (status: -1)
I: Zigbee stack initialized
I: Device started for the first time
I: Start network steering
I: Started network rejoin procedure.
I: Network steering was not successful (status: -1)
I: Network steering was not successful (status: -1)
E: ERROR 35 [RET_INVALID_STATE] at ../src/main.c:210
As the build target, the nrf5340dk_nrf5340_cpuapp is selected. In the network core, I have tried several possibilites:
First I built and used the zephyr sample 802154_rpmsg: zephyr\samples\boards\nrf\ieee802154\802154_rpmsg\build_nrf5340dk_nrf5340_cpunet\zephyr\zephyr.elf.
Then I tried the one that is built together with the light_bulb-sample: nrf\samples\zigbee\light_bulb\build_nrf5340dk_nrf5340_cpuapp\802154_rpmsg\zephyr\zephyr.elf
Both leads to the same error message when pressing button 4 on the DK: ERROR 35 [RET_INVALID_STATE] at ../src/main.c:210.
I have also tried the multiprotocol one: nrf\samples\nrf5340\multiprotocol_rpmsg\build_nrf5340dk_nrf5340_cpunet\zephyr\zephyr.elf, but with no luck.
In general I miss information about how to program the network core, for samples requiring the newrok core to be programmed. It seems to be problematic to program the network core. Often I get error messages when programming it, having to switch between projects, to provoke the AP-security question, so the chip erase is performed, before being able to program the network core.
I have been able to build and program the bluetooth sample nrf\samples\bluetooth\peripheral_hids_keyboard\build_nrf5340dk_nrf5340_cpuappns, so seems to be able to program apps using the network core as such. (The sample on SDK 1.5.0 now works even from an Android phone - good! :-).
Is the Zigbee samples verified to work on the nRF5340DK, and how do I get it to work?
What I would like to do, is to boot up the light_bulb sample, launch IDENTIFY mode, and try to connect to it from an Philips Hue hub.