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
  • I tried now with the same setup as you. Blinky from SDK v6.1 and SD v8.0 (these are not really compatible, see the compatibility matrix here: infocenter.nordicsemi.com/.../nrf51_comp_matrix.html , but that shouldn't matter since you are not enabling or using any softdevice calls).

    The LEDs are blinking on my board, and I am using the same script to flash.

    Did you change anything in the blinky example? Can you please edit your question and include the hex-file so i can try it here? Can you check with a multimeter on the pins instead of LEDs to see if it is any activity?

    Which chip revision are you using?

  • @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?

Reply
  • @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?

Children
No Data
Related