<?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>Can I write App code and DFU code in j-link at once?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/89441/can-i-write-app-code-and-dfu-code-in-j-link-at-once</link><description>Hello. 
 I have a question about programming a dfu + softdevice + app code using j-link. 
 I programed like below for using wireless firmware update. 
 
 program softdevice using j-link 
 program dfu using j-link 
 update app code through ble 
 
 I programed</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 29 Jun 2022 01:24:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/89441/can-i-write-app-code-and-dfu-code-in-j-link-at-once" /><item><title>RE: Can I write App code and DFU code in j-link at once?</title><link>https://devzone.nordicsemi.com/thread/374645?ContentTypeID=1</link><pubDate>Wed, 29 Jun 2022 01:24:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:604031c8-2cd6-4dff-baeb-8205bdd022fb</guid><dc:creator>Youngjun</dc:creator><description>&lt;p&gt;Thank you Eugene Yu.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can I write App code and DFU code in j-link at once?</title><link>https://devzone.nordicsemi.com/thread/374644?ContentTypeID=1</link><pubDate>Wed, 29 Jun 2022 01:23:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c3e2ed22-315d-4d21-af97-e950137c27d5</guid><dc:creator>Eugene Yu</dc:creator><description>&lt;p&gt;Hello Youngjun,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;There are lots of explanations for the Secure DFU on the web.&lt;/p&gt;
&lt;p&gt;Here are some examples.&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;a href="https://www.novelbits.io/nrf52-ota-dfu-ble-part-4/"&gt;Implementing nRF OTA DFU over Bluetooth Low Energy (Part 3) - Novel Bits&lt;/a&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/NORDIC_5F00_Secure_5F00_DFU_5F00_KR.pdf"&gt;NORDIC_5F00_Secure_5F00_DFU_5F00_KR.pdf (nordicsemi.com)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;We are already providing the tool for combining the multiple hex files for production that is called &amp;quot;mergehex.exe&amp;quot;.&lt;/p&gt;
&lt;p&gt;You may easily find out the file in your environment.&lt;/p&gt;
&lt;p&gt;Usually, it located in &amp;quot;C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin\&amp;quot;.&lt;/p&gt;
&lt;p&gt;To have a working combined Hex file, you must have &amp;quot;bootloader settings&amp;quot; that are described in the above links.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regarding the new placements that you mentioned, this is related to your application.&lt;/p&gt;
&lt;p&gt;If you use peer manager with default configuration, it will reserve several pages for storing bonding information.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Eugene&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>