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

How to program the NRF51422 without using USB cable

Hi,

We are using nrf51422 in our project.So right now i am loading the program using the Usb cable .Here my doubt is can we able to flash the program by using usb to uart (connecting RX,Tx,Gnd,VCC) .If it is possible can you plz tell me how to load the program or is there any other method. Plz help me in this.

Parents
  • Hi,

    The nRF51 devices do not support USB, so I assume you are referring to the USB connector on the nRF51 DK? This is connected to the onboard debugger chip, which in turn is connected to the SWD lines on the nRF51422. The only way to do initial programming of the nRF51 is via SWD, as it is shipped with an empty flash. Using a SWD debugger is also the only way to debug the nRF51. However, you can program the nRF51 via UART if you make and program with a UART bootloader first.

Reply
  • Hi,

    The nRF51 devices do not support USB, so I assume you are referring to the USB connector on the nRF51 DK? This is connected to the onboard debugger chip, which in turn is connected to the SWD lines on the nRF51422. The only way to do initial programming of the nRF51 is via SWD, as it is shipped with an empty flash. Using a SWD debugger is also the only way to debug the nRF51. However, you can program the nRF51 via UART if you make and program with a UART bootloader first.

Children
Related