<?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>Short time dfu issues</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/110202/short-time-dfu-issues</link><description>Hi guys！ 
 Right now I have my custom board which used nRF52833 SoC. There is only one reset button on custom board and dfu performed via uart. 
 I flashed four hex file : application( one LED blink), softdevice(s140), settings, bootloader uart . 
 I</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 26 Apr 2024 13:15:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/110202/short-time-dfu-issues" /><item><title>RE: Short time dfu issues</title><link>https://devzone.nordicsemi.com/thread/480899?ContentTypeID=1</link><pubDate>Fri, 26 Apr 2024 13:15:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:24b31eae-c792-4e4f-99a6-378238f48cbb</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi Alien,&lt;/p&gt;
&lt;p&gt;If I understand the&amp;nbsp;&lt;span&gt;FT231X chip right, it is just a&amp;nbsp;UART to USB bridge. If so, then as long as the nRF device DTR is raised high, it should also set DTR bit in the virtual COM port.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Hieu&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Short time dfu issues</title><link>https://devzone.nordicsemi.com/thread/480795?ContentTypeID=1</link><pubDate>Fri, 26 Apr 2024 05:47:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2141981e-d001-4846-a0d1-d3374acf6f38</guid><dc:creator>alien</dc:creator><description>&lt;p&gt;Hi Hieu,&lt;/p&gt;
&lt;p&gt;What if I have an individual usb to seiral pcb board. The chip is FT231X, it connected nRF device through GPIO. How can I keep dtr pin always high on the individual board.&lt;/p&gt;
&lt;p&gt;Best&lt;/p&gt;
&lt;p&gt;Alien&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Short time dfu issues</title><link>https://devzone.nordicsemi.com/thread/480693?ContentTypeID=1</link><pubDate>Thu, 25 Apr 2024 12:51:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8933f599-50af-421c-acb3-d80338d8e056</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi Alien,&lt;/p&gt;
&lt;p&gt;You are talking about keeping DTR high on the nRF device, right?&amp;nbsp;As you don&amp;#39;t have HWFC on the nRF end, your UART peripheral are not actually controlling any pin as DTR.&amp;nbsp;You should be able to just set a pin as a GPIO output and control it as you wish.&lt;/p&gt;
&lt;p&gt;Could I&amp;nbsp;be misunderstanding you somehow here?&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Short time dfu issues</title><link>https://devzone.nordicsemi.com/thread/479339?ContentTypeID=1</link><pubDate>Thu, 18 Apr 2024 06:59:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2636c09f-bad2-47b9-a7ed-68d73f7f8bdb</guid><dc:creator>alien</dc:creator><description>&lt;p&gt;Hi Hieu,&lt;/p&gt;
&lt;p&gt;Thanks for your reply!&lt;/p&gt;
&lt;p&gt;Right now I may work it out by changing the nrfutil python script.&lt;/p&gt;
&lt;p&gt;But I have met another problem:&lt;/p&gt;
&lt;p&gt;I need to keep DTR always high when perform DFU.&lt;/p&gt;
&lt;p&gt;Since I have disabled Flow Control.&lt;/p&gt;
&lt;p&gt;The DTR will first stay high for a short time and stay low before the dfu is finished.&lt;/p&gt;
&lt;p&gt;Can I keep DTR/RTS always high?&lt;/p&gt;
&lt;p&gt;Alien&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Short time dfu issues</title><link>https://devzone.nordicsemi.com/thread/478985?ContentTypeID=1</link><pubDate>Tue, 16 Apr 2024 12:34:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:625b9fb5-10ac-46a5-835d-83d3b4b4d2f5</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi Alien,&lt;/p&gt;
&lt;p&gt;You can run a comparison of the files between the pca10040 no-debug and with-debug project. Most of the differences are in sdk_config.h, and the memory region size in the&amp;nbsp;project files.&lt;/p&gt;
&lt;p&gt;By the way, what IDE are you using and at which version? Also, what version of the SDK are you using? Please remember to use the version&amp;nbsp;listed in the release note of the SDK.&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Short time dfu issues</title><link>https://devzone.nordicsemi.com/thread/478774?ContentTypeID=1</link><pubDate>Mon, 15 Apr 2024 12:39:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c87a7d41-330d-4380-8a40-138fbf99f140</guid><dc:creator>alien</dc:creator><description>&lt;p&gt;Hi Hieu,&lt;/p&gt;
&lt;p&gt;Since there is no example for pca10100 uart bootloader.&lt;/p&gt;
&lt;p&gt;So I changed relevant settings in pca10040 uart example.&lt;/p&gt;
&lt;p&gt;Only none-debug version can be successfully modified.&lt;/p&gt;
&lt;p&gt;Is there any other way I can provide information for you?&lt;/p&gt;
&lt;p&gt;I may also made mistakes in pca10040 uart debug bootloader example modification that lead to unsuccessful.&lt;/p&gt;
&lt;p&gt;Alien&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Short time dfu issues</title><link>https://devzone.nordicsemi.com/thread/478770?ContentTypeID=1</link><pubDate>Mon, 15 Apr 2024 12:26:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dbdba762-5a7a-4510-97dd-3fc348be1f44</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi Alien,&lt;/p&gt;
&lt;p&gt;Can you use the debug project of the bootloader, enable the&amp;nbsp;debug level logging, and acquire the log?&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Short time dfu issues</title><link>https://devzone.nordicsemi.com/thread/478766?ContentTypeID=1</link><pubDate>Mon, 15 Apr 2024 12:11:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:442fceb6-0c49-434d-a2ca-2f3f39bac598</guid><dc:creator>alien</dc:creator><description>&lt;p&gt;Hi Hieu,&lt;/p&gt;
&lt;p&gt;I disabled HWFC in bootloder .&lt;/p&gt;
&lt;p&gt;So DTR/RTS here is just used to simulate button press.&lt;/p&gt;
&lt;p&gt;Like on PCA10056(nRF52840-dk), button 4 is used to enter dfu mode.&lt;/p&gt;
&lt;p&gt;The voltage will be changed if you press it.&lt;/p&gt;
&lt;p&gt;On my custom board. When serial is opened, DRT/RTS status can be easily changed through pyserial.&lt;/p&gt;
&lt;p&gt;So no need to think about HWFC here. Thank you.&lt;/p&gt;
&lt;p&gt;Alien&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Short time dfu issues</title><link>https://devzone.nordicsemi.com/thread/478760?ContentTypeID=1</link><pubDate>Mon, 15 Apr 2024 12:01:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fde3a48b-6a66-4db2-8bdb-495d30ecf08b</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi alien,&lt;/p&gt;
&lt;p&gt;I am unfamiliar with&amp;nbsp;Python, but does the serial functionality that you are using controls&amp;nbsp;DTR/RTS by default? I don&amp;#39;t see HWFC parameters in&amp;nbsp;the serial.Serial() line.&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>