<?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>Application with SoftDevice have to put at address 0x14000?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/810/application-with-softdevice-have-to-put-at-address-0x14000</link><description>I put the boot loader at 0x3a800 and the application at 0x27400. the region from 0x14000 to 0x27400 is all blank (0xff). also 
 nrfjprog --memwr 0x10001014 --val 0x0003a800 
 The boot loader only does one thing, jump to the application at 0x27400 using</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 12 Nov 2013 17:48:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/810/application-with-softdevice-have-to-put-at-address-0x14000" /><item><title>RE: Application with SoftDevice have to put at address 0x14000?</title><link>https://devzone.nordicsemi.com/thread/4030?ContentTypeID=1</link><pubDate>Tue, 12 Nov 2013 17:48:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:376839f0-aa38-49a0-a463-5b2e00e11b13</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;That&amp;#39;s actually a neat trick. If you want to have a look at an application doing interrupt forwarding, you can have a look at the code available here, although it isn&amp;#39;t an official Nordic example: &lt;a target="_blank" href="https://github.com/hlnd/nrf51-ble-bootloader" rel="nofollow"&gt;https://github.com/hlnd/nrf51-ble-bootloader&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application with SoftDevice have to put at address 0x14000?</title><link>https://devzone.nordicsemi.com/thread/4031?ContentTypeID=1</link><pubDate>Wed, 06 Nov 2013 00:57:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cc4b9a63-74e5-4be9-ab0f-2cdd0e84f0cc</guid><dc:creator>Guest</dc:creator><description>&lt;p&gt;Hi Ole,&lt;/p&gt;
