In JN-AN-1229, there are many networking errors.

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

In JN-AN-1229, there are many networking errors.

4,269 Views
377086561
Contributor II

According to the networking process in JN-AN-1229, I did not change it, but the routing device could not enter the network of the coordinator. Can you tell me how to set up the network?

I follow this JN-UG-3113 document.To operate.

5.1 Forming a Network

But when you join the network, it always goes wrong.

AN1184_ZBP_Router/Source/app_router.c:192: APP: No event to process!
../../AN1184_ZBP_Router/Source/app_router.c:299: APP: Network discovery complete
../../AN1184_ZBP_Router/Source/app_router.c:304: APP: Found 1 networks
../../AN1184_ZBP_Router/Source/app_router.c:331: APP: Unscanned channels 00000000
../../AN1184_ZBP_Router/Source/app_router.c:332: APP: Ext PAN ID = 0000000000000008
../../AN1184_ZBP_Router/Source/app_router.c:333: APP: Channel = 22
../../AN1184_ZBP_Router/Source/app_router.c:334: APP: Stack Profile = 2
../../AN1184_ZBP_Router/Source/app_router.c:335: APP: Zigbee Version = 2
../../AN1184_ZBP_Router/Source/app_router.c:336: APP: Permit Joining = 1
../../AN1184_ZBP_Router/Source/app_router.c:337: APP: Router Capacity = 1
../../AN1184_ZBP_Router/Source/app_router.c:338: APP: End Device Capacity = 1
../../AN1184_ZBP_Router/Source/app_router.c:343: APP: u64ApsUseExtendedPanid == 0000000000000000 ; u64ExtPanId == 0000000000000000
../../AN1184_ZBP_Router/Source/app_router.c:350: APP: Trying Joining network
../../AN1184_ZBP_Router/Source/app_router.c:360: APP: Failed to join network reason = 8b
../../AN1184_ZBP_Router/Source/app_router.c:192: APP: No event to process!
../../AN1184_ZBP_Router/Source/app_router.c:192: APP: No event to process!
../../AN1184_ZBP_Router/Source/app_router.c:192: APP: No event to process!
../../AN1184_ZBP_Router/Source/app_router.c:192: APP: No event to process!
../../AN1184_ZBP_Router/Source/app_router.c:192: APP: No event to process!

Currently I am using JN-UG-3113, just to let the route and coordinator network, I have not added other content, I just added ZPS_vAplSecSetInitialSecurityState (ZPS_ZDO_PRECONFIGURED_LINK_KEY,
                                                             au8DefaultTCLinkKey,
                                                             0x00,
                                                             ZPS_APS_GLOBAL_LINK_KEY);
The purpose is to solve the ZPS_APL_APS_E_SECURITY_FAIL error.
But now there is ZPS_APL_ZDP_E_NOT_PERMITTED, this error.

?mario_castaneda


I hope to get a reply as soon as possible

0 Kudos
14 Replies

3,841 Views
1039521082
Contributor II

1.1229原版肯定没有问题,我们用的也是基于1229的,注意协调器和路由的秘钥及zpsconfig、makefile配置要一致

2.尝试调整大boardcast table 广播表大小

3.把zpsconfig文件贴上来看看

0 Kudos

3,841 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi Xuanpu,

Is it possible that you could enter your questions in English?

Regards,

Mario

0 Kudos

3,841 Views
1039521082
Contributor II

I said,

1.AN1229 is right  without problem, we use too. Attetion that TCLKEY/makefile should be same between router and Coord

2.Try to large Broadcast Transaction Table Size 

3.show you zpsconfig

0 Kudos

3,841 Views
377086561
Contributor II

Hi Xuanpu Gu,

I transferred it after I2c, thank you. But at present I have a problem. When I use the IO trigger to wake up the terminal device, I found that during the normal wake-up process, no matter how the IO port is triggered, only one wake-up interrupt can be triggered. I want to ask if you have encountered it.

1039521082@qq.commario_castaneda

0 Kudos

3,841 Views
1039521082
Contributor II

 one wake-up interrupt ”--you mean only system controller priority interrupt is generated?

If so, it is right. No matter whether wakeup timer is triggered or DIO is triggered, interrupt only generated in  system controller priority interrupt ISR. You should distinguish them by u32AHI_DioInterruptStatus and u8AHI_WakeTimerFiredStatus.

PS: you mentioned terminal device above, is ZED(Zigbee enddevice), I guess

0 Kudos

3,841 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi,

Xuanpu is right. the interrupts must be cleared using the functions indicated.

DIO interrupts may be cleared using u32AHI_DioInterruptStatus() or vAHI_DioWakeStatus()

Please look at the  https://www.nxp.com/docs/en/user-guide/JN-UG-3075.pdf 

Regards,

Mario

0 Kudos

3,840 Views
377086561
Contributor II

Hi 

Thank you for your help, the previous problem has been solved.

But now I have encountered new troubles about sending. I know that the normal transmission data is 80 bytes, but when I want to transfer 256 bytes, I find that the transmitted data sometimes fails or there is no ack, and the data does not arrive. End device.

I am using ZPS_eAplAfUnicastAckDataReq to transfer

The errors that occurred are ZPS_APL_APS_E_NO_ACK and ZPS_APL_APS_E_ILLEGAL_REQUEST

I want to know how to make our transmissions safer and data transfer faster?

Thank you for your help and reply 1039521082@qq.com mario_castaneda

0 Kudos

3,841 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi,

The errors that occurred are

ZPS_APL_APS_E_NO_ACK The ack issue is from the other device that you have connected

ZPS_APL_APS_E_ILLEGAL_REQUEST A parameter value was out of range.

Did you look at the  https://www.nxp.com/docs/en/user-guide/JN-UG-3113.pdf?

B.1 Fragmented Data Transfers 

B.1.1 Enabling/Disabling Fragmentation

pastedImage_2.png

Please let me know if it helps.

Regards,

Mario

3,841 Views
377086561
Contributor II

对的,由于秘钥的问题,我才无法连接的。请问一下你有没有做I2C这方面的通信,我最近遇到一点问题,可以加一下你的QQ或者微信交流一下吗?@Xuanpu Gu 

0 Kudos

3,841 Views
1039521082
Contributor II

I2c驱动我们用的是FAE提供的,你可以简单描述下问题,我不一定能帮上

I2c driver I used is supplied by NXP FAE, not made by myself. You can simply describle your problem, I may not handle it.

0 Kudos

3,841 Views
1039521082
Contributor II

如果需要 我可以把我们用的I2c驱动发给你

0 Kudos

3,841 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

hI,

I am using the JN-AN-1216 Coordinator.

Are you working on the JN-AN-1229 or the JN-AN-1184?

if you are using the 1184. Did you add the code in the  app_router.c?

    /* Initialise ZBPro stack */
    ZPS_eAplAfInit();

    ZPS_vAplSecSetInitialSecurityState(ZPS_ZDO_PRECONFIGURED_LINK_KEY,
                                       au8DefaultTCLinkKey,
                                       0x00,
                                       ZPS_APS_GLOBAL_LINK_KEY);

I ran some test with 1229 and it could join the network successfully.

pastedImage_1.png

Regards,

Mario

0 Kudos

3,841 Views
377086561
Contributor II

Thank you for your reply, I have already modified it. Not in the process of using BeyondStudio for NXP now, I want to add source files and header files but I get an errorZPY}I)HY8_4[X{~PQ(7}P4N.png

0 Kudos

3,841 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi,

Could you please try changing another source file?

pastedImage_1.png

Regards,

Mario

0 Kudos