<?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.0 + SDK 7.x.x +16kB RAM chip bootloader example</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/4706/s310-v2-0-sdk-7-x-x-16kb-ram-chip-bootloader-example</link><description>I&amp;#39;m migrating from S310 v1.0 + SDK 5.2.0 to the latest S310 v2.0 + SDK 7.1.0 (to be able to update also BL and SD). 
 I have used OTA DFU based on example included in SDK 5.2.0 with chip nRF51422-QFAA. 
 Now I try to use bootloader example from SDK</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 17 Jan 2015 01:01:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/4706/s310-v2-0-sdk-7-x-x-16kb-ram-chip-bootloader-example" /><item><title>RE: S310 v2.0 + SDK 7.x.x +16kB RAM chip bootloader example</title><link>https://devzone.nordicsemi.com/thread/16677?ContentTypeID=1</link><pubDate>Sat, 17 Jan 2015 01:01:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb941f3a-b1ae-44b8-865c-72dd9ef86a94</guid><dc:creator>Matt Barr</dc:creator><description>&lt;p&gt;I just went through the process of porting the SDK 7.1.0 OTA DFU update mechanism (bootloader and DFU service) to the IAR tool chain using S110 7.1.0. DFU service was added to our application, target device is nRF51422-CEAA. After getting this working I went back and rebuilt targeting the 2.0.1 S310 and OTA DFU hit the ground running. I&amp;#39;m using the Android MCP (with init files) to perform the update.&lt;/p&gt;
&lt;p&gt;I had to make the following changes for S310:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;define S310 instead of S110 to preprocessor (app, bootloader)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;include s310 instead of s110 softdevice headers (app, bootloader)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;set ram region start address to 0x20002400 instead of 0x20002000 (app, bootloader)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;set rom region start address to 0x0001D000 instead of 0x00016000 (app only)&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;No other changes, just re-build app and bootloader.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S310 v2.0 + SDK 7.x.x +16kB RAM chip bootloader example</title><link>https://devzone.nordicsemi.com/thread/16676?ContentTypeID=1</link><pubDate>Tue, 09 Dec 2014 12:34:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f4147917-1ec5-49ed-89f6-5220732c73ab</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;All the examples in SDK 7.1.0 are made for the new PCA10028 (nRF51 DK) or PCA10031 (nRF51 dongle) development boards. So you must change your Keil define constant to the board you have, as described &lt;a href="http://file:///C:/Keil/ARM/Device/Nordic/nRF51_SDK_7.1.0_372d17a/documentation/s110/html/a00018.html"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;In order to have the standard S110 bootloader from SDK 7.1.0 to work with S310 v2.0.0 softdevice, make modifications to the bootloader as described on &lt;a href="https://devzone.nordicsemi.com/question/15230/porting-code-for-s110-to-work-with-s310/?answer=15240#post-id-15240"&gt;this thread&lt;/a&gt; for S310 v2.0.0&lt;/p&gt;
&lt;p&gt;The bootloader in SDK 7.1.0 needs an &lt;a href="http://file:///C:/Keil/ARM/Device/Nordic/nRF51_SDK_7.1.0_372d17a/documentation/s110/html/a00065.html"&gt;init packet&lt;/a&gt; to validate if the application image that is to be transferred is valid or not. You can use Android nRF Toolbox DFU v1.11.1 (available on Google Play) to transmit the applicaiton image. The init file (.dat file) and the application file (.hex file, e.g. ble_app_hrs) must match together. In nRFToolbox there are two files that match together by default, namely the Nordic Semiconductor/Board/pca10028/ble_app_hrs_dfu_s110_v7_1_0_ext_init.dat and Nordic Semiconductor/Board/pca10028/ble_app_hrs_dfu_s110_v7_1_0.hex. This brobably only works with the new pca10028 board. Also, for any other application, CRC needs to be calculated for that application and then inserted into the init file.&lt;/p&gt;
&lt;p&gt;In short terms, I would not recommend to make the S110 bootloader work for now for S310, I would wait for nRF51 SDK 8.0.0 which is only a few weeks away from release. Hopefully, SDK 8.0.0 makes it easier to upload custom S310 application via bootloader.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>