<?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>S310 V2 bootloader hangs when calling softdevice</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/4634/s310-v2-bootloader-hangs-when-calling-softdevice</link><description>Hello, 
 I try to use the S310 V2 but got stuck into problems. 
 in order to start the application from bootloader in the S310 V1 I did succesfully : 
 void (*application)(void);
sd_softdevice_disable();
sd_softdevice_forward_to_application();
</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 11 Dec 2014 14:07:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/4634/s310-v2-bootloader-hangs-when-calling-softdevice" /><item><title>RE: S310 V2 bootloader hangs when calling softdevice</title><link>https://devzone.nordicsemi.com/thread/16469?ContentTypeID=1</link><pubDate>Thu, 11 Dec 2014 14:07:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f5d44faa-3ac1-4202-8f29-c742895ce005</guid><dc:creator>Adib</dc:creator><description>&lt;p&gt;I checked the given sample bootloader code and it turns out that not only the softdevice vector table has to be activated but also some MBR magic.&lt;/p&gt;
&lt;p&gt;Here is the code that works so far:&lt;/p&gt;
&lt;p&gt;start application from inside bootloader&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;    sd_mbr_command_t com = {SD_MBR_COMMAND_INIT_SD, };
    err_code = sd_mbr_command(&amp;amp;com);
    err_code = sd_softdevice_disable();
    sd_softdevice_vector_table_base_set(0x00020000);
    bootloader_util_app_start(0x00020000);
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;It should have noted that the mbr initialisation is also needed.&lt;/p&gt;
&lt;h2&gt;Adib.&lt;/h2&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S310 V2 bootloader hangs when calling softdevice</title><link>https://devzone.nordicsemi.com/thread/16468?ContentTypeID=1</link><pubDate>Fri, 28 Nov 2014 14:02:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:762b0f8a-ffe3-49e9-b3ea-4750fcb7a2d3</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;There is a migration document located in the s310 download folder which explains the necessary steps for using SDK 6.1 with S310 V.2.0. You can also use the attached modified hrs example as reference. Or just place it directly in your SDK, then you only have to make sure to replace the API files in \nrf51422\Include\s310 with the new ones.&lt;/p&gt;
&lt;p&gt;Attachment: (&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/6761.ble_5F00_app_5F00_hrs.zip"&gt;ble_app_hrs.zip&lt;/a&gt;)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>