<?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>Using the NRF51-DK as external programmer</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/10448/using-the-nrf51-dk-as-external-programmer</link><description>Hi, 
 I do have a NRF51-DK and want to use it as a external programmer. I connected it to the OUTPUT Port which worked fine, then I flashed the mbed firmware on it because it was a mess getting it to work on mac. After that, I couldn&amp;#39;t program my external</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 31 Mar 2019 18:51:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/10448/using-the-nrf51-dk-as-external-programmer" /><item><title>RE: Using the NRF51-DK as external programmer</title><link>https://devzone.nordicsemi.com/thread/179365?ContentTypeID=1</link><pubDate>Sun, 31 Mar 2019 18:51:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:358b0881-72c2-4165-a4ba-cddacb2f52cf</guid><dc:creator>Luiz Duarte</dc:creator><description>&lt;p&gt;Hi, I&amp;#39;m with the same problem, but the JLINK firmware link that you pass is no longer available. Can you halp me?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using the NRF51-DK as external programmer</title><link>https://devzone.nordicsemi.com/thread/38829?ContentTypeID=1</link><pubDate>Fri, 27 Nov 2015 15:31:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f5c73495-652c-44a5-acd7-49f4f369dfbb</guid><dc:creator>Anders Strand</dc:creator><description>&lt;p&gt;You can buy a cheap CMSIS-DAP debugger, for example &lt;a href="https://www.adafruit.com/products/2764"&gt;this one&lt;/a&gt; from adafruit. It should work with pyOCD&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using the NRF51-DK as external programmer</title><link>https://devzone.nordicsemi.com/thread/38828?ContentTypeID=1</link><pubDate>Fri, 27 Nov 2015 15:14:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3099455d-c1fb-447c-9ea3-8b861144f95d</guid><dc:creator>Prashant @ TobyRich</dc:creator><description>&lt;p&gt;Thank you for the confirmation. I&amp;#39;m using JLINK firmware for now.&lt;/p&gt;
&lt;p&gt;Background: I am using pyOCD to flash the firmware while preserving unchanged flash blocks because copy-pasting erases the entire flash (in both mbed and Jlink modes). My app stores some calibration data on flash using pstorage, so I must preserve it. pyOCD only works for mbed-enabled boards. I cannot use Jlink because we develop on Mac and Segger tools are unreliable.&lt;/p&gt;
&lt;p&gt;I am not using MBED online IDE at all, we do offline development.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using the NRF51-DK as external programmer</title><link>https://devzone.nordicsemi.com/thread/38831?ContentTypeID=1</link><pubDate>Fri, 27 Nov 2015 14:48:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba3eaa13-fce2-4963-82f5-17d71bb0567e</guid><dc:creator>Anders Strand</dc:creator><description>&lt;p&gt;I updated my previous answer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using the NRF51-DK as external programmer</title><link>https://devzone.nordicsemi.com/thread/38830?ContentTypeID=1</link><pubDate>Fri, 27 Nov 2015 11:12:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ab0fe3f-5a36-4025-b458-ec13b7070d70</guid><dc:creator>Prashant @ TobyRich</dc:creator><description>&lt;p&gt;I am also interested in learning the answer to this. It seems the nRF51822-DK will not program an external board if the MBED firmware is loaded on it. Can you confirm?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using the NRF51-DK as external programmer</title><link>https://devzone.nordicsemi.com/thread/38826?ContentTypeID=1</link><pubDate>Tue, 24 Nov 2015 15:06:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c83c23f7-5d7d-47df-9dff-01b67d81aa86</guid><dc:creator>Patrick</dc:creator><description>&lt;p&gt;So, It is not possible to use the mBed Firmware to flash an external device?&lt;/p&gt;
&lt;p&gt;On the old devout (NRF51822 green Board) I cut the traces and put my device as &amp;quot;man in the middle&amp;quot; to program it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using the NRF51-DK as external programmer</title><link>https://devzone.nordicsemi.com/thread/38827?ContentTypeID=1</link><pubDate>Tue, 24 Nov 2015 15:04:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:063341b5-a74b-4782-b3a3-222aee4ca95a</guid><dc:creator>Anders Strand</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;When you flash the mBed firmware to the segger, the board will no longer work as a JLINK programmer. You must flash the &lt;a href="https://www.nordicsemi.com/eng/nordic/Products/nRF51-DK/nRF51-DK-J-Link-IF/38671"&gt;JLINK firmware&lt;/a&gt; first, which replaces the mBed firmware. You do this by holding down the RESET button while powering on the board. It should mount on your computer as &amp;quot;BOOTLOADER&amp;quot;. Drag and drop the JLINK firmware on the BOOTLOADER drive. Wait a couple of seconds, and then power cycle the board.&lt;/p&gt;
&lt;p&gt;EDIT:
The debug out port does NOT work when mBed firmware is loaded. The mBEd firmware does not check for external devices, it only flashes the hex file to the on board nRF chip.&lt;/p&gt;
&lt;p&gt;You must use the JLINK firmware for this. Even though JLINK firmware is loaded, you can flash hex-files generated from the mBed online compiler to the external card.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>