<?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>Problem migrating existing setup from SoftDevice S110 v6.0.0 to S110 v8.0.0.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/15968/problem-migrating-existing-setup-from-softdevice-s110-v6-0-0-to-s110-v8-0-0</link><description>I have an existing working application running on a board with a Nordic Semiconductor NRF51822-QFAA CPU on it. The CPU is already programmed with (1) a SoftDevice S110 v6.0.0 (BLE stack) and (2) application software that allows monitoring using BLE. I</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 30 Aug 2016 06:00:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/15968/problem-migrating-existing-setup-from-softdevice-s110-v6-0-0-to-s110-v8-0-0" /><item><title>RE: Problem migrating existing setup from SoftDevice S110 v6.0.0 to S110 v8.0.0.</title><link>https://devzone.nordicsemi.com/thread/60922?ContentTypeID=1</link><pubDate>Tue, 30 Aug 2016 06:00:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b390cfa9-25e2-41ff-8925-12d0d70b82a5</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;If the problem is only present when not debugging I suspect there is a race condition of some sort in your application. Execution timing may be slower when running in debugger. You could try to run the application with printing messages on the UART, to identify when the problem occurs when not in debug mode. In SDK 8, tracing is enabled only if ENABLE_DEBUG_LOG_SUPPORT is defined in the project, see the SDK 8 documentation&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem migrating existing setup from SoftDevice S110 v6.0.0 to S110 v8.0.0.</title><link>https://devzone.nordicsemi.com/thread/60919?ContentTypeID=1</link><pubDate>Mon, 29 Aug 2016 14:07:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4bb9bc38-20a2-4308-adf6-1a95de1419b4</guid><dc:creator>apolcari</dc:creator><description>&lt;p&gt;Well, my original problem still exists.  I can only run the application when using the debugger.  If I flash the device and then try to run, it does not work.  I did change the SoftDevice to be in code region 0 and the application in code region 1, but it still does not work.  Any suggestions?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem migrating existing setup from SoftDevice S110 v6.0.0 to S110 v8.0.0.</title><link>https://devzone.nordicsemi.com/thread/60921?ContentTypeID=1</link><pubDate>Fri, 26 Aug 2016 15:49:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a21478ca-e739-44de-8954-d1d8176740d8</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;Im glad that you can run your application with the new softdevice.&lt;/p&gt;
&lt;p&gt;I dont however understand your latter question. What is your motivation to place the S110 8.0.0 in code region 1? Softdevice should be in code region 0 and the application should be in code region 1.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem migrating existing setup from SoftDevice S110 v6.0.0 to S110 v8.0.0.</title><link>https://devzone.nordicsemi.com/thread/60920?ContentTypeID=1</link><pubDate>Thu, 25 Aug 2016 14:52:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8249c56d-0e01-4801-839a-a4bc51cedc1b</guid><dc:creator>apolcari</dc:creator><description>&lt;p&gt;For the application, I followed the s110_nrf51 migration document to make changes to the application.  The result was the code compiled and when running in the debugger (after loading SoftDevice 8.0.0) it works.  I am using IAR Embedded Workbench IDE for the application.  I changed the linker file to a ROM start address of 0x18000.  I left the end address at 0x3EFFF (for a size of 0x26FFF).  I did not change the RAM settings (start address 0x20002000, end address 0x20003FFF (for a size of0x1FFF).  I used IAR to build a hex file.  I then used nRFgo to:  1) erase all, 2) flash SoftDevice 8.0, 3) flash application (hex file generated by IAR).&lt;/p&gt;
&lt;p&gt;Per nRFgo Studio, the original device appears to have the SoftDevice 6.0.0 in Region 0 with an allocated space of 80 kB (max address 0x14000) and the application in Region 1 with an allocated space of 176 kB.  My changes are trying to put the SoftDevice in Region 1 with an allocated space of 96 kB (max address 0x18000) and the application also in Region 1 with an allocated space of 160 kB.  I point this out because I&amp;#39;m wondering if there&amp;#39;s an issue related to the original SoftDevice using Region 0.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem migrating existing setup from SoftDevice S110 v6.0.0 to S110 v8.0.0.</title><link>https://devzone.nordicsemi.com/thread/60918?ContentTypeID=1</link><pubDate>Thu, 25 Aug 2016 13:23:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1aa94d71-e830-45f3-bc32-62e31351391d</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;Hi apolcari&lt;/p&gt;
&lt;p&gt;What changes have you actually performed to make your application fit with the new softdevice? S110 8.0.0 has different size and therefore you need to change the &lt;a href="https://devzone.nordicsemi.com/question/31703/nrf51822-iram-and-irom-settings-for-s110-sd/?answer=31761#post-id-31761"&gt;iROM start address&lt;/a&gt; and size of the application accordingly. You don&amp;#39;t need to change iRAM settings if you intend to continue using QFAA with 16kB RAM.&lt;/p&gt;
&lt;p&gt;The S110 8.0.0 also has different API than S110 6.0.0, so you need to go through the release notes and/or softdevice migration guides for S110 7.0.0 and S110 8.0.0 to realize the changes that have been made between S110 6.0.0 and S110 8.0.0 and what modifications need to be made in your application to cope with those changes. Only some of the API changes might effect your application, depending on what modules your application is using. You must replace the BLE header files in your application with S110 8.0.0 header files that reflect the S110 8.0.0 API.  You will find the header files in the \s110_nrf51_8.0.0\s110_nrf51_8.0.0_API\include\ folder in the S110 8.0.0 softdevice archieve.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>