<?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>Updating firmware with dfu bootloader</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/49595/updating-firmware-with-dfu-bootloader</link><description>Hi, 
 i would like to program my module nRF52840 via uart. 
 
 I generated private then public key using nrfutil.exe tool 
 i could programm softdevice and bootloader and flash them on my nRF52840. 
 
 I use : https://infocenter.nordicsemi.com/index.jsp</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 01 Aug 2019 14:51:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/49595/updating-firmware-with-dfu-bootloader" /><item><title>RE: Updating firmware with dfu bootloader</title><link>https://devzone.nordicsemi.com/thread/201943?ContentTypeID=1</link><pubDate>Thu, 01 Aug 2019 14:51:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:19ab0aac-144c-45f6-b174-73f258f5244c</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;Hi Geoffroy,&lt;/p&gt;
&lt;p&gt;Could you please post these questions in the other case you created instead: &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/49804/update-my-application-with-uart-from-another-micro-controler"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/49804/update-my-application-with-uart-from-another-micro-controler&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This ticket was about updating firmware on DFU target, not DFU master, and it&amp;#39;s tidier if we continue the conversation in your other ticket.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marjeris&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating firmware with dfu bootloader</title><link>https://devzone.nordicsemi.com/thread/201330?ContentTypeID=1</link><pubDate>Tue, 30 Jul 2019 15:25:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:04d876fa-0699-4946-96f0-5286680a6a50</guid><dc:creator>Geoffroy</dc:creator><description>&lt;p&gt;well protocol isn&amp;#39;t correct for my version, I need the one for S140 please&lt;/p&gt;
&lt;p&gt;i tryed&amp;nbsp; to use example code for very simple aurt dfu master.&lt;/p&gt;
&lt;p&gt;it is not working&lt;/p&gt;
&lt;p&gt;Another question is : I know how to flash my file.bin at an adress&lt;/p&gt;
&lt;p&gt;How can i do after flashing my bin so that when i restart bootloader start at this adress to boot with new application ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating firmware with dfu bootloader</title><link>https://devzone.nordicsemi.com/thread/200326?ContentTypeID=1</link><pubDate>Wed, 24 Jul 2019 15:19:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:79bd4f21-4c8a-458a-9677-6927ae48c7f3</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;Sorry for the late answer. Yes, nrf52840.dat is the init.dat file. If you open manifest.json you will see which file correspond to bin and dat file.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating firmware with dfu bootloader</title><link>https://devzone.nordicsemi.com/thread/198954?ContentTypeID=1</link><pubDate>Wed, 17 Jul 2019 11:59:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff573fc7-4388-41d8-a09d-5c2c04368bd1</guid><dc:creator>Geoffroy</dc:creator><description>&lt;p&gt;in my zip, i have a manifest.json,&amp;nbsp;nrf52840.dat and nrf52840.bin&lt;/p&gt;
&lt;p&gt;In DFU_SPI_readme.docx (from appendix 1.5), init.dat is mentionned, is it my file named&amp;nbsp;&lt;span&gt;nrf52840.dat (i don&amp;#39;t have any file init.dat in my zip)&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating firmware with dfu bootloader</title><link>https://devzone.nordicsemi.com/thread/198725?ContentTypeID=1</link><pubDate>Tue, 16 Jul 2019 13:00:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e09b97d-6dca-457d-b867-621699137801</guid><dc:creator>Geoffroy</dc:creator><description>&lt;p&gt;ok thank you, I&amp;#39;ll try to use this code...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating firmware with dfu bootloader</title><link>https://devzone.nordicsemi.com/thread/198671?ContentTypeID=1</link><pubDate>Tue, 16 Jul 2019 10:26:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a5cb45f7-c382-4992-b46d-531daa6940fa</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;Hi yes, it&amp;#39;s the same blogpost I linked to earlier: &lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/getting-started-with-nordics-secure-dfu-bootloader"&gt;https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/getting-started-with-nordics-secure-dfu-bootloader&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating firmware with dfu bootloader</title><link>https://devzone.nordicsemi.com/thread/198599?ContentTypeID=1</link><pubDate>Tue, 16 Jul 2019 07:04:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a97aa23c-f3fe-462c-aaac-e08488469f4d</guid><dc:creator>Geoffroy</dc:creator><description>&lt;p&gt;can you give me a link to&amp;nbsp;&lt;span&gt;Appendix 1.5 in Hung&amp;#39;s blogpost ?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;i don&amp;#39; know this blogspot&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating firmware with dfu bootloader</title><link>https://devzone.nordicsemi.com/thread/198187?ContentTypeID=1</link><pubDate>Fri, 12 Jul 2019 13:19:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:10ef68b9-0686-4563-8c0f-5d96e19e538f</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Good to hear you are making progress. To program a nRF52840 from another microcontroller via UART you need to make your own DFU master for the other microcontroller (while the nRF52840 will be your DFU target).&lt;/p&gt;
&lt;p&gt;You can have a look at the sequence chart &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.3.0%2Flib_dfu_transport_serial.html&amp;amp;cp=5_1_3_5_2_3_1&amp;amp;anchor=lib_dfu_transport_serial_msc"&gt;here,&lt;/a&gt; to see the opcodes and message sequence that need to be sent from the DFU master/controller. &lt;/p&gt;
&lt;p&gt;It&amp;#39;s also suggested that you get hold of a sniffer trace when you use the DFU app on the phone or PC to perform a DFU update. You can use this sniffer trace as the reference to create your own DFU master. &lt;/p&gt;
&lt;p&gt;Take also a look at Appendix 1.5 in Hung&amp;#39;s blogpost. He includes an example code for a very simple UART DFU master for nRF you can use as a reference.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marjeris.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating firmware with dfu bootloader</title><link>https://devzone.nordicsemi.com/thread/198142?ContentTypeID=1</link><pubDate>Fri, 12 Jul 2019 11:41:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fecac5fa-d2de-4701-8aac-a1d98cb2d9a5</guid><dc:creator>Geoffroy</dc:creator><description>&lt;p&gt;Yes, i already looked posts that you mentionned.&lt;/p&gt;
&lt;p&gt;I already generated keys.&lt;/p&gt;
&lt;p&gt;I succeeded to program my own program with uart.&lt;/p&gt;
&lt;p&gt;I must check all is fine.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Next step will be to program nRF52840 from another microcontroler via uart...&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating firmware with dfu bootloader</title><link>https://devzone.nordicsemi.com/thread/198089?ContentTypeID=1</link><pubDate>Fri, 12 Jul 2019 09:18:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5f53b313-a19d-4b6d-a491-38ca1ee6cb9c</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;Happy to help!&lt;/p&gt;
&lt;p&gt;Now for your own program you need to create your own private and public keys as you did before and create your own firmware zip package with your own application.&lt;/p&gt;
&lt;p&gt;This blog is written for an older version of the SDK, but explains very well the steps to do to this, see: &lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/getting-started-with-nordics-secure-dfu-bootloader"&gt;https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/getting-started-with-nordics-secure-dfu-bootloader&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;And more documentation for nrfutil can also be found in the nrfutil github page readme: &lt;a href="https://github.com/NordicSemiconductor/pc-nrfutil"&gt;https://github.com/NordicSemiconductor/pc-nrfutil&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marjeris&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating firmware with dfu bootloader</title><link>https://devzone.nordicsemi.com/thread/197917?ContentTypeID=1</link><pubDate>Thu, 11 Jul 2019 15:02:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3f95f885-de17-4a97-a987-d429d41b6240</guid><dc:creator>Geoffroy</dc:creator><description>&lt;p&gt;ok thanks to you i could program with examples provided !&lt;/p&gt;
&lt;p&gt;it&amp;#39;s a beginning, i try now to program my own program&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating firmware with dfu bootloader</title><link>https://devzone.nordicsemi.com/thread/197896?ContentTypeID=1</link><pubDate>Thu, 11 Jul 2019 14:08:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:622fb7b4-09e3-48c3-9e16-8ccbc9d6214e</guid><dc:creator>Geoffroy</dc:creator><description>&lt;p&gt;Oh ok thank you very much Marjeris for all those informations !&lt;/p&gt;
&lt;p&gt;I&amp;#39;m goiing to restart all process before asking for more details !&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating firmware with dfu bootloader</title><link>https://devzone.nordicsemi.com/thread/197891?ContentTypeID=1</link><pubDate>Thu, 11 Jul 2019 14:02:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a63d4496-4400-4f5d-b3d5-54fd9f3d6f60</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The right documentation page for SDK 15.0.0 will be this one: &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.0.0%2Fsdk_app_serial_dfu_bootloader.html&amp;amp;cp=5_5_1_4_3_4"&gt;https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.0.0%2Fsdk_app_serial_dfu_bootloader.html&amp;amp;cp=5_5_1_4_3_4&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If you are testing using one of the provided packages you need to use the default public key included in the bootloader project, do not use your own generated public key. Because these test packages have been generated using a private key that corresponds to the default public key included the project.&lt;/p&gt;
&lt;p&gt;Also make sure the device has enter DFU mode (indicated by LED 3 being lit) before starting the DFU process.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marjeris&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating firmware with dfu bootloader</title><link>https://devzone.nordicsemi.com/thread/197772?ContentTypeID=1</link><pubDate>Thu, 11 Jul 2019 09:47:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e6d77306-7862-400b-a878-5c6333622357</guid><dc:creator>Geoffroy</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;D:\Work\nRF5_SDK_15.0.0 ble_telechargement_uart\examples\dfu\secure_dfu_test_images&amp;gt;nrfutil.exe dfu serial --package softdevice_s140.zip --port COM5 -fc 1
  [------------------------------------]    0%
Traceback (most recent call last):
  File &amp;quot;nordicsemi\__main__.py&amp;quot;, line 987, in &amp;lt;module&amp;gt;
  File &amp;quot;site-packages\click\core.py&amp;quot;, line 722, in __call__
  File &amp;quot;site-packages\click\core.py&amp;quot;, line 697, in main
  File &amp;quot;site-packages\click\core.py&amp;quot;, line 1066, in invoke
  File &amp;quot;site-packages\click\core.py&amp;quot;, line 1066, in invoke
  File &amp;quot;site-packages\click\core.py&amp;quot;, line 895, in invoke
  File &amp;quot;site-packages\click\core.py&amp;quot;, line 535, in invoke
  File &amp;quot;nordicsemi\__main__.py&amp;quot;, line 745, in serial
  File &amp;quot;nordicsemi\__main__.py&amp;quot;, line 680, in do_serial
  File &amp;quot;nordicsemi\dfu\dfu.py&amp;quot;, line 121, in dfu_send_images
  File &amp;quot;nordicsemi\dfu\dfu.py&amp;quot;, line 97, in _dfu_send_image
  File &amp;quot;nordicsemi\dfu\dfu_transport_serial.py&amp;quot;, line 253, in send_init_packet
  File &amp;quot;nordicsemi\dfu\dfu_transport_serial.py&amp;quot;, line 370, in __execute
  File &amp;quot;nordicsemi\dfu\dfu_transport_serial.py&amp;quot;, line 454, in __get_response
pc_ble_driver_py.exceptions.NordicSemiException: Response Code InvalidObject
Failed to execute script __main__&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;in this try, i don&amp;#39;t see problem with COM port... but i don&amp;#39;t understand this new problem ...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating firmware with dfu bootloader</title><link>https://devzone.nordicsemi.com/thread/197716?ContentTypeID=1</link><pubDate>Thu, 11 Jul 2019 07:21:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:447614d5-612e-4327-b72e-79ea1335d323</guid><dc:creator>Geoffroy</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;D:\Work\nRF5_SDK_15.0.0 ble_telechargement_uart\examples\dfu\secure_dfu_test_images&amp;gt;nrfutil.exe dfu serial --package softdevice_s140.zip --port COM4 -fc 1
  [------------------------------------]    0%
Traceback (most recent call last):
  File &amp;quot;nordicsemi\__main__.py&amp;quot;, line 987, in &amp;lt;module&amp;gt;
  File &amp;quot;site-packages\click\core.py&amp;quot;, line 722, in __call__
  File &amp;quot;site-packages\click\core.py&amp;quot;, line 697, in main
  File &amp;quot;site-packages\click\core.py&amp;quot;, line 1066, in invoke
  File &amp;quot;site-packages\click\core.py&amp;quot;, line 1066, in invoke
  File &amp;quot;site-packages\click\core.py&amp;quot;, line 895, in invoke
  File &amp;quot;site-packages\click\core.py&amp;quot;, line 535, in invoke
  File &amp;quot;nordicsemi\__main__.py&amp;quot;, line 745, in serial
  File &amp;quot;nordicsemi\__main__.py&amp;quot;, line 680, in do_serial
  File &amp;quot;nordicsemi\dfu\dfu.py&amp;quot;, line 121, in dfu_send_images
  File &amp;quot;nordicsemi\dfu\dfu.py&amp;quot;, line 90, in _dfu_send_image
  File &amp;quot;nordicsemi\dfu\dfu_transport_serial.py&amp;quot;, line 211, in open
pc_ble_driver_py.exceptions.NordicSemiException: No ping response after opening COM port
Failed to execute script __main__&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>