ZPS_eAplAfInit() stuck

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ZPS_eAplAfInit() stuck

1,338 Views
jiajuntan
Contributor II

I am trying to run the coordinator from JN-AN-1217-Zigbee-3-0-Base-Device on JN5169. But the device seems to be stuck at ZPS_eAplAfInit(). Found this by inserting some debug printout, it seems like ZPS_eAplAfInit does not return. Any idea why?

***********************************************
* COORDINATOR RESET *
***********************************************
APP: Entering APP_vSetUpHardware()
APP: Entering APP_vInitResources()
APP: Entering APP_vInitialise()
Initialising UART ...Done

APP: Watchdog timer has reset device!

0 Kudos
9 Replies

981 Views
baskoevoets
Contributor I

Hi Jia Jun Tan,

I am running into a similar issue, what did you do to resolve this issue?

0 Kudos

981 Views
limcb
Contributor IV

Are you using a custom board or the eval kit ?

0 Kudos

981 Views
baskoevoets
Contributor I

I am using a custom board.

My issue is similar in that I also use a JN5169 chip and that my code gets stuck in ZPS_eAplAfInit().

But it is different in that I use a modified JN-AN-1223 (v1008 with added CIE code from JN-AN-1201) with JN-SW-4168 (v1470)

I had it previously working in an older version of JN-SW-4168, but wanted to update the SDK for some newer functions and bug fixes.
So I thought the OP might have some advice on how to get past the code being stuck in ZPS_eAplAfInit()

0 Kudos

981 Views
limcb
Contributor IV

Can you try run JN-AN-1172 and verify that the board successfully TX RX on the highest power settings without lockup? 

0 Kudos

981 Views
baskoevoets
Contributor I

yes, I can build and run this program.
at first glance, there doesn't appear to be in issue in running JN-AN-1172

0 Kudos

981 Views
jiajuntan
Contributor II

sorry, just saw the discussion. I eventually got it working by changing a parameter in zpscfg. But i don't have access to my code right now. Will find out which parameter that was and update here.

0 Kudos

981 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi Jia Jun Tan,

Can you confirm which JN-SW-4170 release you are using?

And are you using the DR1199 or USB Dongle binary?

Best Regards,

Mario

0 Kudos

981 Views
jiajuntan
Contributor II

I am using build 1396 and the USB Dongle binary.

0 Kudos

981 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi Jia Jun Tan,

Have you made any changes?

I have been unable to replicate this issue so far. Using build 1396, and the provided USB dongle binary loaded into a JN5169 USB, I receive the following debug;

***********************************************
* COORDINATOR RESET *
***********************************************
APP: Entering APP_vSetUpHardware()
APP: Entering APP_vInitResources()
APP: Entering APP_vInitialise()
Initialising UART ...Done
BDB_vSetKeys
Recovered Application State 0 On Network 0
APP: Entering BDB_vStart()
APP: Entering APP_vMainLoop()

Best Regards,

Mario

0 Kudos