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

Cannot erase/program custom nRF51 board usign nRF51 DK

Hello,

I've found a lot of topics about this issue but none resolved my case.

I'm trying to program a custom N51822 board (QF ACA 1) but without success.

These are the connections (I've tested with external supply for the custom board also):

image description

This is the output from JLinkExe:

image description

This is the output from JLinkExe if I reset the board before erasing:

image description

This is the output from nrfproj:

image description

Also in the custom board datasheet, it sais "Connect a 12K ohm resister to GND for flash programming".

The schematic doesn't show any resistor on P20 connector, only on P19. Could that be the problem?

Later EDIT: I tried with 12K ohm resistor, doesn't work ("cannot connect to target" is returned); I attached the log from "nrfproj --recover --log" output.

log.zip

Thank you, Vlad

Parents
  • A quick question first: Have you done any current measurements with your nrf51 dk? If you have cut the SB9, did you make sure to attach a jumper cable to P22?

    Can you program the Blinky example or ble_app_hrs under ble_peripheral folder in the SDK using only the nrf51 dk (remove the custom board & just choose an SDK that supports nrf51)? Just want to make sure that that works first.

    Have you tried programming your custom board via the P19 connector yet with a 12 kOhm resistor? If you program the Nordic Thingy for example, it is normal to use a SWD (edit: not JTAG) cable on the P19 connector. But P20 should theoretically work.

    In Kunal's case, there was some HW issue with his custom board, right? So there could potentially be an error there. I will take a closer look the error messages and log file & get back to you soon.

Reply
  • A quick question first: Have you done any current measurements with your nrf51 dk? If you have cut the SB9, did you make sure to attach a jumper cable to P22?

    Can you program the Blinky example or ble_app_hrs under ble_peripheral folder in the SDK using only the nrf51 dk (remove the custom board & just choose an SDK that supports nrf51)? Just want to make sure that that works first.

    Have you tried programming your custom board via the P19 connector yet with a 12 kOhm resistor? If you program the Nordic Thingy for example, it is normal to use a SWD (edit: not JTAG) cable on the P19 connector. But P20 should theoretically work.

    In Kunal's case, there was some HW issue with his custom board, right? So there could potentially be an error there. I will take a closer look the error messages and log file & get back to you soon.

Children
No Data
Related