<?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>Newbie about to program a prototype board</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/14919/newbie-about-to-program-a-prototype-board</link><description>So I&amp;#39;m only use to programing PICs with mplabX 
 I&amp;#39;ve designed my board and am ready to dive into programing the Nrf51822 
 I&amp;#39;m a little overwhelmed by the different information on this topic and unfamiliar with certain concepts so a ELI5 is almost</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 03 Jul 2016 02:06:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/14919/newbie-about-to-program-a-prototype-board" /><item><title>RE: Newbie about to program a prototype board</title><link>https://devzone.nordicsemi.com/thread/56946?ContentTypeID=1</link><pubDate>Sun, 03 Jul 2016 02:06:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a703be75-37a4-4d20-b7f1-601200748394</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;You can whip up a custom connector but I don&amp;#39;t recommend it, debugging interfaces run at high speed and stray capacitance, long cables, different lengths and other factors mean a properly specified connector helps. Apart from that you can attach a number of standard debuggers/programmers to standard connectors.&lt;/p&gt;
&lt;p&gt;ARM publishes the spec for connectors &lt;a href="http://infocenter.arm.com/help/topic/com.arm.doc.faqs/attached/13634/cortex_debug_connectors.pdf"&gt;here&lt;/a&gt;, most implementations now use the 0.5&amp;quot; pitch 10-pin FTSH connector.&lt;/p&gt;
&lt;p&gt;There&amp;#39;s also TagConnect which I use on small boards where I don&amp;#39;t want to mount a connector or don&amp;#39;t have room for one. It works fine, can be a bit frustrating to attach, but it&amp;#39;s another option.&lt;/p&gt;
&lt;p&gt;No nothing is going to integrate into MPlab, you can close that and put it away, you will need entirely different tools for this. You&amp;#39;ll need Keil or IAR or some people use Eclipse, Segger has Segger Embedded Studio, I use Crossworks, you can even use gcc from the command line. You&amp;#39;re going to be doing some reading for a while.&lt;/p&gt;
&lt;p&gt;Get a dev kit, really, get a dev kit. Get the nRF51-DK or the nRF52-DK. Why have you picked nrf51822 by the way, the nrf52832 is out, available, more powerful, slightly less BOM required, very similar cost. The nrf51822 is a wonderful chip and if it&amp;#39;s all you need ok, but at this point you should look at the nRF52 series for new designs.&lt;/p&gt;
&lt;p&gt;Why get a dev kit? First of all, they run all the examples nordic publishes in their SDK, all the bluetooth samples, all the device driver samples, this will save you about a billion years of time getting up to speed. Secondly they aren&amp;#39;t very expensive. Thirdly they come with a Segger programmer built right into the board which will do debug out, ie you can use it to program your 3rd party board later, at least non-commercially. So you get a complete kit with buttons, LEDs, USB interface and a free Segger all for $40 which is designed to get you up to speed as soon as possible.&lt;/p&gt;
&lt;p&gt;If you are doing it non-commercially then Segger does sell the JLink EDU for about $60 (if I remember correctly). I have one, it&amp;#39;s quite nice to have a standalone JLink although as I said the dev kit will act as a pass-through segger to program a custom board.&lt;/p&gt;
&lt;p&gt;You can use ST-Link with openocd, you can use the CMSIS-DAP adaptor Nguyen sells (his message above mine). Advantages of using Segger are that&amp;#39;s what Nordic uses, that&amp;#39;s what&amp;#39;s built into their boards, if you use the free (again non-commercially free) Segger Embedded Studio to do your programming then that uses Segger of course. So if you can use Segger, use it, it&amp;#39;s one more thing you don&amp;#39;t have to fiddle with, it just works.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Newbie about to program a prototype board</title><link>https://devzone.nordicsemi.com/thread/56945?ContentTypeID=1</link><pubDate>Sat, 02 Jul 2016 19:35:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ee4779b3-146b-4db6-a6a9-21f7962bf159</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;A cheaper alternative &lt;a href="http://embeddedsoftdev.blogspot.ca/p/idap-link.html"&gt;Debug Jtag for the nRF5x is the IDAP-Link&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>