<?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>Two Serial Instances with BLE Buttonless DFU Template</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/55115/two-serial-instances-with-ble-buttonless-dfu-template</link><description>Hi I am managing to initialize a serial instance using uart0 within the BLE Buttonless DFU Template. However when I carry out a similar process for uart1 I get the following error: 
 &amp;lt;error&amp;gt; app: ERROR 3735928559 [Unknown error code] at ...\integration</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 05 Dec 2019 13:56:49 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/55115/two-serial-instances-with-ble-buttonless-dfu-template" /><item><title>RE: Two Serial Instances with BLE Buttonless DFU Template</title><link>https://devzone.nordicsemi.com/thread/223935?ContentTypeID=1</link><pubDate>Thu, 05 Dec 2019 13:56:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cacd4f53-d1d5-4f78-9b9d-276aa5221fc9</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Ok. Is it still the same error? nrf_drv_uart.c line 188? Because that suggests that the UART isn&amp;#39;t using DMA. How did you enable (or not) DMA? What does your sdk_config.h file look like?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Two Serial Instances with BLE Buttonless DFU Template</title><link>https://devzone.nordicsemi.com/thread/223718?ContentTypeID=1</link><pubDate>Wed, 04 Dec 2019 21:06:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:519bbc4e-7d8b-4594-a406-6e4567e3aaf1</guid><dc:creator>Luke Galea</dc:creator><description>&lt;p&gt;The unmodified example does work, but it alone is not enough to integrate with other projects. I was just adding the serial_uartes examples with DMA to the ble example when the error happened.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Two Serial Instances with BLE Buttonless DFU Template</title><link>https://devzone.nordicsemi.com/thread/223648?ContentTypeID=1</link><pubDate>Wed, 04 Dec 2019 14:35:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ec6fdaa5-ce45-42de-9b89-a028cbc3c0fd</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Does the unmodified serial_uartes example work for you, then?&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t know what the unplaced sections error means. Does it give any more information? The main.c file alone will not be enough to reproduce though. I would need your project files, and sdk_config.h.&lt;/p&gt;
&lt;p&gt;What did you add to the project when the UNPLACED_SECTIONS compilation error occured?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Two Serial Instances with BLE Buttonless DFU Template</title><link>https://devzone.nordicsemi.com/thread/223474?ContentTypeID=1</link><pubDate>Wed, 04 Dec 2019 07:15:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b8d8a0d1-a62a-408c-a8ca-d8c366804b6f</guid><dc:creator>Luke Galea</dc:creator><description>&lt;p&gt;Hi Edvin I am using SDK16 and I did follow the serial_uartes example.&lt;/p&gt;
&lt;p&gt;I am using the polling mode since IRQ or DMA modes return the following compilation error: region &amp;#39;UNPLACED_SECTIONS&amp;#39; overflowed by 40 bytes. and &amp;#39;.nrf_queue&amp;#39; will not fit in region &amp;#39;UNPLACED_SECTIONS&amp;#39;.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Attached please find a copy of my main.c&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/4846.main.c"&gt;devzone.nordicsemi.com/.../4846.main.c&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Two Serial Instances with BLE Buttonless DFU Template</title><link>https://devzone.nordicsemi.com/thread/223413?ContentTypeID=1</link><pubDate>Tue, 03 Dec 2019 17:02:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a1b6fb6-b87f-4797-a3f7-9ce9442236fd</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;What version of the SDK do you use?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If you want to use two UARTs, I suggest that you take a look at the SDK16.0.0\examples\peripheral\serial_uartes.&lt;/p&gt;
&lt;p&gt;Now, since I don&amp;#39;t know what SDK version you are using, I can only guess what it says on line 118 in nrf_drv_uart.c, but my guess is:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;ASSERT(p_config-&amp;gt;use_easy_dma);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;So do you use easy_dma? If not, try to do that. Again, I don&amp;#39;t know how you have tried to initialize the uarts, but&amp;nbsp;you can check in the serial_uartes example how to do it.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>