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!

  • 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.

  • Is there a way to send you a screen shot of what I am seeing? I enclosed it in a reply to your messages but it was rejected.

  • Have you tried to install the MDK pack (not the keil 4 version)? If all else fail, can you try with a clean install of Keil, then install the pack I linked to, before you use the Pack installer to get the rest?

    Regarding the "No ULINK Device found", you probably have the debugger incorrectly configured. Try to open Project -> Option for Target... -> Debug. Select J-LINK / J-TRACE Corte in the dropdown in the upper right corner if it is not already done. Then click Settings to the right of it. Make sure the Port is "SW" and that max clock is set to 5 MHz.

  • I have been trying to do a clean install with a new win 10 VM and it always fails. The MDK is 5.18, and I always get the message "Cannot install Pack NordicSemiconductor.nRF_DeviceFamilyPack.8.5.0: Cannot compile SVD file(s)"

Related