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

transfert program using nRF USB port for nRF52840 DK

Hello,

Is it possible to transfer a program using the "nRF USB" on the nRF52840 DK (the on next to the 4 push bottoms) ? Until now, I was transferring the code with the other usb port (the one above the button cell) and it was ok. I want to use the other nRF USB port because it is connected directly to the nRF52840 and not through the pca10056.

the classical command : nrfjprog -f NRF52 --reset

results to ERROR: There is no debugger connected to the PC

If I want to design my own PCB, what should I do to transfer my code to the nRF52 chip ?

Thank you very much for the help, Swip

Parents
  • Hi! Thanks for the reply. I think the easiest way is to use the SWD pins in my case (when it seems very obscure for the moment). Correct me if I am wrong :

    1/I use my nRF52840 PDK and load my program using the SWD using the command nrfjprog command.

    2/Using your link and the p20 infocenter page and this good tutorial

    3/I need to do this

     nRF52840 PDK -> new PCB (with nRF52 chip on it),
        VTG  -> VDD,
        SWDIO ->  SWDIO,
       SWDCLK   ->  SWDCLK,
       GND DETECT  -> GND,
    

    Will the program load on my new PCB and not on the nRF52 on the PDK?

Reply
  • Hi! Thanks for the reply. I think the easiest way is to use the SWD pins in my case (when it seems very obscure for the moment). Correct me if I am wrong :

    1/I use my nRF52840 PDK and load my program using the SWD using the command nrfjprog command.

    2/Using your link and the p20 infocenter page and this good tutorial

    3/I need to do this

     nRF52840 PDK -> new PCB (with nRF52 chip on it),
        VTG  -> VDD,
        SWDIO ->  SWDIO,
       SWDCLK   ->  SWDCLK,
       GND DETECT  -> GND,
    

    Will the program load on my new PCB and not on the nRF52 on the PDK?

Children
No Data
Related