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

Problem with nRFgo v1.16.1 and nRF51822 SDK 6.0.0

Everything was fine until I updated to the latest SDK version 6.0.0 and the new nRFGo ap version 1.16.1. Now when I try and connect to my device I get J-LinkV4.52c Error "Could not read AHB-AP Id. Could not connect to target". I found that if I click "Recover" it usually works after that, but I'm not super confident...

I also have problems with Keil downloading of firmware, saying "Cannot Load Flash Device Description!". I now get lots of error loading software packs errors saying things like this:

C:\Keil\ARM\PACK\NordicSemiconductor\nRF_DeviceFamilyPack\1.0.3\NordicSemiconductor.nRF_DeviceFamilyPack.pdsc(145):Error parsing node '#text' :value 'IOs' not in enumeration

Parents
  • Found the solution. Turns out the old Keil C 5.0 projects don't "migrate" to the new Keil C 5.1. So I picked up the new HRS sample app from Nordic SDK, copied the .uvproj file, and replaced the source files with my project, and wha-la, everything started working properly, flashing, debugging, etc. Doing a "diff" I see a bunch of niggly little settings had changed which probably explains why it didn't work without this "hand-migration"...

Reply
  • Found the solution. Turns out the old Keil C 5.0 projects don't "migrate" to the new Keil C 5.1. So I picked up the new HRS sample app from Nordic SDK, copied the .uvproj file, and replaced the source files with my project, and wha-la, everything started working properly, flashing, debugging, etc. Doing a "diff" I see a bunch of niggly little settings had changed which probably explains why it didn't work without this "hand-migration"...

Children
Related