&lt;p&gt;I just copied App2 application vector to 0x14000, then interrupts passed to App2. It looks work fine.&lt;/p&gt;
&lt;p&gt;thanks,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application with SoftDevice have to put at address 0x14000?</title><link>https://devzone.nordicsemi.com/thread/4034?ContentTypeID=1</link><pubDate>Wed, 06 Nov 2013 00:57:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c4024f7-1505-4b33-a0a7-fd2b3f53faed</guid><dc:creator>Bastiaan</dc:creator><description>&lt;p&gt;Hi Ole,&lt;/p&gt;
&lt;p&gt;I just copied App2 application vector to 0x14000, then interrupts passed to App2. It looks work fine.&lt;/p&gt;
&lt;p&gt;thanks,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application with SoftDevice have to put at address 0x14000?</title><link>https://devzone.nordicsemi.com/thread/4026?ContentTypeID=1</link><pubDate>Tue, 05 Nov 2013 18:42:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:72a100db-20f2-4dcf-8557-8c3243f5f574</guid><dc:creator>Guest</dc:creator><description>&lt;p&gt;solved this problem by manually copying application vector of app2 to 0x14000. The interrupts are forwarded to app2.&lt;/p&gt;
&lt;p&gt;thanks,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application with SoftDevice have to put at address 0x14000?</title><link>https://devzone.nordicsemi.com/thread/4033?ContentTypeID=1</link><pubDate>Tue, 05 Nov 2013 18:42:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:662a40d1-be46-469f-b16e-ae41731011a0</guid><dc:creator>Bastiaan</dc:creator><description>&lt;p&gt;solved this problem by manually copying application vector of app2 to 0x14000. The interrupts are forwarded to app2.&lt;/p&gt;
&lt;p&gt;thanks,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application with SoftDevice have to put at address 0x14000?</title><link>https://devzone.nordicsemi.com/thread/4029?ContentTypeID=1</link><pubDate>Mon, 04 Nov 2013 21:04:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:193727f0-ffb0-412f-92af-391648d5fc51</guid><dc:creator>Bastiaan</dc:creator><description>&lt;p&gt;Hi Ole,&lt;/p&gt;
&lt;p&gt;Thank you for the suggestions!  Actually we used to put out bootloader at 0x14000, but failed to forward interrupts from SoftDevice to Apps. I am pretty interested in your &amp;quot;Edit 2&amp;quot;. Could you give me an example how to manually interrupts to the application is running? This probably better solution.  if we have to change UICR, could you please give me an example how to erase the page?&lt;/p&gt;
&lt;p&gt;thanks,&lt;/p&gt;
&lt;p&gt;zj&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application with SoftDevice have to put at address 0x14000?</title><link>https://devzone.nordicsemi.com/thread/4035?ContentTypeID=1</link><pubDate>Mon, 04 Nov 2013 21:04:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f172c215-c1cb-4c3a-9680-c193f2b7767c</guid><dc:creator>Guest</dc:creator><description>&lt;p&gt;Hi Ole,&lt;/p&gt;
&lt;p&gt;Thank you for the suggestions!  Actually we used to put out bootloader at 0x14000, but failed to forward interrupts from SoftDevice to Apps. I am pretty interested in your &amp;quot;Edit 2&amp;quot;. Could you give me an example how to manually interrupts to the application is running? This probably better solution.  if we have to change UICR, could you please give me an example how to erase the page?&lt;/p&gt;
&lt;p&gt;thanks,&lt;/p&gt;
&lt;p&gt;zj&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application with SoftDevice have to put at address 0x14000?</title><link>https://devzone.nordicsemi.com/thread/4028?ContentTypeID=1</link><pubDate>Mon, 04 Nov 2013 14:14:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:06a1c1c4-17e1-4c14-af9a-72a3e86c7996</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;As Asbjørn says, the application has to be located at 0x14000 when using the S110. I would not recommend you to ever erase UICR while in the field, since this may leave the device permanently unusable if power is lost at a bad time.&lt;/p&gt;
&lt;p&gt;However, &lt;a href="https://devzone.nordicsemi.com/index.php/softdevice-doesn-t-call-app-callback-when-the-app-is-called-from-bootloader"&gt;this reply&lt;/a&gt; contains a little information that may be helpful for implementing a scenario similar to the one you request.&lt;/p&gt;
&lt;p&gt;Edit: Sorry, didn&amp;#39;t notice that you were the one asking the other question. However, there isn&amp;#39;t really any magic way to achieve exactly what you want. When the S110 is programmed it will set CLENR0 to 0x14000, and to change that you have to first erase UICR. As I mention above, this is dangerous to do in the field, since a power loss right after having erased it will brick your device.&lt;/p&gt;
&lt;p&gt;Edit 2: Another option could be to put your bootloader at 0x14000, and make it forward the interrupts manually to whatever application is running. This would increase the interrupt latency a little, but would avoid any flash write or erases while running. &lt;a href="https://github.com/hlnd/nrf51-ble-bootloader"&gt;This bootloader&lt;/a&gt; implements this scheme, so it might be useful as inspiration.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application with SoftDevice have to put at address 0x14000?</title><link>https://devzone.nordicsemi.com/thread/4032?ContentTypeID=1</link><pubDate>Fri, 01 Nov 2013 22:15:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:79e898b0-c5bd-41a4-9786-7726e3374ad5</guid><dc:creator>zhijun lu</dc:creator><description>&lt;p&gt;Thanks, but how can we set the register CLENR0 to other address, like 0x27400?  looks UICR (from 0x10001000) page is written and erasing protected. I tried to change the value in CLENR0 (0x10001000), but even can&amp;#39;t erase the page. We have to run two application with one boot loader to choose which one need work. Thanks,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application with SoftDevice have to put at address 0x14000?</title><link>https://devzone.nordicsemi.com/thread/4027?ContentTypeID=1</link><pubDate>Fri, 01 Nov 2013 10:04:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb737b3d-5017-4200-99d0-2d7e923f20a3</guid><dc:creator>Asbj&amp;#248;rn S&amp;#230;b&amp;#248;</dc:creator><description>&lt;p&gt;The application must be put at the address specified in the CLENR0 register, that is, directly after the SoftDevice.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>