<?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>NRF52 Bootloader hanging</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/15140/nrf52-bootloader-hanging</link><description>Hi, 
 I&amp;#39;ve been using these parts for a few years (the 51) and recently did some work getting the boot loader to be joined together with the application into a single burnable file. 
 My application is working fine with the SD, and previously I had</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 14 Jul 2016 13:50:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/15140/nrf52-bootloader-hanging" /><item><title>RE: NRF52 Bootloader hanging</title><link>https://devzone.nordicsemi.com/thread/57795?ContentTypeID=1</link><pubDate>Thu, 14 Jul 2016 13:50:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e3d472db-e6cc-4186-abaa-409a17bf473b</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Chris: You can always reconfigure the bootloader so that you can run it in debug mode and add a breakpoint at the app_error_handler to track back on why it causes an error. Have a look &lt;a href="https://devzone.nordicsemi.com/question/18039/bootloader-debugging/?answer=18051#post-id-18051"&gt;here&lt;/a&gt; to know how to configure the bootloader for debugging.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52 Bootloader hanging</title><link>https://devzone.nordicsemi.com/thread/57793?ContentTypeID=1</link><pubDate>Thu, 14 Jul 2016 09:05:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fb854b05-5169-406a-a542-b2c6135d596c</guid><dc:creator>Chris</dc:creator><description>&lt;p&gt;FYI this was the nRF52, bit hard to read here at the moment.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52 Bootloader hanging</title><link>https://devzone.nordicsemi.com/thread/57794?ContentTypeID=1</link><pubDate>Thu, 14 Jul 2016 08:54:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4216303-c8dc-49b2-afb9-cbfd580fcd9c</guid><dc:creator>Chris</dc:creator><description>&lt;p&gt;Ok, this isn&amp;#39;t exactly an answer as on earlier SDKs this didn&amp;#39;t cause a problem but now it seems to. And why on earth it then causes an issue far after the following code and during the init of the SD I don&amp;#39;t understand either.&lt;/p&gt;
&lt;p&gt;But I tracked it down to this&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#define BUTTONS_NUMBER 0
#define BUTTON_START   0
#define BUTTON_1       0
#define BUTTON_2       0
#define BUTTON_STOP    0



/**@brief Function for initializing the button module.
 */
static void buttons_init(void)
{

    nrf_gpio_cfg_sense_input(BOOTLOADER_BUTTON,
                             BUTTON_PULL,
                             NRF_GPIO_PIN_SENSE_LOW);
    
    nrf_gpio_cfg_sense_input(DIAGS_BUTTON,
                             BUTTON_PULL,
                             NRF_GPIO_PIN_SENSE_LOW);
    
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Yes, I know, why define them if we&amp;#39;re not using them. But this is a common file I use across a bunch of boards.&lt;/p&gt;
&lt;p&gt;Anyway, it caused all the grief with the problem described above.&lt;/p&gt;
&lt;p&gt;Don&amp;#39;t init my lack of buttons. All working fine.&lt;/p&gt;
&lt;p&gt;No idea why this has now caused a problem but it has... bit of a wild goose chase.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52 Bootloader hanging</title><link>https://devzone.nordicsemi.com/thread/57792?ContentTypeID=1</link><pubDate>Thu, 14 Jul 2016 08:39:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:20d3ae7f-8a9d-4283-9688-4f931b50e9db</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Chris: Please let me know which chip you have on your board ? nRF52 or nRF51 ? And please read the laser marking on top of the chip.
Please let me know what do you mean by &amp;quot;two oscillators on the boards&amp;quot; but  &amp;quot;an external osc which isn&amp;#39;t there&amp;quot; , I don&amp;#39;t get it.&lt;/p&gt;
&lt;p&gt;If you simply test S132 softdevice + default bootloader for nRF52 (PCA10040) what happens ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>