<?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 over serial UART</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/72438/dfu-over-serial-uart</link><description>Hi, 
 I am working on a project with 2 nrf52840 devices. One is the nrf52840 dk, while the other is a custom board with the nrf52840 module. I want to perform a dfu over uart to the custom board, however, the com port has no direct connection to the pc</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 12 Mar 2021 15:23:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/72438/dfu-over-serial-uart" /><item><title>RE: DFU over serial UART</title><link>https://devzone.nordicsemi.com/thread/299524?ContentTypeID=1</link><pubDate>Fri, 12 Mar 2021 15:23:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8bd47384-2a7e-40e4-8975-c10a65e946a4</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;br /&gt;You would need to solve the UART connectivity issue before testing with DFU.&amp;nbsp;&lt;br /&gt;On the DK you may want to flash an application that set the pins to INPUT, disconnect buffer. It&amp;#39;s equivalent to high impedance mode. You set this so that it would not interfere with the communication between the PC and the custom board.&amp;nbsp;&lt;br /&gt;Next you would need to use a logic analyzer to check if the signal on the UART pins are as expected.&amp;nbsp;&lt;br /&gt;Please take a photo of your set-up.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU over serial UART</title><link>https://devzone.nordicsemi.com/thread/299103?ContentTypeID=1</link><pubDate>Wed, 10 Mar 2021 17:00:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58314b85-05a0-4d4f-9588-ab9f650c764c</guid><dc:creator>amarin</dc:creator><description>&lt;p&gt;Sorry for not answering the question, but I did connect the board via the DK and have the DK connect to the PC, however, the custom board does not communicate with the PC. I did flash a slightly modified version of the serial_pca10056 example to the custom board and it is transmitting data, however it does not read anything from the PC when it should be reading any key I push on the PC.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU over serial UART</title><link>https://devzone.nordicsemi.com/thread/298962?ContentTypeID=1</link><pubDate>Wed, 10 Mar 2021 10:49:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f33277da-33e8-4ad6-8d71-14fb6d2fb6c9</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Amarin,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Please answer this question:&amp;nbsp;&amp;nbsp;&lt;/p&gt;
[quote user="hungbui"]Have you tried to connect the DK to PC and the custom board to the DK and then can use UART on the custom board to communicate with PC ?&amp;nbsp;[/quote]
&lt;p&gt;&amp;nbsp;Please test flashing a simple code that use UART on the custom board to test if it can communicate with PC (with the DK in the middle)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU over serial UART</title><link>https://devzone.nordicsemi.com/thread/298859?ContentTypeID=1</link><pubDate>Tue, 09 Mar 2021 22:23:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5a6308e9-c180-458d-9871-2f35bb5e3a90</guid><dc:creator>amarin</dc:creator><description>&lt;p&gt;The custom board does not have a connection that can directly connect to the PC. The only way it can be programmed is through the debugger or through it&amp;#39;s UART pins. I have tried connecting it directly to the DK and having the DK connect to the PC which results in the error above.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have configured the bootloader to the custom board and was able to flash the bootloader on to the custom board via the debugger.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU over serial UART</title><link>https://devzone.nordicsemi.com/thread/298649?ContentTypeID=1</link><pubDate>Tue, 09 Mar 2021 11:03:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d65b453a-5946-47fe-8e4f-4319ca59240e</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;br /&gt;Have you tried to connect the DK to PC and the custom board to the DK and then can use UART on the custom board to communicate with PC ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please make sure you erase any application on the DK. Don&amp;#39;t flash the bootloader on the DK.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;The error telling that the custom board doesn&amp;#39;t response to the ping command from the PC. Have you flashed the bootloader on the custom board and configured the GPIO pins for UART correctly on the bootloader firmware ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU over serial UART</title><link>https://devzone.nordicsemi.com/thread/298489?ContentTypeID=1</link><pubDate>Mon, 08 Mar 2021 17:17:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a6deeb37-848c-48f2-be54-2bd0b85a9b1a</guid><dc:creator>amarin</dc:creator><description>&lt;p&gt;I did not connect ground to both devices and thus why I got the error. However I am now getting the following error:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1615223695701v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I had done the previous serial examples on my SDK, and they work just fine. However, when I am trying to do a dfu over the uart with the custom board, and it still does not work.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU over serial UART</title><link>https://devzone.nordicsemi.com/thread/298403?ContentTypeID=1</link><pubDate>Mon, 08 Mar 2021 13:49:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c71cc48f-4324-4732-8142-05a7b8573105</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Amarin,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I would suggest to test the setup with some simple UART example code before you test with DFU. I would suggest to try testing with the UART loop back example in the SDK.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Have you made sure you connect ground on 2 boards nRF52 DK and the custom board ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The info from the log telling that it couldn&amp;#39;t open COM port 3, you may want to double check if it&amp;#39;s the actual COM port of the DK.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>