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

Application not working even after successfull download to nrf51822 Yunjia board using JLinkExe in linux.

Hi , I tried downloading the nrf51822 softdevice and application to yunjia board which is similar in architecture to PC1001 as shown in the following links:

github.com/.../Board:-yunjia-nrf51822

github.com/.../Board:-PCA1000x-(nRF51822-Development-Kit)

I used following commands to download the softdevice and application as mentioned in the link devzone.nordicsemi.com/.../ :

device nrf51
speed 1000
w4 4001e504 2
w4 4001e50c 1
sleep 100
r
loadbin $SOFTDEVICE 0x0
loadbin $APPLICATION 0x18000
sleep 100
r
g
exit

I was successfully able to download the code to the specified memory using Softdevice v8 and the blinky application of SDK V6.

since the external LED is not present at pins P0.18 and P0.19 in the Yunjia module unlike the PC100X Evaluation Kit, I tried to connect the pin P0.18 and P0.19 to an external led circuit set up, but the leds didn't blink. I am not able to guess the error as softdevice and application are successfully installed to the module. Thank you in advance.

Parents Reply Children
  • @Stian sorry for the very late response. hi. was not able to download the code successfully using the JLinkExe in Linux. but then I used the keil mdk in windows. when I opened the sample application of led blink in windows, from the settings I realized that app was set to be downloaded into the location 0x00. I compiled and downloaded the code. and got it working. :) while trying with JlinkExe: actually, I didn't change anything in the blinky example and used the correct pins. for hex file, sorry, the system on which I was working was recently formatted and I lost the data. currently I am working on windows machine using the keil mdk. and thank you for the compatibility matrix. Once again sorry for the late response. Did you try using JlinkExe or Keil sdk?

  • This was using JLinkExe in Linux. There are two blinky examples, one for softdevice and one without softdevice. Are you sure you are compiling the right one? If you are example without softdevice you should flash it to address location 0x00.

Related