<?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>valid app check inside bootloader code</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/3250/valid-app-check-inside-bootloader-code</link><description>Hello to all,
i&amp;#39;m new to nRF51822 ble developing but have experience with embedded design on various microcontroller; 
 I have a little problem inside bootloader code: in order to properly launch the application (if it is present) i perform a simple</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 18 Dec 2015 13:01:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/3250/valid-app-check-inside-bootloader-code" /><item><title>RE: valid app check inside bootloader code</title><link>https://devzone.nordicsemi.com/thread/11904?ContentTypeID=1</link><pubDate>Fri, 18 Dec 2015 13:01:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7289ce6d-18f5-4f5c-b8ee-ffe0d84d38a7</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;So you used this?&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;__attribute__((section (&amp;quot;.bootloader_settings_sect&amp;quot;))) m_boot_settings[CODE_PAGE_SIZE] __attribute__((used)) = {BANK_VALID_APP};
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: valid app check inside bootloader code</title><link>https://devzone.nordicsemi.com/thread/11903?ContentTypeID=1</link><pubDate>Fri, 25 Jul 2014 12:31:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e8086be5-ee95-4642-82a6-4926428e2cf5</guid><dc:creator>Max C.</dc:creator><description>&lt;p&gt;Thanks Nikita, i already saw that post but did&amp;#39;t remember that option;&lt;/p&gt;
&lt;p&gt;Anyway i&amp;#39;m, using gcc so can&amp;#39;t use the &amp;quot;uint8_t  m_boot_settings[CODE_PAGE_SIZE] &lt;strong&gt;attribute&lt;/strong&gt;((at(BOOTLOADER_SETTINGS_ADDRESS))) &lt;strong&gt;attribute&lt;/strong&gt;((used)) = {BANK_VALID_APP};&amp;quot; statement because the &amp;quot;at&amp;quot; attribute is for keil and is not recognized by gcc;&lt;/p&gt;
&lt;p&gt;i have managed to solve the problem by adding the &amp;quot; = {BANK_VALID_APP}&amp;quot; initialization to the previous present attribute for gcc relative to the bootloader setting &amp;quot;uint8_t &lt;strong&gt;attribute&lt;/strong&gt;((section (&amp;quot;.bootloader_settings_sect&amp;quot;))) m_boot_settings[CODE_PAGE_SIZE] &lt;strong&gt;attribute&lt;/strong&gt;((used))&amp;quot;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: valid app check inside bootloader code</title><link>https://devzone.nordicsemi.com/thread/11902?ContentTypeID=1</link><pubDate>Fri, 25 Jul 2014 11:30:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:17e798e1-23e0-4f73-b8a6-116ad61f065b</guid><dc:creator>Nikita</dc:creator><description>&lt;p&gt;Hello, Max, read this:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/question/12800/flashing-bootloader-and-application-via-j-link/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>