<?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>DFU in custom board without Segger</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/7664/dfu-in-custom-board-without-segger</link><description>Good afternoon,
I have developed a custom board based on nRF51822 device and SD-110-v8. For debugging I have been usign the Ulink2 tool with Keil. Now, I want to implement DFU on my custom device but I have problems to program the DFU Bootloader into</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 01 Jul 2015 21:44:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/7664/dfu-in-custom-board-without-segger" /><item><title>RE: DFU in custom board without Segger</title><link>https://devzone.nordicsemi.com/thread/27303?ContentTypeID=1</link><pubDate>Wed, 01 Jul 2015 21:44:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8591d43c-54a4-464a-a9e4-9357184fbce8</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;For flashing with micros, the softdevice hex must be named Softdevice.hex, Application must be name firmware.hex and DFU is named dfu.hex.  No mergehex.  Just rename the all 3 hex to the appropriate name.  The IDAP-Link firmware will take care of the rest.  After successful programming, it will attempt to start the device.  If programming failed, the Red LED will blink at about 1 Hz.  It is not require to have all 3 files.  You can have just Softdevice + firmware or Softdevice + dfu or just one file.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU in custom board without Segger</title><link>https://devzone.nordicsemi.com/thread/27302?ContentTypeID=1</link><pubDate>Wed, 01 Jul 2015 13:33:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d2c6c17-0059-42d2-abb6-abfbeadf40a8</guid><dc:creator>Dani</dc:creator><description>&lt;p&gt;Now it is perfect, thanks.
Furthermore, when using the micro SD card: which files should be included into the card...
a) softdevice + bootloader + application (hex files)?
b) one file created with a merging tool that includes all three mentioned above?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU in custom board without Segger</title><link>https://devzone.nordicsemi.com/thread/27306?ContentTypeID=1</link><pubDate>Wed, 01 Jul 2015 00:23:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b933643-6255-4879-a809-08f3bfa1ea8f</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;Yes, there was a bug with the Windows version of the IDAPnRFProg.  It filled the empty spaces with 0.  It has been fixed in version 0.5.  You can download it from &lt;a href="https://sourceforge.net/projects/idaplinkfirmware/files/?source=navbar"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU in custom board without Segger</title><link>https://devzone.nordicsemi.com/thread/27305?ContentTypeID=1</link><pubDate>Tue, 30 Jun 2015 15:32:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:57d6aced-57d2-456f-a38a-3274be781ddc</guid><dc:creator>Dani</dc:creator><description>&lt;p&gt;(continues) The only problem I have is related to Data-Peserving: when my device starts, I only write flash with my default values if it is not written (when 0xFF). I also use DeviceManager, I have PSTORAGE_MAX_APPLICATIONS to 5, and DFU_APP_DATA_RESERVED is set to 0x1400. If I try to read flash later on, I get all values to 0, so it means that it has not written with my default values and it seems as it was initialised to 0x00.
Any suggestion???&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU in custom board without Segger</title><link>https://devzone.nordicsemi.com/thread/27304?ContentTypeID=1</link><pubDate>Tue, 30 Jun 2015 15:29:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bdf4f73c-9659-4307-8402-8ecbc3cef511</guid><dc:creator>Dani</dc:creator><description>&lt;p&gt;I purchased the tool you have suggested and, once received, I have proceeded as follows:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;First, I have taken the example &amp;#39;...\examples\dfu\bootloader\pca10028\dual_bank_ble_s110\arm4&amp;#39; from the SDK, and I have compiled it with the following memory mapping:
- IROM1:  0x3C000, 0x3C00
- IRAM1:  0x20002C00, 0x5380
- IRAM2:  0x20007F80, 0x80 (noinit)&lt;/li&gt;
&lt;li&gt;I have also compiled my application with this other memory mapping:
- IROM1:  0x18000, 0x24000
- IRAM1:  0x20002000, 0x6000&lt;/li&gt;
&lt;li&gt;Then, and by means of the IDAP_link and IDAPnRFProg I have successfully programmed my device.&lt;/li&gt;
&lt;li&gt;My device works fine and I also succeeded in changing my application by using the DFU utility.
But... (continues)&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU in custom board without Segger</title><link>https://devzone.nordicsemi.com/thread/27300?ContentTypeID=1</link><pubDate>Thu, 18 Jun 2015 22:23:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a5b15df2-9447-476e-ae50-aba80ddf6bc6</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;The addresses are in the hex.  The IDAPnRFProg takes care of all that automatically.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU in custom board without Segger</title><link>https://devzone.nordicsemi.com/thread/27301?ContentTypeID=1</link><pubDate>Thu, 18 Jun 2015 07:24:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d09fe74-52bb-4f60-8e19-025dca736c89</guid><dc:creator>Dani</dc:creator><description>&lt;p&gt;It looks fine. But, how can you specify memory location adresses? Are they included into hex files?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU in custom board without Segger</title><link>https://devzone.nordicsemi.com/thread/27298?ContentTypeID=1</link><pubDate>Thu, 18 Jun 2015 07:01:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:647ed893-8c46-4d86-8297-1957995fd646</guid><dc:creator>&amp;#216;yvind Karlsen</dc:creator><description>&lt;p&gt;This is shown in &lt;a href="https://devzone.nordicsemi.com/blogs/686/programming-the-nrf51822-beacon-kit-with-the-nrf51/"&gt;this blog post&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU in custom board without Segger</title><link>https://devzone.nordicsemi.com/thread/27297?ContentTypeID=1</link><pubDate>Thu, 18 Jun 2015 05:52:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e5443dbd-6847-4252-966b-39f96d322050</guid><dc:creator>wlgrd</dc:creator><description>&lt;p&gt;If you have a Development Kit you can use the debug out functionality of that one.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU in custom board without Segger</title><link>https://devzone.nordicsemi.com/thread/27299?ContentTypeID=1</link><pubDate>Wed, 17 Jun 2015 23:55:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d863b0c5-6a80-40cb-bde4-09a3e6281e7f</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;How about this alternative &lt;a href="http://embeddedsoftdev.blogspot.ca/p/idap-link.html"&gt;here&lt;/a&gt;.  multi-boards can be used for parallel programming on OS X &amp;amp; Windows.  Can Flash all 3 (SD, App, DFU) all at once without mergehex.  Support drag &amp;amp; drop with support for mBed compiled hex.  Lot&amp;#39;s features.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>