<?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>Bootloader Init packet</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/6040/bootloader-init-packet</link><description>Hello, 
 i use Bootloader from SDK 7.2.0. I have some questions about init packet handling: 
 
 
 The bootloader compare the device type, device revision and softdevices that are valid to be used. The first time i flash the Sofdevice and Bootloader</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 17 Mar 2015 09:07:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/6040/bootloader-init-packet" /><item><title>RE: Bootloader Init packet</title><link>https://devzone.nordicsemi.com/thread/21124?ContentTypeID=1</link><pubDate>Tue, 17 Mar 2015 09:07:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:03603073-75d9-473d-bf3e-997d0f7976a5</guid><dc:creator>Frederic</dc:creator><description>&lt;p&gt;thanks for the explanation :-) Set the Device Type and Revision with nrfjprog works fine :-)
The Sofdevice Version is set automatically.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader Init packet</title><link>https://devzone.nordicsemi.com/thread/21123?ContentTypeID=1</link><pubDate>Mon, 16 Mar 2015 11:47:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2924765e-9197-4ae4-a3d5-c7d8ecd2379f</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hallo Frederic,&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Device type and device revision is stored at DFU_DEVICE_INFO_BASE address in UICR, please have  a look at dfu_init.h.  The default value of the device info in UICR are 0xFFFF as defined with DFU_DEVICE_TYPE_EMPTY and DFU_DEVICE_REVISION_EMPTY. Yes, you can flash application with any revision and type if they are 0xFFFF in UICR.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;No, the bootloader won&amp;#39;t write them after application has been programmed. You would need to write the value of DFU_DEVICE_INFO either manualy using nrfjprog/J-link commander, or implement that in the bootloader code, similar to how we write BOOTLOADER_REGION_START to  NRF_UICR_BOOT_START_ADDRESS in bootloader_settings_arm.c&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Yes, you would need to do it yourself as in #2.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>