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

PCA10000-10001 and SDK12.3.0

Hi,

3 years ago I buy the EK nrf51822. In this kit I have a card PCA10001 V2.1 and a dongle PCA10000 V2.1. I would like to work on it today. So i follow our quick start instruction. (Document nRF51822 Evaluation Kit User Guide v1.2)

I install today the last keil and J-link version. I also download the latest version of nrf51822 SDK 12.3.0. In the SDK I can not find any compileable example for the cards pca10001 and pca10000.

So I opened an old blinky_example of the DSK version 5_2_0_39364. This program compiles but I can not load it into the PCA10001 card. I have many errors

"Cannot load flash device description" "Error : Flash Download failed"

Do you have a solution to have on a functional example? Thanks and Best Regards Guillaume CATELAIN

Load

"D:\\Ethera\\Devellopement\\Nordic\\OLD\\nrf51_sdk_v5_2_0_39364\\nrf51822\\Board\\pca10001\\blinky_example\\arm\\_build\\blinky_arm.axf" 
Set JLink Project File to "D:\Ethera\Devellopement\Nordic\OLD\nrf51_sdk_v5_2_0_39364\nrf51822\Board\pca10001\blinky_example\arm\JLinkSettings.ini"
* JLink Info: Device "NRF51822_XXAA" selected.
 
JLink info:
------------
DLL: V6.16j, compiled Jul 24 2017 18:42:23
Firmware: J-Link OB-SAM3U128 V1 compiled Jul 19 2017 09:54:41
Hardware: V1.00
S/N : 480204064 
 
* JLink Info: Found SW-DP with ID 0x0BB11477
* JLink Info: Scanning APs, stopping at first AHB-AP found.
* JLink Info: AP[0] IDR: 0x04770021 (AHB-AP)
* JLink Info: AHB-AP ROM: 0xF0000000 (Base addr. of first ROM table)
* JLink Info: CPUID reg: 0x410CC200. Implementer code: 0x41 (ARM)
* JLink Info: Found Cortex-M0 r0p0, Little endian.
* JLink Info: FPUnit: 4 code (BP) slots and 0 literal slots
* JLink Info: CoreSight components:
* JLink Info: ROMTbl[0] @ F0000000
* JLink Info: ROMTbl[0][0]: E00FF000, CID: B105100D, PID: 000BB471 ROM Table
* JLink Info: ROMTbl[1] @ E00FF000
* JLink Info: ROMTbl[1][0]: E000E000, CID: B105E00D, PID: 000BB008 SCS
* JLink Info: ROMTbl[1][1]: E0001000, CID: B105E00D, PID: 000BB00A DWT
* JLink Info: ROMTbl[1][2]: E0002000, CID: B105E00D, PID: 000BB00B FPB
* JLink Info: ROMTbl[0][1]: F0002000, CID: B105900D, PID: 000BB9A3 ???
ROMTableAddr = 0xF0000000
* JLink Info: Reset: Halt core after reset via DEMCR.VC_CORERESET.
* JLink Info: Reset: Reset device via AIRCR.SYSRESETREQ.
 
Target info:
------------
Device: nRF51822_xxAA
VTarget = 3.300V
State of Pins: 
TCK: 0, TDI: 1, TDO: 1, TMS: 1, TRES: 1, TRST: 1
Hardware-Breakpoints: 4
Software-Breakpoints: 8192
Watchpoints:          2
JTAG speed: 5000 kHz
 
Erase Failed!
Error: Flash Download failed  -  "Cortex-M0"
Flash Load finished at 15:32:39
  • I'm afraid these boards are not supported in Nordic SDK for many years now. The easiest thing is to buy new DK for $40 and you are fine. If you insist on these old DKs then you first need to make sure what chip revision is on it (there are 3 major revisions of nRF51 silicon and e.g. the first one has several major limitations which makes it basically incompatible with all newer Nordic BLE stacks aka Sodft Devices...). Then you should be able to modify examples for nRF51 DK (PCA10028) to match your chip revision, memory sizes and PIN layout... Also the error message from J-Link suggests you have different issues then just incompatibility of HW and SW but it's very hard to say just like that... do you use nRFgo Studio or nrfjprog? Give it a try to just erase the chip for start and load any nRF51 HEX file from SDK...

  • Hi Guillaume,

    your nRF51822 EK v2.1 uses a nRF51822 revision 2 IC, see this compatibility matrix.

    This means that your board is only compatible with SDK v6.1 or older, see this compatibility matrix.

    As for you error, you have to make sure that you erase the board using nRFGo Studio or nrfjprog -f nrf51 --eraseall, before you flash it with the application.

Related