<?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 erase application after init packet</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/14338/dfu-erase-application-after-init-packet</link><description>I have a question about when the application is erased during serial DFU single-bank update: 
 According to the S110 Serial HCI documentation , the serial update packets are sent in the following order: 
 
 Start packet 
 Init packet 
 Data packets</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 31 Aug 2016 16:09:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/14338/dfu-erase-application-after-init-packet" /><item><title>RE: DFU erase application after init packet</title><link>https://devzone.nordicsemi.com/thread/54758?ContentTypeID=1</link><pubDate>Wed, 31 Aug 2016 16:09:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d0eb0261-f1a6-4f21-9ff0-fdeea339bc07</guid><dc:creator>sagha</dc:creator><description>&lt;p&gt;I solved this by modifying the DFU state machine in dfu_dual_bank.c and dfu_single_bank.c to erase the memory after the init packet checks pass.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>