<?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>OTA update of a new nRF51822</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/13709/ota-update-of-a-new-nrf51822</link><description>Hello, 
 I am currently designing a PCB containing the nRF51822 chip and I am concerned about how I will be able to update the program.
I have 2 main questions : 
 
 I will have the PCB done and assembled by a PCB manufacturer. The nRF51822 chip will</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 09 May 2016 14:26:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/13709/ota-update-of-a-new-nrf51822" /><item><title>RE: OTA update of a new nRF51822</title><link>https://devzone.nordicsemi.com/thread/52388?ContentTypeID=1</link><pubDate>Mon, 09 May 2016 14:26:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0d714559-82fe-4a01-b50f-d40845fbf72e</guid><dc:creator>MR2</dc:creator><description>&lt;p&gt;Yes I mean the Keil ULINK2, and no I don&amp;#39;t have I need to order one.
Thanks a lot for your precious help &amp;lt;3 &amp;lt;3&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA update of a new nRF51822</title><link>https://devzone.nordicsemi.com/thread/52389?ContentTypeID=1</link><pubDate>Mon, 09 May 2016 14:23:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:25912fb0-80a1-44ba-af17-e19b01a48708</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;By ARM ULINK2 do you mean Keil ULINK2? I&amp;#39;ve never seen one but if you use the tag-connect &amp;#39;by debugger&amp;#39; tab they have ULINK2 and suggest TC2030-CTX-NL for use with it, so if you have one already that may work. That cable will also plug into the debug out on your nRF51DK without having to take the ULINK apart.&lt;/p&gt;
&lt;p&gt;You&amp;#39;re looking at the wrong pinout, well you are and you&amp;#39;re not, that&amp;#39;s &lt;em&gt;a&lt;/em&gt; pinout for that connector, but those pins aren&amp;#39;t for ARM, you want to look at the pinout &lt;a href="http://www.tag-connect.com/Materials/TC2030-CTX.pdf"&gt;for the cable you linked to&lt;/a&gt; which is the SWD pinout. So no, all those pin assignments you listed above are wrong, it&amp;#39;s 1-6, VCC, SWDIO, nRESET (or unconnected), SWCLK, GND, unconnected.&lt;/p&gt;
&lt;p&gt;And seriously it is worth mailing them BEFORE you buy the cable and make the board, they are very helpful and will confirm what you&amp;#39;re buying before you spend $$$.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA update of a new nRF51822</title><link>https://devzone.nordicsemi.com/thread/52393?ContentTypeID=1</link><pubDate>Mon, 09 May 2016 13:03:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:41219ae6-4576-4056-a428-b9e2a2e137ae</guid><dc:creator>MR2</dc:creator><description>&lt;p&gt;Annnnd another question: the 6-pin cable pinout specifications say:
1 -MCLR, 2 Vdd, 3 Ground, 4 PGD (ICSDAT), 5 PGC (ICSPCLK) and 6 Unused or LVP;
I guess that I should connect the pins 2 to 5 to :
2 Vdd, 3 Ground, 4 SWDIO from nRF51822, 5 SWDCLK from nRF51822,
and leave 6 unconnected.
But what about the pin 1 -MCLR? What is this for?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA update of a new nRF51822</title><link>https://devzone.nordicsemi.com/thread/52392?ContentTypeID=1</link><pubDate>Mon, 09 May 2016 10:43:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:52f2f20e-dde8-44e0-9327-5b066a6a1afe</guid><dc:creator>MR2</dc:creator><description>&lt;p&gt;Again, thanks a lot for your help. Do you think the following cable from Tag Connect : &lt;a href="http://www.tag-connect.com/TC2030-CTX-NL"&gt;TC2030-CTX-NL&lt;/a&gt; together with the ARM ULINK2 programmer could be good?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA update of a new nRF51822</title><link>https://devzone.nordicsemi.com/thread/52391?ContentTypeID=1</link><pubDate>Mon, 09 May 2016 10:17:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d1b3776-2d72-4ff0-b3f5-07673f122402</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;well you&amp;#39;ll need to get a programmer, and if this is commercial then you should get one which has a commercial license for programming (the on board JLink does not).&lt;/p&gt;
&lt;p&gt;Tag Connect &lt;a href="http://www.tag-connect.com/"&gt;is here&lt;/a&gt;. They have a load of products, you need to read carefully and make sure you get the right one (or mail them, they&amp;#39;re helpful). I&amp;#39;m using the 10pin footprint on my boards and have the cable which connects it to a Segger JTAG, one of the full-sized ones with a 20-pin .1&amp;quot; pitch connector on it. They also have a cable which attaches to the 10 pin FTSH (the debug out on your dev kit board) to either the 6 pin or the 10 pin board footprint connector. I believe the 6-pin, they claim, takes up 1/3 the space of a standard ARM 10 pin 0.05&amp;quot; connector.&lt;/p&gt;
&lt;p&gt;Go take a look at those products and the footprints, see if you think it&amp;#39;ll fit, and ask again when you think you&amp;#39;ve picked one.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA update of a new nRF51822</title><link>https://devzone.nordicsemi.com/thread/52390?ContentTypeID=1</link><pubDate>Mon, 09 May 2016 10:06:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:63061d3d-2bf6-4582-ba27-b48fc2b0304c</guid><dc:creator>MR2</dc:creator><description>&lt;p&gt;I guess that the 6-pin one could be acceptable in terms of size. As I have no experience with programmers (I have the nRF51DK and its USB connection is pretty straightforward :-) ), could you please tell me a bit more about your solution (like a link to the product you are talking about, which programmer can I use (I have none at the moment)). Sorry to bother you :/&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA update of a new nRF51822</title><link>https://devzone.nordicsemi.com/thread/52386?ContentTypeID=1</link><pubDate>Mon, 09 May 2016 09:55:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca372e92-f783-4fcc-9d3b-b993520322d4</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;It would work, sounds like an awful lot of hard work however. You need at least ground as well as a reference for the programmer, and a connection to board power would be useful but as long as you have SWDIO/SWDCLK and GND you can probably manage it.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve seen some blog posts over the years where people have modified edge connectors or even used small clips with contacts on them to clip onto the side of a board for long-enough to get it programmed.&lt;/p&gt;
&lt;p&gt;Is tagconnect even too big for your use? They have a 10 pin one and a 6 pin one, I believe the 6 pin one can be used. That takes up .2&amp;quot; x .1&amp;quot; plus three holes for the legs. That&amp;#39;s about as small as a regular programming solution gets.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA update of a new nRF51822</title><link>https://devzone.nordicsemi.com/thread/52387?ContentTypeID=1</link><pubDate>Mon, 09 May 2016 09:46:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:253ceee1-fe1f-464a-b35b-5ea50d7aa237</guid><dc:creator>MR2</dc:creator><description>&lt;p&gt;Thank you RK for your answer, although that is bad news for me. As space is critical I chose the BGA package, so have the chip programmed by the board manufacturer is probably not an option. I will ask though.
To program it at least once with wire connection, I am thinking about the following solution : on my current design, the nRF51822 is quite close to the &amp;quot;bottom&amp;quot; edge of the PCB, especially the pins SWDIO and SWDCLK face the edge (about 1mm close to the edge); I could just add 2 copper traces from the pins to the edge; when I receive the PCB I temporarily hand-solder both traces to connect them to whatever is able to program the chip. What do you think?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA update of a new nRF51822</title><link>https://devzone.nordicsemi.com/thread/52385?ContentTypeID=1</link><pubDate>Mon, 09 May 2016 09:35:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4f5000aa-e35b-4cec-8d2e-e3ef0a91e24c</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;No - unless you have someone program the chip for you before assembly, or program the board with some kind of jig after assembly or you make some kind of small connector on the board which can be used for programming, you won&amp;#39;t be able to program the chip. The chip comes entirely blank and SWD is the only way to get the initial code onto it.&lt;/p&gt;
&lt;p&gt;nRESET/SWDIO is pulled high by an internal resistor so no you won&amp;#39;t constantly reset. I&amp;#39;ve had noise problems in one of my applications (it&amp;#39;s subject to some interference and the board design is not yet that great) and that&amp;#39;s been pulling the nRESET low and resetting the chip, so tying it high is a good idea, as long as you leave some way to program the board first.&lt;/p&gt;
&lt;p&gt;You should ask your board manufacturer if they can program the chip before assembly. There are programmers which will take unmounted chips (QFNs at least), put them in a socket and program them.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>