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
  • thanks for the link and screen shots, I tried all that so my setup matches yours but I still get :

    Error: Flash Download failed - "Cortex-M0"

    The odd thing is it seems to succeed, my downloaded program is running, I can pair with my BLE device.

    But I can't debug it. Here's the output when I try and start debugging:

    • JLink Info: Device "NRF51822_XXAA" selected (257 KB flash, 16 KB RAM).

    JLink info:

    DLL: V4.82 , compiled Mar 10 2014 19:07:45 Firmware: J-Link Lite-Cortex-M V8 compiled Aug 29 2012 15:24:23 Hardware: V8.00 S/N : 518001045 Feature(s) : GDB

    • 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 Done. Programming Failed! Error: Flash Download failed - "Cortex-M0"

Reply
  • thanks for the link and screen shots, I tried all that so my setup matches yours but I still get :

    Error: Flash Download failed - "Cortex-M0"

    The odd thing is it seems to succeed, my downloaded program is running, I can pair with my BLE device.

    But I can't debug it. Here's the output when I try and start debugging:

    • JLink Info: Device "NRF51822_XXAA" selected (257 KB flash, 16 KB RAM).

    JLink info:

    DLL: V4.82 , compiled Mar 10 2014 19:07:45 Firmware: J-Link Lite-Cortex-M V8 compiled Aug 29 2012 15:24:23 Hardware: V8.00 S/N : 518001045 Feature(s) : GDB

    • 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 Done. Programming Failed! Error: Flash Download failed - "Cortex-M0"

Children
No Data
Related