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

Not able to programme nrf51822_xxAC board with keil/Jlink/mbed

Hi,

I have my custom nRF51822 board based on Raytac MDBT40-P module. I am trying to program it with nRF51-DK(PCA10028). I could program it with mbed interface once or twice but not anymore. It is giving following error message when I am trying to program it.

> Load "..\\..\\..\\..\\..\\..\\components\\softdevice\\s130\\hex\\s130_nrf51_2.0.0_softdevice.hex" 
> 
> Set JLink Project File to
> "C:\Users\yatin\Google
> Drive\light_bag_project\nRF5_SDK_11.0.0_89a8197_fresh\examples\ble_peripheral\ble_app_uart\pca10028\s130\arm5_no_packs\JLinkSettings.ini"
> 
> * JLink Info: Device "NRF51822_XXAC" selected.  
> 
> JLink info:
> 
> ------------
> 
> 
> DLL: V5.12j, compiled Jul 18 2016
> 18:51:28
> 
> Firmware: J-Link
> OB-SAM3U128-V2-NordicSemi compiled Jul
> 5 2016 08:42:09
> 
> Hardware: V1.00
> 
> S/N : 681991810   
> 
> ***JLink Error: Communication timed out: Requested 20 bytes, received 0
> bytes ! Could not read hardware
> status!
> 
> Error: Flash Download failed  - 
> Target DLL has been cancelled
> 
> Flash Load finished at 11:51:53

I am attaching images of schematics and setup. overall setup

nRF51-DK setup for programming

Device settings

Debug Settings

JTAG Settings

Error Message

Schematics Brief

Related