<?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>cant save data in flash on DFU reset_prepare function</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/13492/cant-save-data-in-flash-on-dfu-reset_prepare-function</link><description>im using nrf51822. before entering DFU mode I want to save data in flash. but when I call pstorage within reset_prepare function, it doesn&amp;#39;t jump to DFU mode !!!! 
 reset_prepare(void)
{
 /* code */
 err_code = pstorage_block_identifier_get(flash_handler</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 02 May 2016 06:02:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/13492/cant-save-data-in-flash-on-dfu-reset_prepare-function" /><item><title>RE: cant save data in flash on DFU reset_prepare function</title><link>https://devzone.nordicsemi.com/thread/51512?ContentTypeID=1</link><pubDate>Mon, 02 May 2016 06:02:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cdfc293a-9b45-44fd-acea-817b2dc697da</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Hi Makouda, Sorry for late reply, I was sick all week. I think i need to see this on my desk, any possibility to share the code? or mostly you have found the problem already?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: cant save data in flash on DFU reset_prepare function</title><link>https://devzone.nordicsemi.com/thread/51510?ContentTypeID=1</link><pubDate>Wed, 27 Apr 2016 12:24:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7319d13a-be4a-41ae-9413-23b8688b8d80</guid><dc:creator>makouda</dc:creator><description>&lt;p&gt;no i dont use debugger !!!!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: cant save data in flash on DFU reset_prepare function</title><link>https://devzone.nordicsemi.com/thread/51511?ContentTypeID=1</link><pubDate>Wed, 27 Apr 2016 10:16:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:df232aa7-b5f6-4d5d-93ff-8ea3cb765fbb</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Hi makouda&lt;/p&gt;
&lt;p&gt;Did you set a breakpoint and try to debug why it is not jumping?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>