<?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>BLE dfu/I2C EEPROM update</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/10784/ble-dfu-i2c-eeprom-update</link><description>Hello 
 at the moment I have a running S120 BLE firmware update on my nRF51822 hardware.
This works fine on my desk.
But we have the additional requirement to update the I2C EEPROM content, too.
Is that possible in general?
I think I have to change</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 14 Dec 2015 12:51:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/10784/ble-dfu-i2c-eeprom-update" /><item><title>RE: BLE dfu/I2C EEPROM update</title><link>https://devzone.nordicsemi.com/thread/40303?ContentTypeID=1</link><pubDate>Mon, 14 Dec 2015 12:51:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:76484726-7d18-4159-9901-8cfd388aaec6</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi BT,
I afraid we won&amp;#39;t be able to provide the source code of the nrf.exe tool.
But you can create the zip file without using the nrf.exe.&lt;/p&gt;
&lt;p&gt;The instruction to generate the init data without using nrf.exe is described &lt;a href="https://github.com/NordicSemiconductor/nRF-Master-Control-Panel/blob/master/init%20packet%20handling/How%20to%20generate%20the%20INIT%20file%20for%20DFU.pdf"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The manifest.json file can be edited using notepad, and since you have control over the smartphone app you should be able to add the support for the EEPROM update beside application, bootloader, and softdevice update.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE dfu/I2C EEPROM update</title><link>https://devzone.nordicsemi.com/thread/40304?ContentTypeID=1</link><pubDate>Mon, 14 Dec 2015 08:58:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:48b4ca84-5012-4f6c-9e38-76267cb7d626</guid><dc:creator>Andreas</dc:creator><description>&lt;p&gt;Hi Hung Bui,
thanks for your idea. But if I would implement it like this, the user must do the update procedure in two steps. First uploading the .zip package for the EEPROM and second uploading the .zip package for the application itself. Am I right? This would not be really comfortable for the end user. Do you see any chance to update the nrf.exe tool to get an additional EEPROM.hex file into the .zip archive (is the source code for the nrf.exe tool available?) ? Of course, also the Smartphone App and the Bootlader must be able to handle this...
Regards!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE dfu/I2C EEPROM update</title><link>https://devzone.nordicsemi.com/thread/40302?ContentTypeID=1</link><pubDate>Fri, 11 Dec 2015 10:00:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7416d1bf-6b07-4cc5-9ef4-a3b81d6bf44d</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi BT,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m thinking of an easier way that you don&amp;#39;t have to modify the app and the zip file is that you can re-use application DFU to update the external EEPROM.&lt;/p&gt;
&lt;p&gt;Basically, in the bootloader, after you have copied the new app image into the swap bank (the original app has not been erased yet), you can check if there is a flag (at address 0x00 for example) with first 6 bytes = &amp;quot;EEPROM&amp;quot;. Then you know it&amp;#39;s not the app image but the external EEPROM image. Then you can start writing to I2C with this image, instead of swapping with bank 0.&lt;/p&gt;
&lt;p&gt;By doing that you still can keep the app, CRC checking, init packet generator. You only have to modify the bootloader.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>