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

How to program custom PCB uisng SWCLK AND SWDIO TEST PINS

Hello Everyone,

I have deveoped my custom Board using(NRF51) which has four test pins VCC GND SWCLK,SWDIO. I would like to program the custom board. So could anyone tell me some safe methods to load the software on the PCB? Previously i have used NRF51DK and USB cable JLINK to flash the software on the development board, but i reckon to use only SWCLK AND SWDIO pins to flash the custom PCB. What are the methods I should follow to flash the softdevice110 and the .hex file? Please suggest me some possible methods to flash the custom PCB. It would be really helpful for me. Do I need to connect like in this picture? Please correct me if i am wrong.

image description

Thank you

Parents
  • Almost - right connections but not the best connector. P20 is debug out but it's the one for a connected shield. What you really want to connect to is P19, which is the real debug out. I suppose, if the pins on P20 are easier to connect to than the P19 .5" pitch debug out connector you can use them, but it's probably better to use P19 if you can. I use a breakout adaptor which makes patching that connector to just about anything fairly easy.

  • I realize I am late to the party, but why do you recommend using p19 over p20? Are the connections not electrically the same? I ask because I am also about to use the nRF51-DK to program a prototype board, and have many 0.1" connectors/housings on hand but none of the tiny 10 pin connectors used by p19...

Reply Children
No Data
Related