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

Programming nRF51822 on a custom board using nRF52840DK

Hello,

Is it possible to program nRF51822 with nRF52DK (PCA10056) ?

Currently I am trying to program my custom beacon (nRF51822) connected via SWD P20 header. I am using SDK 12.3.0 and Keil uVision 5.  I have tried to upload radio_test example from the sdk (pca10056) to my nRF51822 but I've been having " Flash Download Failed " error in build output in Keil. I've read that this may occur due to the fact that it's programming the wrong sector in memory (Soft Device) . How can I solve my problem? Below I am pasting the build output

Target info:
------------
Device: nRF52840_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: 1000 kHz
 
Erase Failed!
Error: Flash Download failed  -  "Cortex-M4"

Should I change the device to nRF51822?

Best regards,

Kamil

Parents Reply Children
No Data
Related