<?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>Custom TWIS DFU transport in SDK15 on S132v6: Flash erase error 3 on Init Packet execute</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/32991/custom-twis-dfu-transport-in-sdk15-on-s132v6-flash-erase-error-3-on-init-packet-execute</link><description>Hello! 
 SDK15&amp;#39;s DFU with app_scheduler is great! 
 I am able to Select, Create, and Write an Init Packet. On Execute, however, I get &amp;quot;Flash erase failed (0x3)&amp;quot;. What might I be doing wrong? 
 In the log below, &amp;#39;wr&amp;#39; happens in NRFX_TWIS_EVT_WRITE_REQ</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 03 Apr 2018 19:56:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/32991/custom-twis-dfu-transport-in-sdk15-on-s132v6-flash-erase-error-3-on-init-packet-execute" /><item><title>RE: Custom TWIS DFU transport in SDK15 on S132v6: Flash erase error 3 on Init Packet execute</title><link>https://devzone.nordicsemi.com/thread/126716?ContentTypeID=1</link><pubDate>Tue, 03 Apr 2018 19:56:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0c3dfca6-56ea-42cf-963a-e10097dd6d24</guid><dc:creator>lesher</dc:creator><description>&lt;p&gt;I added nrf_dfu_ble.c back into the build (two transports exist) and now flash erase/write works. My issue could be related to something in there making the system understand that is needs to use sd instead of nvmc to handle flash. I want both transports present, so I&amp;#39;m going to mark this as the answer - though any additional information is welcome.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom TWIS DFU transport in SDK15 on S132v6: Flash erase error 3 on Init Packet execute</title><link>https://devzone.nordicsemi.com/thread/126557?ContentTypeID=1</link><pubDate>Tue, 03 Apr 2018 02:33:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6232aa5d-b37c-4167-980e-549d00f1acbc</guid><dc:creator>lesher</dc:creator><description>&lt;p&gt;The app that will be bootloaded uses the softdevice, but the bootloader does not start the SD. I&amp;#39;m now trying to understand the places where SD_PRESENT and (perhaps)&amp;nbsp;BLE_STACK_SUPPORT_REQD and MBR_SIZE determine sizes and addresses for protection.&lt;/p&gt;
&lt;p&gt;Note that I copied the secure_bootloader_ble example and added the TWIS transport, then removed nrf_dfu_ble.c from the build so there is enough flash to enable logging.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>