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.

ZNP NWK_MGR/MAIN Endpoint Registration Failed

Other Parts Discussed in Thread: AM3358, CC2592, CC2538, CC2530, Z-STACK

hi all,

when i run znp at my custom board(AM3358+CC2538+cc2592)

it have some error, about OTA server**1

"

Could not register OTA endpoint with zstackserver **2

"

i try to disable OTA server, but it also some error with NWK_MGR/MAIN(Registering ZDO Callbacks Failed)

how can i open the debug log with zigbeeHA

**1:

root@arm:~/servers# ./zigbeeHAgw bbb
running zigbeegw.scr on an ARM
resetting beaglebone black
 sleeping 6 seconds after reset... Using serial port: /dev/ttyO5
Received System version.
  Transport Protocol Version: 2
  Product ID: 0
  Software Release: 2.6.3
  Software Revision: 0
  (Revision not specified)
done
Starting the ZigBee gateway subsystem
deviceKey = 0  (0 )
devPath = '/dev/ttyO5'
logPath = './NpiLnxLog.txt'
... freeing memory (ret 0)
Port: 2533
Following IP addresses are available:

 IPv4: interface: lo     IP Address 127.0.0.1
 IPv4: interface: eth0   IP Address 192.168.159.148
The socket will listen on the following IP addresses:

  IPv4: 0.0.0.0
  IPv6: ::
0.0.0.0 means it will listen to all available IP address

waiting for first connection on #3...
NPI started (pid 2261) at Mon Feb  6 14:09:27 CST 2017
Connected to #5.(127.0.0.1 / ::a741:f2b6:e865:e4b6)
ZLSZNP started (pid 2268) at Mon Feb  6 14:09:31 CST 2017
[NWK_MGR/MAIN] :  there are 2 args
[NWK_MGR/MAIN] :  argv[0] = ./NWKMGR_SRVR_arm
[NWK_MGR/MAIN] :  argv[1] = 127.0.0.1:2536
[NWK_MGR/MAIN] :  ************************************************
[NWK_MGR/MAIN] :  *         Network Manager Server v1.0.1        *
[NWK_MGR/MAIN] :  * The following are the avaible key commands:  *
[NWK_MGR/MAIN] :  * Exit Program.                         -  q   *
[NWK_MGR/MAIN] :  ************************************************

NETWORK MANAGER started (pid 2276) at Mon Feb  6 14:09:32 CST 2017
[GATEWAY/MAIN] :
[GATEWAY/MAIN] :  ************************************************
[GATEWAY/MAIN] :  *            Gateway Server v1.0.1             *
[GATEWAY/MAIN] :  * The following are the avaible key commands:  *
[GATEWAY/MAIN] :  * Exit Program.                         -  q   *
[GATEWAY/MAIN] :  ************************************************

GATEWAY SERVER started (pid 2284) at Mon Feb  6 14:09:34 CST 2017
[OTASRVR/MAIN] :
[OTASRVR/MAIN] :  ************************************************
[OTASRVR/MAIN] :  *                OTA Upgrade Server 1.0.1      *
[OTASRVR/MAIN] :  * The following are the avaible key commands:  *
[OTASRVR/MAIN] :  * Exit Program.                         -  q   *
[OTASRVR/MAIN] :  ************************************************

[NWK_MGR/MAIN] ERROR: Endpoint Registration Failed
[NWK_MGR/MAIN] ERROR: Registering ZDO Callbacks Failed
[NWK_MGR/MAIN] ERROR: Reading Local Network Information Failed
[NWK_MGR/MAIN] : Initialization failed. Quitting now. mhoyt

OTA SERVER started (pid 2294) at Mon Feb  6 14:09:36 CST 2017
[OTASRVR/MAIN] :
Error - Could not register OTA endpoint with zstackserver.Exiting...

starting tracker with our pid ./zigbeeHAgw and pid list 2261 2268 2284 2294
===================================================
NETWORK MANAGER exited with code 255 at Mon Feb  6 14:09:36 CST 2017
./zigbeeHAgw: line 482:  2308 Killed                  ./track_servers $$ "$pids"
./zigbeeHAgw: line 610: killall: command not found
send: Connection reset by peer
[GATEWAY/MAIN] : Initialization failed. Quitting now.

./zigbeeHAgw: line 627: killall: command not found

**2:

NWK_MGR/MAIN] ERROR: Endpoint Registration Failed
[NWK_MGR/MAIN] ERROR: Registering ZDO Callbacks Failed
[NWK_MGR/MAIN] ERROR: Reading Local Network Information Failed
[NWK_MGR/MAIN] : Initialization failed. Quitting now. mhoyt

**3:

ewarm
FEATURE_SYSTEM_STATS
xPOWER_SAVING
CC2538_USE_ALTERNATE_INTERRUPT_MAP=1
CC2538ZNP
FEATURE_RESET_MACRO
ASSERT_RESET
FAKE_CRC_SHDW
ZDNWKMGR_MIN_TRANSMISSIONS=0
xHAL_SPI=TRUE
ZNP_ALT
MT_UART_DEFAULT_OVERFLOW=FALSE
xHAL_UART_USB
xUSB_SETUP_MAX_NUMBER_OF_INTERFACES=5
TC_LINKKEY_JOIN
HAL_UART=TRUE
MT_ZDO_MGMT
MT_ZDO_EXTENSIONS
PA_LNA_CC2592
HAL_PA_LNA
OSC32K_CRYSTAL_INSTALLED
MT_ZDO_CB_FUNC
MT_ZDO_FUNC