<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>How to program the NRF51422  without using USB cable</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/53347/how-to-program-the-nrf51422-without-using-usb-cable</link><description>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</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 21 Oct 2019 11:40:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/53347/how-to-program-the-nrf51422-without-using-usb-cable" /><item><title>RE: How to program the NRF51422  without using USB cable</title><link>https://devzone.nordicsemi.com/thread/215898?ContentTypeID=1</link><pubDate>Mon, 21 Oct 2019 11:40:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1a93d9ef-0165-4393-b804-265406f26ab4</guid><dc:creator>sharmelaraju</dc:creator><description>&lt;p&gt;Thanks for the reply.&lt;/p&gt;
&lt;p&gt;I will try it out and let you know.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to program the NRF51422  without using USB cable</title><link>https://devzone.nordicsemi.com/thread/215718?ContentTypeID=1</link><pubDate>Fri, 18 Oct 2019 12:57:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2634f3c3-3117-4444-bcb2-cd022c21b0fb</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The nRF52 devices have generic GPIO pins that can be connected to any digital peripheral, so which pins you need to use depends on the pin configuration in your UART bootloader. If you use a modified bootloader for the nRF52 DK, you can refer to the pin configuration in &amp;lt;SDK15.3&amp;gt;\components\boards\pca10040.h:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;#define RX_PIN_NUMBER  8
#define TX_PIN_NUMBER  6
#define CTS_PIN_NUMBER 7
#define RTS_PIN_NUMBER 5&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Regarding GND and VCC, please refer to the &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/pin.html?cp=3_1_0_3#pin_assign"&gt;Pin assignments&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to program the NRF51422  without using USB cable</title><link>https://devzone.nordicsemi.com/thread/215710?ContentTypeID=1</link><pubDate>Fri, 18 Oct 2019 12:06:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0fa14dfb-c31f-4c42-99bb-9571442029a7</guid><dc:creator>sharmelaraju</dc:creator><description>&lt;p&gt;Thanks for the reply.&lt;/p&gt;
&lt;p&gt;can you tell me how to connect from pc to NRF52 controller.Is the Rx ,Tx ,Gnd,Vcc pins(USB to UART cable) are enough to connect to NRF52&amp;nbsp; controller .I will try it.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to program the NRF51422  without using USB cable</title><link>https://devzone.nordicsemi.com/thread/215508?ContentTypeID=1</link><pubDate>Thu, 17 Oct 2019 12:18:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:40d1c849-f092-4d43-b472-af9538f53250</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I see. The recent nRF5 SDK versions (which support nRF52 only), have a &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/sdk_app_serial_dfu_bootloader.html?cp=5_1_4_4_4"&gt;UART bootloader&lt;/a&gt; included, so yere you get that out of the box. Please note that you still need to program the bootloader initially, though.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to program the NRF51422  without using USB cable</title><link>https://devzone.nordicsemi.com/thread/215500?ContentTypeID=1</link><pubDate>Thu, 17 Oct 2019 12:06:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7234a3a8-999b-438b-8a96-14b9e9d3f5b0</guid><dc:creator>sharmelaraju</dc:creator><description>&lt;p&gt;Thanks for the reply.&lt;/p&gt;
&lt;p&gt;The main reason for doing through uart is we are using nrf51422 in our project.so we are developing customized board of nrf51422 without using pac10028(interface mcu) .So we need to program&amp;nbsp; directly into the nrf51422 not through pca10028. so we thought of using usb to uart to flash the program.&lt;/p&gt;
&lt;p&gt;can you plz tell me if we use nrf52 series can we able to flash through uart bootloader.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to program the NRF51422  without using USB cable</title><link>https://devzone.nordicsemi.com/thread/215466?ContentTypeID=1</link><pubDate>Thu, 17 Oct 2019 10:46:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb67a1fa-0684-4d4a-ae8f-cd725c1898c7</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I would like to reiterate the main points from my previous post:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;It is not possible to program via USB since the nRF51 does not have a USB interface.
&lt;ul&gt;
&lt;li&gt;Therefore I assume you use an SWD debugger (for instance on the nRF51 DK - if that is what you are using?)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;The only alternative to programming via SWD is to first program a bootloader of some sort, and then use that to program new firmware.
&lt;ul&gt;
&lt;li&gt;First of all, consider why you want to program via UART. Is it just for testing and development? If so, then it is probably a bad idea, since you anyway need SWD for initial programming, and you loos debugging capabilities. If it is for field updates via a host MCU or similar, it could make sense.&lt;/li&gt;
&lt;li&gt;If you want to program via UART, you first need to program a UART bootloader. Unfortunately, the latest nRF5 SDK for nRF51 (12.3) does not include a UART bootloader, so you have to make one or port one yourself (for instance add a UART bootloader by referring to how it is done in later nRF5 SDK versions).&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to program the NRF51422  without using USB cable</title><link>https://devzone.nordicsemi.com/thread/215456?ContentTypeID=1</link><pubDate>Thu, 17 Oct 2019 10:01:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:90bafff0-95d5-4cc4-8e98-90bac92f293d</guid><dc:creator>sharmelaraju</dc:creator><description>&lt;p&gt;Thanks for the reply.&lt;/p&gt;
&lt;p&gt;I have flashed the example program using usb cable.Can you tell me how to flash the program using uart.&lt;/p&gt;
&lt;p&gt;can you give me some hint to program using uart. I am getting any idea.pls help me in this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to program the NRF51422  without using USB cable</title><link>https://devzone.nordicsemi.com/thread/215432?ContentTypeID=1</link><pubDate>Thu, 17 Oct 2019 08:37:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e2bd512e-7508-4cf7-9240-cb468026aeac</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>