<?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>Programming different nRF51822 boards</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/2223/programming-different-nrf51822-boards</link><description>Hi, student here, so go easy if you can :) 
 I have successfully programmed the evaluation kit and development with the softdevice and loaded my app on. 
 Now I am trying to work with some boards that I ordered online. One is a breakout board 
 
</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 19 Jun 2015 21:25:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/2223/programming-different-nrf51822-boards" /><item><title>RE: Programming different nRF51822 boards</title><link>https://devzone.nordicsemi.com/thread/9380?ContentTypeID=1</link><pubDate>Fri, 19 Jun 2015 21:25:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9936a56c-3ce4-4fb8-981b-f7e497482031</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;You will need to connect to 3.3v to the VCC pin 1.  That pin is for sensing the target voltage.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming different nRF51822 boards</title><link>https://devzone.nordicsemi.com/thread/9379?ContentTypeID=1</link><pubDate>Fri, 19 Jun 2015 18:05:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4692a4a9-cff4-4faf-9480-8a383e6fe81c</guid><dc:creator>george</dc:creator><description>&lt;p&gt;I am trying to program a custom board as well. I have the SWDIO and SWDCLK soldered to the board in question. I also have power and ground connected. My regulator comes alive and I can see my 3.3V rail up. I also have tried putting a 100k pull-up on SWDIO and 100k pull-down on SWDCLK as prescribed here.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.keil.com/support/man/docs/ulink2/ulink2_hw_connectors.htm"&gt;www.keil.com/.../ulink2_hw_connectors.htm&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I am still having issues getting it to program. Any thoughts on what it could be?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming different nRF51822 boards</title><link>https://devzone.nordicsemi.com/thread/9375?ContentTypeID=1</link><pubDate>Fri, 15 May 2015 22:47:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2208a5e5-66c1-4cbf-a579-70af3b40e5e2</guid><dc:creator>Shlomo Zippel</dc:creator><description>&lt;p&gt;This is super helpful! I assume you meant PTR5518 pin 9 to ground and not pin 7&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming different nRF51822 boards</title><link>https://devzone.nordicsemi.com/thread/9378?ContentTypeID=1</link><pubDate>Wed, 13 Aug 2014 10:45:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:293c96b8-e4f0-4df3-9d2a-03c05cdd1102</guid><dc:creator>carthago</dc:creator><description>&lt;p&gt;I used the pin 6 and 7 for the BLE_Health thermometer with NRF Break Out Board. how do you do pin assignment? state 20 and 22.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming different nRF51822 boards</title><link>https://devzone.nordicsemi.com/thread/9377?ContentTypeID=1</link><pubDate>Mon, 05 May 2014 14:13:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f372175b-b4eb-4b6f-abe6-4c48ec5f16e5</guid><dc:creator>Chris Hodapp</dc:creator><description>&lt;p&gt;Thank you for that link.&lt;/p&gt;
&lt;p&gt;As for my own setup, I soldered a series of thin wires to each contact, routed them through the holes in some perfboard, soldered the other side to a header, and hot-glued everything in place. It&amp;#39;s very ugly, but it works and it&amp;#39;s secure.&lt;/p&gt;
&lt;p&gt;However, it was enough work that the module you linked to is probably preferable (plus it has all the GPIOs, it looks like).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming different nRF51822 boards</title><link>https://devzone.nordicsemi.com/thread/9376?ContentTypeID=1</link><pubDate>Mon, 05 May 2014 12:58:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:627b456b-fc63-48e1-9907-463ccaba336b</guid><dc:creator>John Kolovson</dc:creator><description>&lt;p&gt;Chris, thanks for the detailed explanation. I&amp;#39;m just starting to get the pin outs figure out. Do you have photo of your setup by any chance ? Did you solder header pins on to PTR5518 directly ? Curious to see how you are going about it.&lt;/p&gt;
&lt;p&gt;I ordered the board from here &lt;a href="http://www.ebay.com/itm/NRF51822-2-4G-Wireless-Module-Wireless-Communication-Module-/121113398808"&gt;www.ebay.com/.../121113398808&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming different nRF51822 boards</title><link>https://devzone.nordicsemi.com/thread/9374?ContentTypeID=1</link><pubDate>Thu, 01 May 2014 21:45:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:103ac3a2-50e7-4bee-aab7-03533f19e561</guid><dc:creator>Chris Hodapp</dc:creator><description>&lt;p&gt;John,&lt;/p&gt;
&lt;p&gt;I am using a PTR5518 as well as a J-Link Edu here.&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t know if you resolved your pinout issue, but here is how I did it:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;PTR5518 pin 7 to ground.&lt;/li&gt;
&lt;li&gt;PTR5518 pin 10 to Vcc (3.3 V in my case)&lt;/li&gt;
&lt;li&gt;PTR5518 pin 4 to JTAG pin 7 (SWDIO)&lt;/li&gt;
&lt;li&gt;PTR5518 pin 5 to JTAG pin 9 (SWCLK)&lt;/li&gt;
&lt;li&gt;JTAG pin 1 to the same Vcc&lt;/li&gt;
&lt;li&gt;JTAG pin 4 to ground&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;As for the headers &amp;amp; SDK, I found that you can generally use them, but some changes are needed here and there. The board obviously has no LEDs or buttons on its own, so you must be mindful of that (and I don&amp;#39;t believe it exposes the same pins as the LEDs on the eval board). The board has a 250 ppm external crystal rather than a 25 ppm one, and so you must account for this in the SOFTDEVICE_HANDLER_INIT call (it seems to be the same problem documented &lt;a href="https://devzone.nordicsemi.com/index.php/application-halts-on-softdevice-initialize-in-ble_stack_handler"&gt;here&lt;/a&gt;). I had modified my code to use something like what was &lt;a href="https://devzone.nordicsemi.com/index.php/1ms-tick-function-with-system-clock-16mhz"&gt;here&lt;/a&gt;:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;
    NRF_CLOCK-&amp;gt;XTALFREQ = 0;
    NRF_CLOCK-&amp;gt;EVENTS_HFCLKSTARTED = 0;
    NRF_CLOCK-&amp;gt;TASKS_HFCLKSTART = 1;
    while (NRF_CLOCK-&amp;gt;EVENTS_HFCLKSTARTED == 0);
    SOFTDEVICE_HANDLER_INIT(NRF_CLOCK_LFCLKSRC_RC_250_PPM_4000MS_CALIBRATION, false);

&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;to replace &lt;code&gt;SOFTDEVICE_HANDLER_INIT(NRF_CLOCK_LFCLKSRC_XTAL_20_PPM, false);&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;(It seems like I should be able to just switch that line to use &lt;em&gt;NRF_CLOCK_LFCLKSRC_XTAL_250_PPM&lt;/em&gt; instead but for some reason this does not work , nor does the 500 ppm setting.)&lt;/p&gt;
&lt;p&gt;Finally, a question for you: What is the breakout board you show in the photo?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming different nRF51822 boards</title><link>https://devzone.nordicsemi.com/thread/9372?ContentTypeID=1</link><pubDate>Thu, 24 Apr 2014 08:57:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6fc391e6-362f-41e5-8664-1cb3043cbd08</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;Yes, he can copy the example codes to the custom made board. The chips are the same in both cases, the difference between the development kit and the custom made board is what is connected to the I/Os (pins) on the nRF51822 chip.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming different nRF51822 boards</title><link>https://devzone.nordicsemi.com/thread/9373?ContentTypeID=1</link><pubDate>Tue, 15 Apr 2014 12:38:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8ee928e2-9ab7-4dd7-bb50-fdd291ed5cc4</guid><dc:creator>John Kolovson</dc:creator><description>&lt;p&gt;David, that was actually my next question. I still haven&amp;#39;t found an answer. If you do please let me know.&lt;/p&gt;
&lt;p&gt;I think I have the pinouts figured out.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming different nRF51822 boards</title><link>https://devzone.nordicsemi.com/thread/9371?ContentTypeID=1</link><pubDate>Mon, 14 Apr 2014 15:16:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f5646659-5b0d-449b-b1ac-17a90016ec13</guid><dc:creator>David</dc:creator><description>&lt;p&gt;Sorry for hijacking this thread a little bit, but since he is using nRF51822 on a board that is not from dev/eval kit, can he still use the header files provided in the nRF51 SDK? (and the example code as well?)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming different nRF51822 boards</title><link>https://devzone.nordicsemi.com/thread/9370?ContentTypeID=1</link><pubDate>Mon, 14 Apr 2014 13:37:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:41999aaf-c5d5-41d6-8fe3-cf24165a7a5f</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;Jtag connector pinout here&lt;/p&gt;
&lt;p&gt;&lt;a href="http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0499b/BEHEIHCE.html"&gt;infocenter.arm.com/.../index.jsp&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;and here&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.support.code-red-tech.com/CodeRedWiki/HardwareDebugConnections"&gt;www.support.code-red-tech.com/.../HardwareDebugConnections&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming different nRF51822 boards</title><link>https://devzone.nordicsemi.com/thread/9369?ContentTypeID=1</link><pubDate>Mon, 14 Apr 2014 11:14:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:196ef20d-01b0-41ff-9075-c9cc8d21481e</guid><dc:creator>John Kolovson</dc:creator><description>&lt;p&gt;I found those pins on the breakout board but they are split apart as you can see on the diagram. Also I have the J-Link EDU &lt;a href="https://www.segger.com/j-link-edu.html"&gt;www.segger.com/j-link-edu.html&lt;/a&gt;, which has 20 pins. How can I connect just those pins and they are split up ?&lt;/p&gt;
&lt;p&gt;Also what about the 3rd Party module ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming different nRF51822 boards</title><link>https://devzone.nordicsemi.com/thread/9368?ContentTypeID=1</link><pubDate>Mon, 14 Apr 2014 10:52:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0f4d3f37-68a7-4bd1-825b-1aa43b8edea0</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;You need to find the SWDIO &amp;amp; SWDCLK pins and connect them to the jtag along with the power &amp;amp; ground pins.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>