<?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>Switching between two simple code with code</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/117847/switching-between-two-simple-code-with-code</link><description>i want to switch between two code... the code is simple led blinking i am trying for the testing purpose...in my code 1 led1 is blinking 500 ms of delay and in my code 2 led2 is blinking 1 sec of delay...i want to archive if i press button on my board</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 26 Jan 2025 17:35:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/117847/switching-between-two-simple-code-with-code" /><item><title>RE: Switching between two simple code with code</title><link>https://devzone.nordicsemi.com/thread/520099?ContentTypeID=1</link><pubDate>Sun, 26 Jan 2025 17:35:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7bed70a2-ad7a-4296-a4c7-cf76f147ef57</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Could you maybe try resetting the peripherals everytime before you transfer controls between the applications? And also maybe try clearing all existing interrupts that are there before jumping between the applications.&lt;/p&gt;
&lt;p&gt;-Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Switching between two simple code with code</title><link>https://devzone.nordicsemi.com/thread/519489?ContentTypeID=1</link><pubDate>Wed, 22 Jan 2025 09:39:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:11c7c377-10a7-439e-a788-605d67768ddd</guid><dc:creator>Mayank_007</dc:creator><description>&lt;p&gt;hello priyanka,&lt;/p&gt;
&lt;p&gt;i have not mention in my question. really sorry about that but i am doing with different flash address in my code.. where i am also updating the vector table.. and after doing some experiments now i am able to store in flash but the issue is that if its in application1 when i press the button then it is going into the hardfault in application2. so can you give me solution for that..&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/1452.main.c"&gt;devzone.nordicsemi.com/.../1452.main.c&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/1452.main.c"&gt;devzone.nordicsemi.com/.../1452.main.c&lt;/a&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/6232.Screenshot-_2800_18_2900_.png" /&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Switching between two simple code with code</title><link>https://devzone.nordicsemi.com/thread/517664?ContentTypeID=1</link><pubDate>Thu, 09 Jan 2025 11:18:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:958c2342-8f33-4ba7-b29c-e940e5774a74</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi Mayank,&lt;/p&gt;
&lt;p&gt;Please make sure that both the codes are built with a separate flash base address. Also, you need a code in the main application to jump to the required code on button press.&lt;/p&gt;
&lt;p&gt;-Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>