<?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>UART issue after BOOTLOADER JUMP</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/20202/uart-issue-after-bootloader-jump</link><description>we wrote a small application to jump to a desired address of our application from bootloader , but UART does not seem to work(i cannot see any transmitted values on terminal) once the application is started by the bootloader , 
 is it something to do</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 05 Apr 2017 11:44:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/20202/uart-issue-after-bootloader-jump" /><item><title>RE: UART issue after BOOTLOADER JUMP</title><link>https://devzone.nordicsemi.com/thread/78710?ContentTypeID=1</link><pubDate>Wed, 05 Apr 2017 11:44:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:64c1f023-7020-4e1e-a190-a5b317d96b0a</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Ok, let me know how it goes.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART issue after BOOTLOADER JUMP</title><link>https://devzone.nordicsemi.com/thread/78709?ContentTypeID=1</link><pubDate>Wed, 05 Apr 2017 11:40:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a6631668-d3dd-427b-922b-3bd917b37e9a</guid><dc:creator>Abhishek</dc:creator><description>&lt;p&gt;Thanks the above code works like a charm .although due to some other issues i could not try the uart_close() option , hence still need to try that out&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART issue after BOOTLOADER JUMP</title><link>https://devzone.nordicsemi.com/thread/78708?ContentTypeID=1</link><pubDate>Wed, 08 Mar 2017 09:11:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b58e203e-3ef8-4389-b63a-137b46d1b44a</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Make sure that you, uninitialize the UART peripheral using &lt;code&gt;app_uart_close()&lt;/code&gt; before you call &lt;code&gt;nrf_bootloader_app_start&lt;/code&gt;, see below, which will enable the SoftDevice and forward interrupts to the application.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;void nrf_bootloader_app_start(uint32_t start_addr)
{
    NRF_LOG_INFO(&amp;quot;Running nrf_bootloader_app_start with address: 0x%08x\r\n&amp;quot;, start_addr);

#if defined(BLE_STACK_SUPPORT_REQD))
    uint32_t err_code;

    //NRF_LOG_INFO(&amp;quot;Initializing SD in mbr\r\n&amp;quot;);
    err_code = nrf_dfu_mbr_init_sd();
    if(err_code != NRF_SUCCESS)
    {
        NRF_LOG_INFO(&amp;quot;Failed running nrf_dfu_mbr_init_sd\r\n&amp;quot;);
        return;
    }

#endif

    // Disable interrupts
    NRF_LOG_INFO(&amp;quot;Disabling interrupts\r\n&amp;quot;);

    NVIC-&amp;gt;ICER[0]=0xFFFFFFFF;
#if defined(__NRF_NVIC_ISER_COUNT) &amp;amp;&amp;amp; __NRF_NVIC_ISER_COUNT == 2
    NVIC-&amp;gt;ICER[1]=0xFFFFFFFF;
#endif

#if defined(BLE_STACK_SUPPORT_REQD))
    // Set the sd softdevice vector table base address
    NRF_LOG_INFO(&amp;quot;Setting SD vector table base: 0x%08x\r\n&amp;quot;, start_addr);
    err_code = sd_softdevice_vector_table_base_set(start_addr);
    if(err_code != NRF_SUCCESS)
    {
        NRF_LOG_INFO(&amp;quot;Failed running sd_softdevice_vector_table_base_set\r\n&amp;quot;);
        return;
    }
#endif

    // Run application
    nrf_bootloader_app_start_impl(start_addr);
}
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART issue after BOOTLOADER JUMP</title><link>https://devzone.nordicsemi.com/thread/78706?ContentTypeID=1</link><pubDate>Tue, 07 Mar 2017 10:02:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:210e0224-9a2a-43e3-adb0-74ae372300f2</guid><dc:creator>Abhishek</dc:creator><description>&lt;p&gt;i have initialized UART peripheral in bootloader application.Then i checked error code for uart_fifo_init(0,app_uart_put().I received error code as 0.But still program dose not transmit anything as i get nothing on terminal window.
It seems UART interrupt is not working .what do you say?
I think probably it is problem of interrupt vector table transfer.If yes, how can we transfer it to the application?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART issue after BOOTLOADER JUMP</title><link>https://devzone.nordicsemi.com/thread/78707?ContentTypeID=1</link><pubDate>Mon, 06 Mar 2017 12:45:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca862784-42db-449b-a1a1-4dc16c399b6b</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Are you referring to the Nordic UART Service or the hardware UART peripheral? If its the latter, did you initialized the UART peripheral in the minimal bootloader(small application) before you jumped to the main application?  If you debug the application, do you get any error codes from the function calls (app_uart_put(), app_uart_get() nrf_drv_uart_tx etc)?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>