<?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>Primitive Dual Booting a nRF21540 (nRF52840) and zephyr Nordic Bluetooth examples</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/119832/primitive-dual-booting-a-nrf21540-nrf52840-and-zephyr-nordic-bluetooth-examples</link><description>I found this pretty old post devzone.nordicsemi.com/.../switching-between-apps-with-dual-bank . Currently I am building two different zephyr projects and selecting between them at boot time, using this code. The code handles interrupt reset conditions</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 17 Mar 2025 14:26:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/119832/primitive-dual-booting-a-nrf21540-nrf52840-and-zephyr-nordic-bluetooth-examples" /><item><title>RE: Primitive Dual Booting a nRF21540 (nRF52840) and zephyr Nordic Bluetooth examples</title><link>https://devzone.nordicsemi.com/thread/527681?ContentTypeID=1</link><pubDate>Mon, 17 Mar 2025 14:26:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:960b51b7-6dec-4c00-93de-fd39a971bd79</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Always happy to help out. There&amp;#39;s effectively a function pointer and setting the MSP.&lt;/p&gt;
[quote user="AMarch01"]Thanks for the reply, I always appreciate Nordic&amp;#39;s help. You guys are supporting a large amount of code. I know I was wide eyed while asking about Matter application code. Your team&amp;nbsp;was very helpful then.[/quote]
&lt;p&gt;We&amp;#39;re here to help out with anything you might have questions or issues related to. I&amp;#39;ll relay your gratitude to the Matter team&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Primitive Dual Booting a nRF21540 (nRF52840) and zephyr Nordic Bluetooth examples</title><link>https://devzone.nordicsemi.com/thread/527646?ContentTypeID=1</link><pubDate>Mon, 17 Mar 2025 13:37:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9f0d0ac3-1c55-4e8d-9c44-8780ea1a1570</guid><dc:creator>AMarch01</dc:creator><description>&lt;p&gt;The mcuboot module would be a good option, but my launch code was so much easier to control in terms of additional code and knowledge. I just wanted to make sure there wasn&amp;#39;t more to the programs I am jumping to.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The end product is sort of special case device.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for the reply, I always appreciate Nordic&amp;#39;s help. You guys are supporting a large amount of code. I know I was wide eyed while asking about Matter application code. Your team&amp;nbsp;was very helpful then.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Primitive Dual Booting a nRF21540 (nRF52840) and zephyr Nordic Bluetooth examples</title><link>https://devzone.nordicsemi.com/thread/527640?ContentTypeID=1</link><pubDate>Mon, 17 Mar 2025 13:25:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:08e31c3d-5af0-4d00-a01e-230010cbd77c</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]To simplify, the question is: &amp;quot; Are there any specific assumptions (that I can know about of course) being made about the state of the processor when a Nordic Bluetooth Program starts from reset? Can I just relocate them and jump to them?&amp;quot;[/quote]
&lt;p&gt;As you mention, you should set the SP and entry-point. Other than that, it is to cleanup any specific peripherals that you may have used (uart for instance).&lt;/p&gt;
&lt;p&gt;It sounds like you want to boot different applications. Have you considered using mcuboot?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>