<?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>Bootloader &amp;quot;jump-to-address&amp;quot; assembly code</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/59520/bootloader-jump-to-address-assembly-code</link><description>The following code is from &amp;quot;Boot_Loader\nrf_bootloader_app_start_final.c&amp;quot;: 
 __STATIC_INLINE void jump_to_addr(uint32_t new_msp, uint32_t new_lr, uint32_t addr) { __ASM volatile (&amp;quot;MSR MSP, %[arg]&amp;quot; : : [arg] &amp;quot;r&amp;quot; (new_msp)); __ASM volatile (&amp;quot;MOV LR, %[arg</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 26 Mar 2020 07:11:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/59520/bootloader-jump-to-address-assembly-code" /><item><title>RE: Bootloader "jump-to-address" assembly code</title><link>https://devzone.nordicsemi.com/thread/241720?ContentTypeID=1</link><pubDate>Thu, 26 Mar 2020 07:11:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2ed47527-4c1b-41c8-8b65-443ccfa470a7</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;As you said, the problem is that the values get referenced relative to the stack pointer when optimization is off. And all bootloader targets are built with -Os, so this issue is not being detected in our release testing. Thank you for reporting this and sorry for the inconvenince caused. We plan to fix this in our next SDK release.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>