<?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>DFU Bootloader and uart communication</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/8425/dfu-bootloader-and-uart-communication</link><description>Hi all, 
 I would like to know if it is possible to use the uart before the actual bootloader runs... I need to communicate with the master uploading the firmware before the actual transfer of the firmware. 
 The thing is that I am able to communicate</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 31 Jul 2015 09:09:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/8425/dfu-bootloader-and-uart-communication" /><item><title>RE: DFU Bootloader and uart communication</title><link>https://devzone.nordicsemi.com/thread/30639?ContentTypeID=1</link><pubDate>Fri, 31 Jul 2015 09:09:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9f5e2ee9-fb83-4633-93dc-67b253d8794c</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Diogo: Could you send your code ? How big is the buffer you used?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU Bootloader and uart communication</title><link>https://devzone.nordicsemi.com/thread/30638?ContentTypeID=1</link><pubDate>Thu, 30 Jul 2015 11:09:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b675ced1-255e-44d7-87db-6a4946ce7d3e</guid><dc:creator>Diogo</dc:creator><description>&lt;p&gt;So the first time that app_uart_init is called, it only sends one byte. If I put the code in a while(1) cycle it sends the data. If I put a while(1) after the first app_uart_init only one byte is sent. The second time the app_uart_init is called (by nordic&amp;#39;s dfu example) it actually works. I also tried to use app_uart_close before the second init and the same thing happens.&lt;/p&gt;
&lt;p&gt;I found that after the first byte is sent (app_uart_put), I get a APP_UART_TX_EMPTY, but it won&amp;#39;t work after that.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU Bootloader and uart communication</title><link>https://devzone.nordicsemi.com/thread/30637?ContentTypeID=1</link><pubDate>Thu, 30 Jul 2015 10:52:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5017015-994a-4a3a-b0d3-58e5ef333e11</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Diogo: The SDK v8.0 was not made for and not tested on Rev2 chip.&lt;/p&gt;
&lt;p&gt;What you need to do is to follow and implement the &lt;a href="http://www.nordicsemi.com/eng/nordic/Products/nRF51822/PAN-nRF51822/24634"&gt;PANs&amp;#39; workaround&lt;/a&gt; for  rev 2 chip. You should be fine. Also please make sure you follows the instruction in the release note for S110 v8.0 when working on Rev 2 chip.&lt;/p&gt;
&lt;p&gt;Regarding your issue, I guess you may want debug a little bit deeper, to see what would be wrong. I think it could be something with the setup of the app uart, did you call app_uart_init twice ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>