<?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>How to do firmware update on nRF52840 through usb (not the usb with J-link)?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/55753/how-to-do-firmware-update-on-nrf52840-through-usb-not-the-usb-with-j-link</link><description>I was checking DFU through serial usb/uart on the following link: 
 infocenter.nordicsemi.com/index.jsp 
 
 I want to double check if this entire project is for programming the nordic chip through the usb port on the long side (not the one on the short</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 18 Dec 2019 09:44:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/55753/how-to-do-firmware-update-on-nrf52840-through-usb-not-the-usb-with-j-link" /><item><title>RE: How to do firmware update on nRF52840 through usb (not the usb with J-link)?</title><link>https://devzone.nordicsemi.com/thread/226075?ContentTypeID=1</link><pubDate>Wed, 18 Dec 2019 09:44:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d0a90bc8-916f-49b1-a2f7-a7399c51b083</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Yes, the &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/sdk_app_serial_dfu_bootloader.html"&gt;example you link&lt;/a&gt; to, is a USB bootloader. The purpose of this is to allow the programming of new firmware via the USB peripheral in the nRF52840 (connector on the long side of the DK).&lt;/p&gt;
&lt;p&gt;The nRF52840 ships with an empty flash, so yes: you need to program this bootloader to the nRF52840 DK via J-Link (or another SWD programmer) first. Note that you need to understand a bit about the bootloader and DFU, since you must build the bootloader with your own public key, and generate valid update images. Please see &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/lib_bootloader_dfu_process.html"&gt;Device Firmware Update process&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The nrfutil command you write is to be used with the USB bootloader that we have discussed, and therefore they should be used on the long side.&lt;/p&gt;
&lt;p&gt;Note that this approach could make sense in an end product, but during development, you should use the J-Link. Generally, DFU is for updating the firmware &amp;quot;in the field&amp;quot;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>