<?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>I&amp;#39;m having trouble starting my application after power cycling after flashing it with the DFU app.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/14681/i-m-having-trouble-starting-my-application-after-power-cycling-after-flashing-it-with-the-dfu-app</link><description>I&amp;#39;m having trouble starting my application after power cycling after flashing it with the DFU app. 
 I started nRFgo Studio. Erased the chip. Programmed the SoftDevice (s130_nrf51_2.0.0_softdevice.hex). Programmed the bootloader. 
 Now the bootloader</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 23 Jun 2016 13:36:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/14681/i-m-having-trouble-starting-my-application-after-power-cycling-after-flashing-it-with-the-dfu-app" /><item><title>RE: I'm having trouble starting my application after power cycling after flashing it with the DFU app.</title><link>https://devzone.nordicsemi.com/thread/56039?ContentTypeID=1</link><pubDate>Thu, 23 Jun 2016 13:36:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0d09a9d7-b85d-4f4a-8de2-df1072577338</guid><dc:creator>mosi</dc:creator><description>&lt;p&gt;Resolved. I had not included all compiler and linker flags into my ecplise project (I&amp;#39;m not using the makefile). I looked at the makefile and included all missing flags. Now the bootloader works fine.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I'm having trouble starting my application after power cycling after flashing it with the DFU app.</title><link>https://devzone.nordicsemi.com/thread/56037?ContentTypeID=1</link><pubDate>Thu, 23 Jun 2016 08:10:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e3dd37b4-fe07-4401-92e5-ebcc3d5bb47a</guid><dc:creator>mosi</dc:creator><description>&lt;p&gt;Now I tested with a very simple application that only turns on a LED and then runs a while(1) loop.&lt;/p&gt;
&lt;p&gt;It also works just after it has been downloaded to the board through the iphone app. But when I restart the board it wont start and the bootloader is also dead.&lt;/p&gt;
&lt;p&gt;Could it be some incompatibility with S130 V2.0.0 SoftDevice ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I'm having trouble starting my application after power cycling after flashing it with the DFU app.</title><link>https://devzone.nordicsemi.com/thread/56038?ContentTypeID=1</link><pubDate>Wed, 22 Jun 2016 15:18:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4b570fcd-aab6-4db7-8ff5-7b598cc08c07</guid><dc:creator>mosi</dc:creator><description>&lt;p&gt;I added:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;SEGGER_RTT_printf( 0, &amp;quot;pstorage_flash_page_end = 0x%&amp;quot; PRIX32 &amp;quot;\n&amp;quot;, NRF_UICR-&amp;gt;NRFFW[0] );
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;It says just after reprogramming:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;pstorage_flash_page_end = 0x3C000
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;I suspected that pstorage corrupts the DFU bootloader but this (I think) proves it doesn&amp;#39;t.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>