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

Program nrf52 SoC inside PCB.

Hi there!

I searched the forum and didn't find any clear answer.

nrf52 programming pins are SWDIO and SWDCLK and chip can be programmed.

When nrf52 is part of a pcb how can i program it?

If i have another nrf52 development board can i probram/debug the on pcb nrf52 chip or the dev board is locked to program the on board chip?

If it is locked how can i program the on pcb nrf52 chip?

It would be great if nordic could make it clear.

Thanks

Parents
  • Thanks a lot for replying and sorry for my hard question.

    So if i get it correctly i can program an nrf52 soc that is part of a custom pcb from a different nrf52 development kit.

    What connections do i have to make?

    Should i connect SWDIO and SWDCLK pins from nrf52 dev board to the same pins of the nrf52 soc, then connect dev board to pc with usb and that's all?

    Can you tell me a short step by step process to connect dev board to an external nrf52 and program it?

    I am really new to embed systems and i am discovering a whole new universe!

    Thanks in advance

Reply
  • Thanks a lot for replying and sorry for my hard question.

    So if i get it correctly i can program an nrf52 soc that is part of a custom pcb from a different nrf52 development kit.

    What connections do i have to make?

    Should i connect SWDIO and SWDCLK pins from nrf52 dev board to the same pins of the nrf52 soc, then connect dev board to pc with usb and that's all?

    Can you tell me a short step by step process to connect dev board to an external nrf52 and program it?

    I am really new to embed systems and i am discovering a whole new universe!

    Thanks in advance

Children
  • you should read my answer to the other poster more carefully. I pointed them to the arm connector which you'll need to have mounted on your board connected to the SWDIO/SWDCLK/GND/VDD on that nRF52 chip. Then see the reference manual for the nRF52 Dev Kit which you can find under the resources tab at the top of the page here and see how to use Debug OUT with a 10 pin 0.5" pitch FTSH connector and cable.

    So no you don't connect the SWD... pins to the same ones on the DK, you connect them to the debugger pins and the debugger drives them.

Related