<?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>nRF52840 cannot enter DFU mode without UART RX pull high</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/92311/nrf52840-cannot-enter-dfu-mode-without-uart-rx-pull-high</link><description>Hi, 
 I&amp;#39;m adding the UART DFU to nRF52840 bootloader. 
 Prior adding the UART DFU, I have BLE DFU in the bootloader with a button (0.02) to enter the DFU. However, after adding the UART DFU, I couldn&amp;#39;t enter the DFU mode using the button if UART RX pin</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 30 Oct 2023 17:51:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/92311/nrf52840-cannot-enter-dfu-mode-without-uart-rx-pull-high" /><item><title>RE: nRF52840 cannot enter DFU mode without UART RX pull high</title><link>https://devzone.nordicsemi.com/thread/453129?ContentTypeID=1</link><pubDate>Mon, 30 Oct 2023 17:51:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2ac422f4-40e0-4f9b-9621-19164f45f2cd</guid><dc:creator>Dwight Fowler</dc:creator><description>&lt;p&gt;&lt;span class="user-name"&gt;&lt;a class="internal-link view-user-profile" href="https://devzone.nordicsemi.com/members/yesheng"&gt;yesheng&lt;/a&gt;&lt;/span&gt;, &lt;span class="user-name"&gt; &lt;a class="internal-link view-user-profile" href="https://devzone.nordicsemi.com/members/joh2"&gt; J&amp;oslash;rgen &lt;/a&gt;thanks for the insight. We are running into the same issue, and need a software solution. You may have saved our project.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 cannot enter DFU mode without UART RX pull high</title><link>https://devzone.nordicsemi.com/thread/388022?ContentTypeID=1</link><pubDate>Tue, 27 Sep 2022 01:12:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc7396f0-0ee8-4855-bc43-f2c251b62d99</guid><dc:creator>yesheng</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;J&amp;oslash;rgen,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I see, thanks for the explanation. I added a 47k pull-up and it works great.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks,&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 cannot enter DFU mode without UART RX pull high</title><link>https://devzone.nordicsemi.com/thread/387954?ContentTypeID=1</link><pubDate>Mon, 26 Sep 2022 13:32:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b04b883-d5ff-4592-8020-ffad9f86a44e</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;If UART RX pin is left floating when the UART peripheral is enabled in RX mode, the peripheral will normally generate one or more errors, see &lt;a title="Error conditions" href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/uarte.html#concept_fpm_qcm_wr"&gt;Error conditions&lt;/a&gt;:&lt;/p&gt;
&lt;p&gt;&amp;quot;&lt;em&gt;An ERROR event, in the form of a framing error, will be generated if a valid stop bit is not detected in a frame. Another ERROR event, in the form of a break condition, will be generated if the RXD line is held active low for longer than the length of a data frame. Effectively, a framing error is always generated before a break condition occurs.&lt;/em&gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;By default, the serial DFU transport implementation pass the error codes to the APP_ERROR_HANDLER() macro if they occur, see &amp;quot;nRF5_SDK_17.1.0_ddde560\components\libraries\bootloader\serial_dfu\nrf_dfu_serial_uart.c:150&amp;quot;. It is possible to modify this code to not pass the error to the error handler, or just a subset of the possible error sources, but note that this will affect all your DFU UART operations, not just when starting the bootloader.&lt;/p&gt;
&lt;p&gt;Why do you not want to have a pullup on the RX pin?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>