<?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 SWD to flash and also have DFU bootloader installed ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/23198/using-swd-to-flash-and-also-have-dfu-bootloader-installed</link><description>Is there a way that I can still flash via SWD, but also have the DFU bootloader installed ? 
 The moment, as soon as I install the DFU bootloader, I have to upload the app via DFU because the application CRC is not being set in the flash when I program</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 04 Jul 2017 11:47:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/23198/using-swd-to-flash-and-also-have-dfu-bootloader-installed" /><item><title>RE: Using SWD to flash and also have DFU bootloader installed ?</title><link>https://devzone.nordicsemi.com/thread/91238?ContentTypeID=1</link><pubDate>Tue, 04 Jul 2017 11:47:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b09fa419-1290-4051-9976-f17206321abb</guid><dc:creator>Roger Clark</dc:creator><description>&lt;p&gt;Excellent&lt;/p&gt;
&lt;p&gt;Thankyou.&lt;/p&gt;
&lt;p&gt;I will read that doc&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using SWD to flash and also have DFU bootloader installed ?</title><link>https://devzone.nordicsemi.com/thread/91237?ContentTypeID=1</link><pubDate>Tue, 04 Jul 2017 11:29:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d16b9cf6-ca93-42e0-ad8b-2812ecb28b75</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Yes, this is possible, you just need to include the bootlaoder settings page. You can generate your own with nrfutil which will contain necessary information for the bootlaoder to validate your application.  Instructions can be found here: &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.tools/dita/tools/nrfutil/nrfutil_settings_generate_display.html?cp=5_5_6"&gt;infocenter.nordicsemi.com/.../nrfutil_settings_generate_display.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using SWD to flash and also have DFU bootloader installed ?</title><link>https://devzone.nordicsemi.com/thread/91242?ContentTypeID=1</link><pubDate>Mon, 03 Jul 2017 07:46:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c9eefeaa-4542-4191-b417-94a89a3ccfd4</guid><dc:creator>Roger Clark</dc:creator><description>&lt;p&gt;Ah&lt;/p&gt;
&lt;p&gt;I see IDAPnRFProg  is special hardware&lt;/p&gt;
&lt;p&gt;I was looking for a SW solution&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll double check mergehex&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using SWD to flash and also have DFU bootloader installed ?</title><link>https://devzone.nordicsemi.com/thread/91241?ContentTypeID=1</link><pubDate>Mon, 03 Jul 2017 07:45:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:429b66b6-dcaa-4d96-9996-b504c62066c8</guid><dc:creator>Roger Clark</dc:creator><description>&lt;p&gt;OK.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll check IDAPnRFProg ..&lt;/p&gt;
&lt;p&gt;I thought merge hex, just merged the SD and Application or bootloader hex files, but I&amp;#39;ll double check&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using SWD to flash and also have DFU bootloader installed ?</title><link>https://devzone.nordicsemi.com/thread/91240?ContentTypeID=1</link><pubDate>Mon, 03 Jul 2017 07:18:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5fbf2137-60ae-4743-8634-2d6e003e2371</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;The IDAPnRFProg was specifically design for this.  It takes care of the CRC for you so the DFU works.  I believe mergehex does the same.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using SWD to flash and also have DFU bootloader installed ?</title><link>https://devzone.nordicsemi.com/thread/91243?ContentTypeID=1</link><pubDate>Mon, 03 Jul 2017 00:21:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4fce9777-1baa-455b-8430-cce56fb36efe</guid><dc:creator>Roger Clark</dc:creator><description>&lt;p&gt;I dont think that gets around the problem, because at startup, the bootloader checks the application CRC.&lt;/p&gt;
&lt;p&gt;So there would need to be a way to generate the hex for the area in flash that contains the application CRC (written there by the bootloader when the last application was upload via DFU)&lt;/p&gt;
&lt;p&gt;I could write an exe or python script etc, to do this, but I wondered whether there is an existing tool that did this&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using SWD to flash and also have DFU bootloader installed ?</title><link>https://devzone.nordicsemi.com/thread/91239?ContentTypeID=1</link><pubDate>Mon, 03 Jul 2017 00:12:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8bbc9d63-a235-4721-8a5a-21808a688645</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;You can use mergehex provided by Nordic to merge all in one hex then flash it
or
you can use the IDAPnRFProg with the &lt;a href="https://embeddedsoftdev.blogspot.com/p/idap-link.html"&gt;IDAP-Link&lt;/a&gt; and parallel program multiple boards at once.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>