I've recently began testing the NRF51 SDK, however, due to some availability issues, I'm using the PCA10003 Board. I've followed the two Tutorials here, and I am able to get everything up and running without changing any settings. However, I'd like to assert some more control over the board, and get proper access to the GPIO ports, and get the buttons/LEDs working. So I've changed the board definition in the C/C++ settings, and left everything else as it was.
I can build the Tutorial project just fine, but when I try to flash it, I get the following error message:
Load "C:\Nordic Semiconductor\nRFgo SDK 2.3.0.10040\source_code\projects\ble_peripheral\ble_app_uart\pca10028\arm5\_build\nrf51422_xxac_s110.axf" Set JLink Project File to "C:\Nordic Semiconductor\nRFgo SDK 2.3.0.10040\source_code\projects\ble_peripheral\ble_app_uart\pca10028\arm5\JLinkSettings.ini"
- JLink Info: Device "NRF51422_XXAC" selected.
JLink info:
DLL: V4.96m, compiled Mar 13 2015 15:13:04 Firmware: J-Link OB-SAM3U128 V1 compiled Nov 28 2014 10:24:11 Hardware: V1.00 S/N : 480208069
- 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 = 0xF0000003
Target info:
Device: nRF51422_xxAC VTarget = 3.300V 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: 16667 kHz
Erase Failed! Error: Flash Download failed - "Cortex-M0" Flash Load finished at 12:56:41
According to other responses here, it seems as if I'm trying to flash to the softdevice.