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
  • I got further by installing Keil C version 5.10.

    But when I attempt to download the program I still get "JLink - Cortex Error: C:\Keil\ARM\flash\nrf51xxx.flm Cannot Load Flash Device Description"

    And this file "nrf51xxx.flm" does not exist. but I do have the Keil pack for cortex M0. Here's the complete output:

    • JLink Info: Found SWD-DP with ID 0x0BB11477
    • JLink Info: Found Cortex-M0 r0p0, Little endian.
    • JLink Info: FPUnit: 4 code (BP) slots and 0 literal slots ROMTableAddr = 0xE00FF003

    Target info:

    Device: nRF51822_xxAA VTarget = 3.351V State of Pins: TCK: 0, TDI: 0, TDO: 1, TMS: 1, TRES: 1, TRST: 1 Hardware-Breakpoints: 4 Software-Breakpoints: 8192 Watchpoints: 2 JTAG speed: 1000 kHz

    Erase Failed! Error: Flash Download failed - "Cortex-M0"

Reply
  • I got further by installing Keil C version 5.10.

    But when I attempt to download the program I still get "JLink - Cortex Error: C:\Keil\ARM\flash\nrf51xxx.flm Cannot Load Flash Device Description"

    And this file "nrf51xxx.flm" does not exist. but I do have the Keil pack for cortex M0. Here's the complete output:

    • JLink Info: Found SWD-DP with ID 0x0BB11477
    • JLink Info: Found Cortex-M0 r0p0, Little endian.
    • JLink Info: FPUnit: 4 code (BP) slots and 0 literal slots ROMTableAddr = 0xE00FF003

    Target info:

    Device: nRF51822_xxAA VTarget = 3.351V State of Pins: TCK: 0, TDI: 0, TDO: 1, TMS: 1, TRES: 1, TRST: 1 Hardware-Breakpoints: 4 Software-Breakpoints: 8192 Watchpoints: 2 JTAG speed: 1000 kHz

    Erase Failed! Error: Flash Download failed - "Cortex-M0"

Children
No Data
Related