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

RTE\Device\nRF52832_xxAA\system_nrf52.c(29): error: #5: cannot open source input file "nrf_erratas.h": No such file or directory

I am using nRF52832, And SDK 15.3, the ble_app_blinky project,

   a.   if i have installed only the latest version of Device family 8.29.0 ,  when i try to build the project, it asks for permission to install 8.24.1 also.as shown in below fig

b. If I install version 8.24.1 in the pack installer as shown below, I get an error with erratas.h file



I have tried the solution given in other thread, to delete a file in module folder. But the error still persists. 

Can anyone kindly guide me?

Parents
  • Hi

    I found the nrf_erratas.h file, and it seems it is located in the path \Keil_v5\ARM\PACK\NordicSemiconductor\nRF_DeviceFamilyPack\8.29.0\Device\Include. Sorry to have misled you. Seems like there's an error with MDK version 8.29.0 where this file isn't included in the projects by itself. Please try adding it manually.

    Best regards,

    Simon

  • Can you please tell me, where i can find this file?  Whats the procedure to manually include?

    Because i dont find it in the SDK folder 

  • it is not exactly the same path as Simonr described,  but you can search nRF_DeviceFamilyPack\8.29.0\Device\Include, i do find that file in pack, but need to modify .h a little bit;

    my path is under ”C:\Users\user\AppData\Local\Arm\Packs“

  • Hi,

    I had exactly the same problem but finally I've sorted this issue:

    1. Remove nRF_DeviceFamilyPack version 8.29 because it looks like automatically add to system_nrf_528xx #include "nrf_erratas.h" which makes a problem.

    I am using 8.24.1 

    2. Close Keil

    2. Unzip once again the SDK and open blinky project (just to clear)

    3. Compile and should work.

  • Including that file, throws another error

  • Hey, Thank you so much. This helped

  • i have uploaded sdk 15 BLE blinky example, s132 soft device

    The nrf connect reads as below,

    Fullscreen
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX





    But, when i open BLE of nRF COnnect, i get the following error
    Fullscreen
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    ANd i cant view the device in App either

Reply
  • i have uploaded sdk 15 BLE blinky example, s132 soft device

    The nrf connect reads as below,

    Fullscreen
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX





    But, when i open BLE of nRF COnnect, i get the following error
    Fullscreen
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    ANd i cant view the device in App either

Children
  • Hi,

    Problem is not related to the previous one. Something silly with com port. 

    If you use win10 try to go to the device manager and disable this specific com port and enable it once again. then restart nrf connect and try.