<?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>Uploading application and bootloader : application not starting</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/19068/uploading-application-and-bootloader-application-not-starting</link><description>Hi, 
 I merged 3 hex files(softdevice.hex, bootloader.hex, application.hex) 
 I uploaded this hex file to nrf52382 DK. 
 After uploading hex file to DK, although there is application hex file in memory, my DK booted in bootloader mode. 
 Why does</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 31 Jan 2017 14:40:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/19068/uploading-application-and-bootloader-application-not-starting" /><item><title>RE: Uploading application and bootloader : application not starting</title><link>https://devzone.nordicsemi.com/thread/73740?ContentTypeID=1</link><pubDate>Tue, 31 Jan 2017 14:40:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:925ed89a-0e24-4e73-9cd4-f6df8417401b</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;@AnnaSBX: Can you please create new questions and then provide a LINK to the similar questions instead of posting new question in the comment section of allready answered and closed questions!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Uploading application and bootloader : application not starting</title><link>https://devzone.nordicsemi.com/thread/73739?ContentTypeID=1</link><pubDate>Thu, 19 Jan 2017 08:41:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f7833b7b-1f48-41a7-b5c0-3faccafa9972</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;You should not remove the CONFIG_GPIO_AS_PINRESET, just add CONFIG_NFCT_PINS_AS_GPIOS as a separate Preprocessor Define. If you&amp;#39;re using a nRF52 Dk, then you have to modify the board as stated &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52/dita/nrf52/development/dev_kit_v1.1.0/hw_nfc.html?resultof=%22%70%69%6e%22%20%22%31%31%22%20"&gt;here&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Pin 11 and pin 12 are by default configured to use the NFC antenna, but if pin 11 and pin 12 are needed as  normal GPIOs, R25 and R26 must be NC and R27 and R28 must be shorted by 0R.&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Uploading application and bootloader : application not starting</title><link>https://devzone.nordicsemi.com/thread/73738?ContentTypeID=1</link><pubDate>Thu, 19 Jan 2017 02:31:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6c870d11-b2ae-4bdd-8898-5d6c132f6d14</guid><dc:creator>kibo</dc:creator><description>&lt;p&gt;Thanks. It works!
But, when I change define CONFIG_GPIO_AS_PINRESET to CONFIG_NFCT_PINS_AS_GPIOS, it doesn&amp;#39;t work.
Do you know why? Are there other variables I need to change?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Uploading application and bootloader : application not starting</title><link>https://devzone.nordicsemi.com/thread/73737?ContentTypeID=1</link><pubDate>Wed, 18 Jan 2017 08:56:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fe23e905-9c91-4c04-a1bf-b26b59c44ff0</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;This is the defined behaviour of the bootloader, since it does not know that there is a valid application on the device. On startup the bootloader checks the bootloader settings page if the valid application flag is set or not. If it is set, then the bootloader will branch to the the application. If it is not set, then the device will stay in bootloader mode and wait for an application DFU.&lt;/p&gt;
&lt;p&gt;In order to flash the combined SoftDevice, Bootloader and Application, where the device branches to the application without having to perform a OTA update, you have to set the &lt;code&gt;BANK_VALID_APP&lt;/code&gt; flag in &lt;code&gt;bootloader_settings.c&lt;/code&gt;, i.e. change the line&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;uint8_t  m_boot_settings[CODE_PAGE_SIZE]    __attribute__((at(BOOTLOADER_SETTINGS_ADDRESS))) __attribute__((used));   
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;to the following&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;Best regards&lt;/p&gt;
&lt;p&gt;Bjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>