ZigBee stack error on kw41z

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

ZigBee stack error on kw41z

836 Views
yaroslav_kyryle
Contributor I

HI!

When transferring an example from the SDK to a custom project, I encountered a number of errors.

/-----------------------------------------------------------------------------------------------------------------------------------------------
Memory region Used Size Region Size %age Used
PROGRAM_FLASH: 324836 B 499456 B 65.04%
APP_HDR: 256 B 256 B 100.00%
./src/zigbee_3_0_6.0.9/core/ZigbeeCommon/Source/zps_globals.o:(.data.s_sApl+0x9c): undefined reference to `s_sNodeDescriptor'
./src/zigbee_3_0_6.0.9/core/ZigbeeCommon/Source/zps_globals.o:(.data.s_sApl+0xa0): undefined reference to `s_sNodePowerDescriptor'
./src/zigbee_3_0_6.0.9/core/ZigbeeCommon/Source/zps_globals.o:(.data.s_sApl+0xa8): undefined reference to `s_asSimpleDescConts'
./src/hmil/third_party/nxp/kw41z/framework/OSAbstraction/fsl_os_abstraction_free_rtos.o: In function `OSA_MutexLock':
D:\Projects\FWTEAM-290\hmil-demo\Debug/../src/hmil/third_party/nxp/kw41z/framework/OSAbstraction/fsl_os_abstraction_free_rtos.c:455: undefined reference to `xQueueGetMutexHolder'
./src/hmil/third_party/nxp/kw41z/framework/OSAbstraction/fsl_os_abstraction_free_rtos.o: In function `OSA_MutexUnlock':
D:\Projects\FWTEAM-290\hmil-demo\Debug/../src/hmil/third_party/nxp/kw41z/framework/OSAbstraction/fsl_os_abstraction_free_rtos.c:500: undefined reference to `xQueueGetMutexHolder'
./src/hmil/third_party/nxp/kw41z/framework/NVM/Source/NV_Flash.o: In function `__NvAtomicSave':
D:\Projects\FWTEAM-290\hmil-demo\Debug/../src/hmil/third_party/nxp/kw41z/framework/NVM/Source/NV_Flash.c:1711: undefined reference to `__start_NVM_TABLE'
D:\Projects\FWTEAM-290\hmil-demo\Debug/../src/hmil/third_party/nxp/kw41z/framework/NVM/Source/NV_Flash.c:1711: undefined reference to `__stop_NVM_TABLE'
./src/hmil/third_party/nxp/kw41z/framework/NVM/Source/NV_Flash.o: In function `__NvIdle':
D:\Projects\FWTEAM-290\hmil-demo\Debug/../src/hmil/third_party/nxp/kw41z/framework/NVM/Source/NV_Flash.c:2033: undefined reference to `NV_STORAGE_SECTOR_SIZE'
./src/hmil/third_party/nxp/kw41z/framework/NVM/Source/NV_Flash.o: In function `__NvTimerTick':
D:\Projects\FWTEAM-290\hmil-demo\Debug/../src/hmil/third_party/nxp/kw41z/framework/NVM/Source/NV_Flash.c:2263: undefined reference to `__start_NVM_TABLE'
D:\Projects\FWTEAM-290\hmil-demo\Debug/../src/hmil/third_party/nxp/kw41z/framework/NVM/Source/NV_Flash.c:2263: undefined reference to `__stop_NVM_TABLE'
./src/hmil/third_party/nxp/kw41z/framework/NVM/Source/NV_Flash.o: In function `NvInternalCopy':
D:\Projects\FWTEAM-290\hmil-demo\Debug/../src/hmil/third_party/nxp/kw41z/framework/NVM/Source/NV_Flash.c:3863: undefined reference to `__start_NVM_TABLE'
./src/hmil/third_party/nxp/kw41z/framework/NVM/Source/NV_Flash.o: In function `NvCopyPage':
D:\Projects\FWTEAM-290\hmil-demo\Debug/../src/hmil/third_party/nxp/kw41z/framework/NVM/Source/NV_Flash.c:4414: undefined reference to `__start_NVM_TABLE'
./src/hmil/third_party/nxp/kw41z/framework/NVM/Source/NV_Flash.o: In function `NvSaveRamTable':
D:\Projects\FWTEAM-290\hmil-demo\Debug/../src/hmil/third_party/nxp/kw41z/framework/NVM/Source/NV_Flash.c:4546: undefined reference to `__start_NVM_TABLE'
./src/hmil/third_party/nxp/kw41z/framework/NVM/Source/NV_Flash.o: In function `NvGetEntryFromDataPtr':
D:\Projects\FWTEAM-290\hmil-demo\Debug/../src/hmil/third_party/nxp/kw41z/framework/NVM/Source/NV_Flash.c:4780: undefined reference to `__start_NVM_TABLE'
D:\Projects\FWTEAM-290\hmil-demo\Debug/../src/hmil/third_party/nxp/kw41z/framework/NVM/Source/NV_Flash.c:4780: undefined reference to `__stop_NVM_TABLE'
./src/hmil/third_party/nxp/kw41z/framework/NVM/Source/NV_Flash.o: In function `NvWriteRecord':
D:\Projects\FWTEAM-290\hmil-demo\Debug/../src/hmil/third_party/nxp/kw41z/framework/NVM/Source/NV_Flash.c:5065: undefined reference to `__start_NVM_TABLE'
D:\Projects\FWTEAM-290\hmil-demo\Debug/../src/hmil/third_party/nxp/kw41z/framework/NVM/Source/NV_Flash.c:5179: undefined reference to `__start_NVM_TABLE'
./src/hmil/third_party/nxp/kw41z/framework/NVM/Source/NV_Flash.o: In function `NvRestoreData':
D:\Projects\FWTEAM-290\hmil-demo\Debug/../src/hmil/third_party/nxp/kw41z/framework/NVM/Source/NV_Flash.c:5447: undefined reference to `__start_NVM_TABLE'
./src/hmil/third_party/nxp/kw41z/framework/NVM/Source/NV_Flash.o: In function `NvGetTableEntryIndexFromId':
D:\Projects\FWTEAM-290\hmil-demo\Debug/../src/hmil/third_party/nxp/kw41z/framework/NVM/Source/NV_Flash.c:5473: undefined reference to `__start_NVM_TABLE'
D:\Projects\FWTEAM-290\hmil-demo\Debug/../src/hmil/third_party/nxp/kw41z/framework/NVM/Source/NV_Flash.c:5473: undefined reference to `__stop_NVM_TABLE'
./src/hmil/third_party/nxp/kw41z/framework/NVM/Source/NV_Flash.o: In function `__NvCompletePendingOperations':
D:\Projects\FWTEAM-290\hmil-demo\Debug/../src/hmil/third_party/nxp/kw41z/framework/NVM/Source/NV_Flash.c:5740: undefined reference to `__stop_NVM_TABLE'
D:\Projects\FWTEAM-290\hmil-demo\Debug/../src/hmil/third_party/nxp/kw41z/framework/NVM/Source/NV_Flash.c:5740: undefined reference to `__start_NVM_TABLE'
SRAM: 103548 B 128 KB 79.00%
./src/hmil/third_party/nxp/kw41z/framework/Flash/Internal/Flash_Adapter.o: In function `NV_ReadHWParameters':
D:\Projects\FWTEAM-290\hmil-demo\Debug/../src/hmil/third_party/nxp/kw41z/framework/Flash/Internal/Flash_Adapter.c:482: undefined reference to `FREESCALE_PROD_DATA_BASE_ADDR'
D:\Projects\FWTEAM-290\hmil-demo\src\libs\lib_zps_cm0.a(zps_apl_sec.o): In function `zps_pvAesGetKeyFromInstallCode':
R:\middleware\wireless\zigbee_3_0\core\ZPSAPL\Source\APS\zps_apl_sec.c:(.text+0xd2): undefined reference to `AESSW_vMMOFinalUpdate'
D:\Projects\FWTEAM-290\hmil-demo\src\libs\lib_zps_cm0.a(zps_apl_sec.o): In function `.text_16':
R:\middleware\wireless\zigbee_3_0\core\ZPSAPL\Source\APS\zps_apl_sec.c:(.text+0x248): undefined reference to `AESSW_vHMAC_MMO'
D:\Projects\FWTEAM-290\hmil-demo\src\libs\lib_zps_cm0.a(zps_apl_sec.o): In function `no symbol':
R:\middleware\wireless\zigbee_3_0\core\ZPSAPL\Source\APS\zps_apl_sec.c:(.text+0x25e): undefined reference to `AESSW_vMMOFinalUpdate'
D:\Projects\FWTEAM-290\hmil-demo\src\libs\lib_zps_cm0.a(zps_apl_zdo_nwkmanager.o): In function `zps_vAplSaveRecord':
R:\middleware\wireless\zigbee_3_0\core\ZPSAPL\Source\ZDO\zps_apl_zdo_nwkmanager.c:(.text+0x7a): undefined reference to `ZPS_pau8EpMapPresent'
R:\middleware\wireless\zigbee_3_0\core\ZPSAPL\Source\ZDO\zps_apl_zdo_nwkmanager.c:(.text+0x9e): undefined reference to `ZPS_pu8MaxZpsConfigEp'
D:\Projects\FWTEAM-290\hmil-demo\src\libs\lib_zps_cm0.a(zps_apl_zdo_nwkmanager.o): In function `zps_eAplZdoInit':
R:\middleware\wireless\zigbee_3_0\core\ZPSAPL\Source\ZDO\zps_apl_zdo_nwkmanager.c:(.text+0x41c): undefined reference to `ZPS_pau8EpMapPresent'
R:\middleware\wireless\zigbee_3_0\core\ZPSAPL\Source\ZDO\zps_apl_zdo_nwkmanager.c:(.text+0x422): undefined reference to `ZPS_pau8EpMapPresent'
R:\middleware\wireless\zigbee_3_0\core\ZPSAPL\Source\ZDO\zps_apl_zdo_nwkmanager.c:(.text+0x44e): undefined reference to `ZPS_pu8MaxZpsConfigEp'
collect2.exe: error: ld returned 1 exit status
make[1]: *** [makefile:126: hmil-demo.axf] Error 1
make: *** [makefile:117: all] Error 2

Labels (2)
0 Kudos
1 Reply

700 Views
estephania_mart
NXP TechSupport
NXP TechSupport

Hello, 

The issue you are experiencing it's due to the different settings regarding the Wireless Connectivity libraries. I would recommend you to use one of the examples as a base as those are already configured, you can check either the router, coordinator or end device example projects. 

Regards, 

Estephania 

0 Kudos