<?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>pc-nrfutil 2.1.0 SDK12 serial dfu</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/19306/pc-nrfutil-2-1-0-sdk12-serial-dfu</link><description>Hello, 
 I saw that there is now serial dfu option enabled and Id like to make a serial DFU bootloader, however its a bit hard to read this Python code. Would be amazing if somebody could give the serial protocol that is used for transmissions?
Also</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 09 Mar 2017 14:05:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/19306/pc-nrfutil-2-1-0-sdk12-serial-dfu" /><item><title>RE: pc-nrfutil 2.1.0 SDK12 serial dfu</title><link>https://devzone.nordicsemi.com/thread/74863?ContentTypeID=1</link><pubDate>Thu, 09 Mar 2017 14:05:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2ec8527e-3352-4840-aeab-07ca305717e8</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi Antrou, I&amp;#39;d suggest to open the RTT viewer/client to see the debug log, this might show why it gets stuck at 0%. I suspect that the pre-validation step may have failed in your case.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-nrfutil 2.1.0 SDK12 serial dfu</title><link>https://devzone.nordicsemi.com/thread/74862?ContentTypeID=1</link><pubDate>Wed, 08 Mar 2017 11:22:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e232918e-7cb4-4f2c-b961-b22bd2d0167e</guid><dc:creator>Antrou</dc:creator><description>&lt;p&gt;Hi Vidar,&lt;/p&gt;
&lt;p&gt;Thanks for your response but I still cannot run your example, I&amp;#39;m using nrfutil v2.2.0 but as you said earlier it should not be a problem for running your serial bootloader. Here is
the procedure I&amp;#39;m following in order to execute your code :&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Flash the bootloader : make flash (example/dfu/bootloader_secure_serial/pca10028_debug/armgcc/)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Send the softdevice : nrfjprog --program s130_nrf51_2.0.1_softdevice.hex -f NRF51 --reset&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Send the new application : nrfutil --verbose dfu serial -pkg dfu_test_app_hrm_s130.zip -p /dev/ttyACM0&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;After these commands, the transfer stays stuck at 0% but no error appears, it seems to be in an infinite loop, and will never return an error.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/serial_5F00_bootloader.png" alt="image description" /&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m using the DK PCA10028 and GCC for compiling.&lt;/p&gt;
&lt;p&gt;Am I doing something wrong ? Thanks !&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-nrfutil 2.1.0 SDK12 serial dfu</title><link>https://devzone.nordicsemi.com/thread/74861?ContentTypeID=1</link><pubDate>Tue, 07 Mar 2017 14:16:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8b724203-7f49-44f9-8600-3202b94c1f3c</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;I&amp;#39;ve verified that it worked with 2.1.0, but v.2.2.0 should work as well. Note that the example is configured to use hardware flow control (CTS/RTS) on the uart interface.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-nrfutil 2.1.0 SDK12 serial dfu</title><link>https://devzone.nordicsemi.com/thread/74860?ContentTypeID=1</link><pubDate>Tue, 07 Mar 2017 14:14:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a2994bba-546f-408e-9964-4c5061880591</guid><dc:creator>Antrou</dc:creator><description>&lt;p&gt;Hi Vidar,
Which nrfutil version are you using for performing the transfer with this experimental example ?
Thanks !&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-nrfutil 2.1.0 SDK12 serial dfu</title><link>https://devzone.nordicsemi.com/thread/74859?ContentTypeID=1</link><pubDate>Thu, 02 Feb 2017 16:14:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ff74f35-dea8-47ef-846f-b9a00857e293</guid><dc:creator>Sergy</dc:creator><description>&lt;p&gt;I just scoped it and there are no transmissions at all on both RX or TX before I abort nrfutil command..
im using nrfutil 2.1.0 installed from pip&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-nrfutil 2.1.0 SDK12 serial dfu</title><link>https://devzone.nordicsemi.com/thread/74858?ContentTypeID=1</link><pubDate>Thu, 02 Feb 2017 14:33:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a4e8a025-92b1-461c-af92-2e622fa7b6e6</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;these components does not rely on the sdk_config.h to be enabled, and there would have been compilations errors if they were. That said, it&amp;#39;s interesting that the packet receipt notification is received only after the nrfutil process is aborted. I would suggest to probe/sniff the uart communication to check if any packets are being sent before the nrfutil process is terminated.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-nrfutil 2.1.0 SDK12 serial dfu</title><link>https://devzone.nordicsemi.com/thread/74852?ContentTypeID=1</link><pubDate>Wed, 01 Feb 2017 17:40:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0b758884-0fd6-40a7-a853-ae13123b8c22</guid><dc:creator>Sergy</dc:creator><description>&lt;p&gt;Vidar, sorry for the late reply, had to deal with CONFIG_GPIO_AS_PINRESET first..
I tried to recompile with the settings you have, but it didnt help.
What I noticed is that I dont have SLIP_ENABLED and NRF_QUEUE_ENABLED options in my sdk_config.h
The project compiles without any errors though. May be that could be the problem?&lt;/p&gt;
&lt;p&gt;One more interesting thing if I enable nrfLOGging I see the following:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;:INFO:Inside main
 0&amp;gt; :INFO:In nrf_bootloader_init
 0&amp;gt; :INFO:In real nrf_dfu_init
 0&amp;gt; :INFO:running nrf_dfu_settings_init
 0&amp;gt; :INFO:Enter nrf_dfu_continue
 0&amp;gt; :INFO:Single: Invalid bank
 0&amp;gt; :INFO:Enter nrf_dfu_app_is_valid
 0&amp;gt; :INFO:Return false in valid app check
 0&amp;gt; :INFO:In nrf_dfu_transports_init
 0&amp;gt; :INFO:num transports: 1
 0&amp;gt; :INFO:UART initialized
 0&amp;gt; :INFO:After nrf_dfu_transports_init
 0&amp;gt; :INFO:Waiting for events
 0&amp;gt; :INFO:Set receipt notif
 0&amp;gt; :INFO:Sending Response: [0x2, 0x1]
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The last two lines appear when I abort DFU on command line.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-nrfutil 2.1.0 SDK12 serial dfu</title><link>https://devzone.nordicsemi.com/thread/74850?ContentTypeID=1</link><pubDate>Wed, 01 Feb 2017 13:38:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ab11300-d7ab-4d2f-9455-53087b4ebc1c</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Please try again with the configuration shown in screenshot above.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-nrfutil 2.1.0 SDK12 serial dfu</title><link>https://devzone.nordicsemi.com/thread/74857?ContentTypeID=1</link><pubDate>Wed, 01 Feb 2017 13:33:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:23cbdb5b-007a-4df8-aed7-12760a1d495f</guid><dc:creator>Sergy</dc:creator><description>&lt;p&gt;Dont have a DK unfortunately. Im using an FTDI converter it connects to P0.23, 0.24 and flow control is disabled.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-nrfutil 2.1.0 SDK12 serial dfu</title><link>https://devzone.nordicsemi.com/thread/74856?ContentTypeID=1</link><pubDate>Wed, 01 Feb 2017 13:30:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8316b6a3-25a4-4046-a80e-8ea5add5c626</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;ok, could be related to board differences. Do you have a DK you can test with? If not, what do you use for USB&amp;lt;-&amp;gt;UART bridging? Also, is flow control enabled/disabled?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-nrfutil 2.1.0 SDK12 serial dfu</title><link>https://devzone.nordicsemi.com/thread/74855?ContentTypeID=1</link><pubDate>Wed, 01 Feb 2017 13:28:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:764d7fd0-fc2c-4f7f-91fd-1a92f0bc378a</guid><dc:creator>Sergy</dc:creator><description>&lt;p&gt;Vidar, Im using 52 custom board and Keil compiler.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-nrfutil 2.1.0 SDK12 serial dfu</title><link>https://devzone.nordicsemi.com/thread/74854?ContentTypeID=1</link><pubDate>Wed, 01 Feb 2017 13:27:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45b740e2-5149-4059-bf28-482c5a9f5c35</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi Sergey,&lt;/p&gt;
&lt;p&gt;let my try to reproduce; are you using a 51 or 52 kit, and GCC or Keil?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-nrfutil 2.1.0 SDK12 serial dfu</title><link>https://devzone.nordicsemi.com/thread/74853?ContentTypeID=1</link><pubDate>Wed, 01 Feb 2017 13:26:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5b0494f3-91ea-4ba6-ab52-2a6f6f0f0220</guid><dc:creator>Sergy</dc:creator><description>&lt;p&gt;Hi Vidar,&lt;/p&gt;
&lt;p&gt;just tried to make an update, but when I run nrfutil nothing happens, progress bar stays at 0% and cmd line window just hangs. I checked if there was print out on RTT Viewer, but also nothing. Any ideas?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-nrfutil 2.1.0 SDK12 serial dfu</title><link>https://devzone.nordicsemi.com/thread/74851?ContentTypeID=1</link><pubDate>Mon, 30 Jan 2017 20:41:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:be7b13d7-49ab-4dbc-a7d1-485ca77d82ff</guid><dc:creator>Sergy</dc:creator><description>&lt;p&gt;Hi Vidar, thanks a lot, this helps tremendously, Im going to check it out.
Do you may be have some draft explaining protocol? Id need to write an updater program in C..
Thanks very much!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-nrfutil 2.1.0 SDK12 serial dfu</title><link>https://devzone.nordicsemi.com/thread/74849?ContentTypeID=1</link><pubDate>Mon, 30 Jan 2017 08:15:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1d5eb238-a034-4883-a448-853cc35ebd6a</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello, we plan to add serial dfu over UART in upcoming SDK release, but documentation is not ready yet. The packet format will however be quite similar to our existing BLE transport .&lt;/p&gt;
&lt;p&gt;I have already made an &lt;strong&gt;experimental&lt;/strong&gt; example of serial DFU based on an early beta release of the official uart transport. Have attached it here in case you want to try it.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/nRF5_5F00_SDK_5F00_12.1.0_5F00_MOD_5F00_serial_5F00_dfu_5F00_240117.7z"&gt;nRF5_SDK_12.1.0_MOD_serial_dfu_240117.7z&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Update:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/config.PNG" alt="image description" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>