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

Debugging nrf51822 mbed board in uvision

Hi,

I'm trying to set up Keil uvision to debug my nrf51822 mbed board. I've exported a uvision zip file from the mbed IDE to test with.

I've installed the following packages in this order:

uVision IDE mdk511a.exe

uVision IDE support pack mdkcm510.exe

nrf sdk nrf51_sdk_v5_2_0_39364.msi

All the installations complete without errors, but when I try to open the nrf project, I get the following errors:

Error loading software packs C:\Keil_v5\ARM\PACK\NordicSemiconductor\nRF_DeviceFamilyPack\1.0.3\NordicSemiconductor.nRF_DeviceFamilyPack.pdsc(60,49): Error parsing node '#text' :no declaration found for element 'swdconfig' C:\Keil_v5\ARM\PACK\NordicSemiconductor\nRF_DeviceFamilyPack\1.0.3\NordicSemiconductor.nRF_DeviceFamilyPack.pdsc(60,49): Error parsing node '#text' :attribute 'default' is not declared for element 'swdconfig' C:\Keil_v5\ARM\PACK\NordicSemiconductor\nRF_DeviceFamilyPack\1.0.3\NordicSemiconductor.nRF_DeviceFamilyPack.pdsc(60,49): Error parsing node '#text' :attribute 'clock' is not declared for element 'swdconfig' C:\Keil_v5\ARM\PACK\NordicSemiconductor\nRF_DeviceFamilyPack\1.0.3\NordicSemiconductor.nRF_DeviceFamilyPack.pdsc(117,18): Error parsing node '#text' :element 'swdconfig' is not allowed for content model '((((processor,debugconfig),((compile|memory|algorithm|book|description|feature|environment|debugport|debug|trace|debugvars)|sequences)),device),subFamily)'

Does anybody know what is wrong?

Parents
  • Thanks for the answer, I tried the workaround and the error went away.

    I just got a notification that there is a new sdk v6.0.0 available, that I assume will also fix the problem. (I could only find the .zip archive and not an .msi installer, and since I don't really know how to manually install this into uvision, I am sticking with the old version for now).

Reply
  • Thanks for the answer, I tried the workaround and the error went away.

    I just got a notification that there is a new sdk v6.0.0 available, that I assume will also fix the problem. (I could only find the .zip archive and not an .msi installer, and since I don't really know how to manually install this into uvision, I am sticking with the old version for now).

Children
No Data
Related