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

Using nrfjprog to program

Please check the Device above its nRF52832 based device.

I want to program Softdevice and app using nrfjprog from my PC // or by using nRFStudio

is it possible ?

Parents
  • Hello,

    Usually, it requires a bit more pins, but you might be able to work around it. 

    If you have a Development Kit (nRF51DK, nRF52DK or nRF52840PDK will work), you can use the pins on P20 to program this device. What you have to do is power the device externally (not with the pins from P20). It looks like a device that runs on a coin cell battery, so insert the battery first.

     

    Then Connect the following pins from the DK to your device:

    P20 on DK:                                       Your device:

    GND DETECT...................................GND
    VTG...................................................3V3
    SWDCLK...........................................CLK
    SWDIO..............................................DIO

     

    Or at least I assume. I have never seen this device before.

    The point is that when the DK detects a voltage between GND DETECT and VTG, it will use the On Board Segger Chip (OB SEGGER) to program via the P20 pins instead of programming the nRF on the DK, but remember that you have to power the board externally. If it does not have a battery, you may try to connect VDD to 3V3 and GND to GND as well, as long as your device is powered, and P20 on the DK detects it.

     

    If you do not have a DK, do you have anything else that you can program the device with?

     

    BR,

    Edvin

  • The device that you link to looks pretty similar to P19 on the DKs (Debug Out) (and the same Segger chip that is on the DK), so yes. You can use that as well. However, you would need some sort of adapter, unless you solder the wires directly on the device (in the link).

     

    BR,

    Edvin

Reply Children
No Data
Related