Update Network Co-Processor Firmware
The ZigBee/Thread radio on the ARTIK module works with the main processor on the module in what is called network co-processor (NCP) operation. The radio takes on its identity, as either a ZigBee device or a Thread device, depending on the firmware that has been flashed to it.
The factory default firmware gives the module a ZigBee identity. For Thread operation or to use a newer revision of ZigBee, different firmware must be flash-uploaded.
New network co-processor firmware must first be copied to the ARTIK processor module file system, and from there flashed to the radio chip on the module.
- ARTIK 520, 710, and 1020 modules use the EM3587 radio chip as NCP
- ARTIK 530 modules use the EFR32 radio chip as NCP.
Before you begin: You need to stop any currently running process that might be using the serial port linking the NCP to the main processor.
psat the Linux prompt to see if the
ip-driver-appprocess is running; kill it if so.
systemctl status zigbee-daemonto see if the ZigBee daemon is running; type
systemctl stop zigbee-daemonif so.
Otherwise, the update will fail with a 'port open' error.
Load the NCP firmware
The uploading procedure is short, but the file names are long! Review the instructions and table carefully before you start so that you copy only the needed files.
To your development PC, download the latest ncp_firmware_20yy_mm_dd.zip package and extract the files for your module.
xxx.ebl(all options for module
Determine the correct
.eblfile to use for your intended ZigBee or Thread stack.
- On your ARTIK board, at the root directory:
- Copy over the correct
- Copy over the
chmod 777 flash_firmware
to make the file executable.
- Copy over the correct
- Run the following command to use the internal serial port to transfer the file to the EM3587 or EFR32 radio IC.
./flash_firmware -p /dev/ttyxxxx -f ncp-xxx.ebl
ttyxxxxis shown in the table below and
ncp-xxx.eblis the file you copied above.
|Serial port||Flow control||key words in .ebl file name|
The ZigBee or Thread NCP firmware is now flashed into the radio and will be retained until replaced.
If you see
'port open' error: There may be an NCP driver running. Try killing the
ip-driver-appprocess, or running
systemctl stop zigbee-daemon
'open fail' error on ARTIK 520 or 1020:
open fail : /sys/devices/virtual/sec/artik_zb_power/recovery
then try adding
-d artik1020to the command line.