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

How to tell Keil v5.18 to use nRF5x-MDK-Keil4 v8.5.0

I am evaluating the Keil compiler, version 5.18 with a Nordic development board (PCA100400) running the nRF52832

I just downloaded and installed Nordic's nRF5x-MDK-Keil4, ver 8.5.0 found at: ( www.nordicsemi.com/.../nRF52832) I ran the installer on this package and I can see it installed in my Windows 7 PC, in the control panel->Programs and features.

The problem I would like to solve is how to tell Keil 5.18 to find and use it. I tried Project->Options for Target->System Viewer File and I see and OLD version of the SVD file

Do you have any suggestions? Thank you!

Parents
    1. Using Keil 5, you should update the pack from the Pack Installer (Project -> Manage -> Pack Installer...). From there you should click the green arrows in the upper left corner to refresh the packs.

    2. Then click on the packs to update them. After that you should select the pack version (Project -> Manage -> Select Software Packs...). There you should select version 8.5.0 in the version dropdown menu.

    3. Right click on Device in the Project Window and select "Options for Component Class 'Device'". There

    4. You may have to rightclick on the system_nrf52.c and arm_startup_nrf52.s under "Device" in the Project Window and select to update the version.

  • Unfortunately, I still get the same error message. I removed the packs I am using and re-installed them and I got the same error and a new problem: after re-building all my files, I try to reload to the board and I get the error "No ULINK Device found". I know the board and the drivers are OK because I can download the same program using the IAR compiler and everything works OK (on the other hand, I do not know how to check that IAR has the latest packs). To summarize my current issues (and hopefully get more suggestions from you):

    1. How to troubleshoot or eliminate error message "Cannot install Pack NordicSemiconductor.nRF_DeviceFamilyPack.8.5.0: Canot compile SVD file(s)
    2. How to troubleshoot or eliminate" "No ULINK Device found" when trying to download my program to the Nordic board PCA100400 (which works OK with IAR)
    3. How to confirm I have the latest SVD file for the Keil compiler
    4. How to check that the IAR compiler is using DeviceFamilyPack.8.5.0

    Your help with any one of those issues is greatly appreciated.

Reply
  • Unfortunately, I still get the same error message. I removed the packs I am using and re-installed them and I got the same error and a new problem: after re-building all my files, I try to reload to the board and I get the error "No ULINK Device found". I know the board and the drivers are OK because I can download the same program using the IAR compiler and everything works OK (on the other hand, I do not know how to check that IAR has the latest packs). To summarize my current issues (and hopefully get more suggestions from you):

    1. How to troubleshoot or eliminate error message "Cannot install Pack NordicSemiconductor.nRF_DeviceFamilyPack.8.5.0: Canot compile SVD file(s)
    2. How to troubleshoot or eliminate" "No ULINK Device found" when trying to download my program to the Nordic board PCA100400 (which works OK with IAR)
    3. How to confirm I have the latest SVD file for the Keil compiler
    4. How to check that the IAR compiler is using DeviceFamilyPack.8.5.0

    Your help with any one of those issues is greatly appreciated.

Children
No Data
Related