<?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>Avoid entering over the air bootloader but start with preprogrammed app</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/3977/avoid-entering-over-the-air-bootloader-but-start-with-preprogrammed-app</link><description>Hi, 
 We are trying to use the over-the-air bootloader in our application.
Our problem is the bootloader seems to require one first over-the-air download before it allows to start the application.
Our application is actually preprogrammed using a DATAMAN</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 02 Oct 2014 21:22:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/3977/avoid-entering-over-the-air-bootloader-but-start-with-preprogrammed-app" /><item><title>RE: Avoid entering over the air bootloader but start with preprogrammed app</title><link>https://devzone.nordicsemi.com/thread/14305?ContentTypeID=1</link><pubDate>Thu, 02 Oct 2014 21:22:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:81807c07-bf19-44a6-bee4-dcea1c49f9fd</guid><dc:creator>Adrian Eggenberger</dc:creator><description>&lt;p&gt;We had the same problem and solved it by creating a hex file that contains a prepared bootloader setting with installed app. By using mergehex.exe we combine bootloader, application, softdevice and the initial bootloader setting to one hex file that is programmed in factory.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Avoid entering over the air bootloader but start with preprogrammed app</title><link>https://devzone.nordicsemi.com/thread/14304?ContentTypeID=1</link><pubDate>Thu, 02 Oct 2014 17:41:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3f5ac6b0-bc4b-44ee-8f54-519f056a8ddd</guid><dc:creator>John</dc:creator><description>&lt;p&gt;You need to set the boot loader settings so that the application is marked as valid when you pre-program your application like so:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;uint8_t  m_boot_settings[CODE_PAGE_SIZE] __attribute__((at(BOOTLOADER_SETTINGS_ADDRESS))) __attribute__((used)) = {BANK_VALID_APP};
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;You can read more in this question/answer:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/question/12800/flashing-bootloader-and-application-via-j-link/"&gt;Bootload question&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Avoid entering over the air bootloader but start with preprogrammed app</title><link>https://devzone.nordicsemi.com/thread/14303?ContentTypeID=1</link><pubDate>Thu, 02 Oct 2014 17:40:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e6b94e0e-a60d-489a-a21b-e3d97eb1666c</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Maybe one of these questions can help you?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/question/15081/how-to-flash-the-softdevice-the-bootloader-and-the-application-at-once/"&gt;How to flash the SoftDevice, the bootloader and the application at once?&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/question/12800/flashing-bootloader-and-application-via-j-link/"&gt;Flashing bootloader and application via J-Link&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/question/14988/cannot-init-the-m_boot_settings-in-s110-70-bootloader/"&gt;Cannot init. the m_boot_settings in S110 7.0 bootloader&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Remember to vote if you think any of the questions and answers are good and useful&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>