<?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>better documentation for nrfutil serial option</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/72751/better-documentation-for-nrfutil-serial-option</link><description>I found some information in Case ID: 251716 , however, when I went to look for these options in the nrfutil manual there is not a single mention of what the options are for. It would be nice to know what -prn means. 
 We are using serial dfu uploads with</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 16 Mar 2021 09:57:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/72751/better-documentation-for-nrfutil-serial-option" /><item><title>RE: better documentation for nrfutil serial option</title><link>https://devzone.nordicsemi.com/thread/300051?ContentTypeID=1</link><pubDate>Tue, 16 Mar 2021 09:57:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f0cdf59c-9c24-479e-b4f5-9d720bb299e6</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I guess there could be some pointers to the SDK documentation, if anything.&lt;/p&gt;
&lt;p&gt;Reliability of serial communication: If the transmitting end sends data faster than the receiving end can handle it, then some data will get discarded. With hardware flow control, the receiver signals when it is ready for more data, ensuring that this does not happen. One reason for the receiver not being ready, in the context of DFU, is that flash writing can be a bottleneck, leading to full RX buffers.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: better documentation for nrfutil serial option</title><link>https://devzone.nordicsemi.com/thread/299840?ContentTypeID=1</link><pubDate>Mon, 15 Mar 2021 14:28:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fa6e3368-7756-453d-93d9-0bcc6b764a26</guid><dc:creator>AMarch</dc:creator><description>&lt;p&gt;That explains it but I do believe it should be documented at the level of the nrfutil.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I suppose a follow up question would be, &amp;quot;why would serial without flow control be less reliable?&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: better documentation for nrfutil serial option</title><link>https://devzone.nordicsemi.com/thread/299799?ContentTypeID=1</link><pubDate>Mon, 15 Mar 2021 13:16:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ee808ea1-c907-4e57-b974-f0d9f9175132</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The -prn option (long form --packet-receipt-notification) sets the packet receipt notification to use for the DFU process.&lt;/p&gt;
&lt;p&gt;This parameter is documented in the SDK documentation, both for the specific use case of &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_nrf5_v17.0.2%2Flib_dfu_transport_serial.html&amp;amp;anchor=lib_dfu_serial_transport_msc_init"&gt;serial&lt;/a&gt; transport, and in general for the &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_nrf5_v17.0.2%2Flib_dfu_transport.html&amp;amp;anchor=lib_dfu_transport_op_receipt_notif_set"&gt;DFU protocol&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The short explanation:&lt;br /&gt;PRN is disabled if set to 0. Otherwise, for every PRN number of packets transferred, the DFU target sends back a CRC for the controller to check that the firmware (thus far) is correctly transferred. Use it for unreliable transport layers (such as BLE or serial without flow control.) The higher the number, the more packets sent between each check. The lower the number, the more overhead due to checking.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>