This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Zigbee v4.1 examples not working with keil

Hello everyone.

I'm trying to run examples provided in Zigbee v4.1 https://www.nordicsemi.com/-/media/Software-and-other-downloads/SDKs/nRF5-SDK-for-Thread/nRF5-SDK-for-Thread-and-Zigbee/nRF5SDKforThreadv41.zip with Keil V5.33 but I've got this error:

Error #544: Required Software Pack 'NordicSemiconductor.nRF_DeviceFamilyPack_NordicLicense.8.27.0' is not installed

After googling for answer, I found https://raytac.blog/2019/12/12/how-to-update-nrf-devicefamilypack-version-to-8-27-1/ and similar answers. But error is still remain.

Thanks.

  • Hello, 

    Are you able to provide some screenshots of your setup? Have you verified that 8.27.1 is installed correctly? And that you have enabled it in Software Packs for Target?

    Kind regards,
    Øyvind


  • Thank you for your fast respond.
    sorry me description was misleading. I tried for v8.38. Now after some modification (which I'm not sure what I've done)  error changed.

    Rebuild started: Project: zigbee_light_switch_pca10056
    *** Using Compiler 'V5.06 update 7 (build 960)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
    Rebuild target 'nrf52840_xxaa'
    compiling boards.c...
    compiling bsp.c...
    compiling zb_error_to_string.c...
    compiling zb_nrf52_nvram.c...
    compiling zb_nrf52_common.c...
    compiling zb_nrf52_nrf_logger.c...
    compiling main.c...
    compiling zb_zcl_common_addons.c...
    compiling zb_nrf52_timer.c...
    compiling zb_nrf52_sdk_config_deps.c...
    compiling nrf_drv_uart.c...
    compiling nrf_drv_rng.c...
    compiling nrf_drv_clock.c...
    compiling nrf_nvic.c...
    compiling nrf_ecb.c...
    compiling nrf_soc.c...
    compiling nrf_nvmc.c...
    compiling zb_zcl_ota_upgrade_addons.c...
    compiling zb_nrf52_transceiver.c...
    compiling nrfx_atomic.c...
    compiling nrfx_clock.c...
    compiling nrfx_gpiote.c...
    compiling nrfx_prs.c...
    compiling app_error.c...
    compiling nrfx_systick.c...
    compiling nrfx_rng.c...
    compiling nrfx_timer.c...
    compiling nrfx_uart.c...
    compiling nrfx_uarte.c...
    compiling app_button.c...
    compiling assert.c...
    compiling nrf_assert.c...
    compiling app_util_platform.c...
    compiling app_error_handler_keil.c...
    compiling app_scheduler.c...
    compiling drv_rtc.c...
    compiling app_timer2.c...
    compiling nrf_atfifo.c...
    compiling nrf_fprintf.c...
    compiling nrf_atomic.c...
    compiling nrf_fprintf_format.c...
    compiling nrf_balloc.c...
    compiling nrf_fstorage_nvmc.c...
    compiling nrf_fstorage.c...
    compiling nrf_memobj.c...
    compiling nrf_section_iter.c...
    compiling nrf_strerror.c...
    compiling nrf_ringbuf.c...
    compiling nrf_sortlist.c...
    compiling nrf_queue.c...
    compiling nrf_pwr_mgmt.c...
    compiling nrf_log_default_backends.c...
    compiling nrf_log_str_formatter.c...
    compiling nrf_log_backend_serial.c...
    assembling arm_startup_nrf52840.s...
    compiling nrf_log_backend_uart.c...
    compiling nrf_log_frontend.c...
    compiling system_nrf52.c...
    C:\Users\Naser\AppData\Local\Arm\Packs\NordicSemiconductor\nRF_DeviceFamilyPack\8.38.0\Device\Include\nrf_erratas.h(39): error:  #79: expected a type specifier
      NRF_MDK_VERSION_ASSERT_AT_LEAST(8,34,0);
    C:\Users\Naser\AppData\Local\Arm\Packs\NordicSemiconductor\nRF_DeviceFamilyPack\8.38.0\Device\Include\nrf_erratas.h(39): error:  #79: expected a type specifier
      NRF_MDK_VERSION_ASSERT_AT_LEAST(8,34,0);
    C:\Users\Naser\AppData\Local\Arm\Packs\NordicSemiconductor\nRF_DeviceFamilyPack\8.38.0\Device\Include\nrf_erratas.h(39): error:  #79: expected a type specifier
      NRF_MDK_VERSION_ASSERT_AT_LEAST(8,34,0);
    C:\Users\Naser\AppData\Local\Arm\Packs\NordicSemiconductor\nRF_DeviceFamilyPack\8.38.0\Device\Include\nrf_erratas.h(39): error:  #260-D: explicit type is missing ("int" assumed)
      NRF_MDK_VERSION_ASSERT_AT_LEAST(8,34,0);
    C:\Users\Naser\AppData\Local\Arm\Packs\NordicSemiconductor\nRF_DeviceFamilyPack\8.38.0\Device\Include\nrf51_erratas.h(40): error:  #130: expected a "{"
      static bool nrf51_errata_1(void) __UNUSED;
    C:\Users\Naser\AppData\Local\Arm\Packs\NordicSemiconductor\nRF_DeviceFamilyPack\8.38.0\Device\Include\nrf51_erratas.h(133): warning:  #12-D: parsing restarts here after previous syntax error
      {
    C:\Users\Naser\AppData\Local\Arm\Packs\NordicSemiconductor\nRF_DeviceFamilyPack\8.38.0\Device\Include\nrf52_erratas.h(40): error:  #130: expected a "{"
      static bool nrf52_errata_1(void) __UNUSED;
    C:\Users\Naser\AppData\Local\Arm\Packs\NordicSemiconductor\nRF_DeviceFamilyPack\8.38.0\Device\Include\nrf52_erratas.h(238): warning:  #12-D: parsing restarts here after previous syntax error
      {
    C:\Users\Naser\AppData\Local\Arm\Packs\NordicSemiconductor\nRF_DeviceFamilyPack\8.38.0\Device\Include\nrf53_erratas.h(40): error:  #130: expected a "{"
      static bool nrf53_errata_1(void) __UNUSED;
    C:\Users\Naser\AppData\Local\Arm\Packs\NordicSemiconductor\nRF_DeviceFamilyPack\8.38.0\Device\Include\nrf53_erratas.h(150): warning:  #12-D: parsing restarts here after previous syntax error
      {
    C:\Users\Naser\AppData\Local\Arm\Packs\NordicSemiconductor\nRF_DeviceFamilyPack\8.38.0\Device\Include\nrf91_erratas.h(40): error:  #130: expected a "{"
      static bool nrf91_errata_1(void) __UNUSED;
    C:\Users\Naser\AppData\Local\Arm\Packs\NordicSemiconductor\nRF_DeviceFamilyPack\8.38.0\Device\Include\nrf91_erratas.h(78): warning:  #12-D: parsing restarts here after previous syntax error
      {
    RTE\Device\nRF52840_xxAA\system_nrf52.c: 4 warnings, 8 errors
    compiling zigbee_logger_eprxzcl.c...
    compiling zigbee_helpers.c...
    ".\_build\nrf52840_xxaa.axf" - 8 Error(s), 4 Warning(s).
    Target not created.
    Build Time Elapsed:  00:00:40

  • Thanks for providing this information. Can you please try with 8.27.1 only, as the 8.38 may be a too big leap.

  • Hello again, 

    My colleague tested with v8.38 and built a Zigbee example. 

    In your folder settings you need to remove the following include path:

    Then you should be able to build using v8.38

    Let me know how that works for you.

    Kind regards,
    Øyvind

Related