<?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>nrf52811 dfu issue</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/120540/nrf52811-dfu-issue</link><description>Hi, I&amp;#39;m a novice in embedded systems. I have board based on nrf52811 and firmware written for my device but when I received my board from production I could not load firmware because there is no DFU on board. I see device as AT 52811 and I can connect</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 15 May 2025 13:01:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/120540/nrf52811-dfu-issue" /><item><title>RE: nrf52811 dfu issue</title><link>https://devzone.nordicsemi.com/thread/535602?ContentTypeID=1</link><pubDate>Thu, 15 May 2025 13:01:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c3fb3b0b-9658-4939-9839-7cc7f3ddbe5d</guid><dc:creator>Edvin</dc:creator><description>[quote user="nebojsar"]I am wondering which serial number should be visible when DK and external board[/quote]
&lt;p&gt;The serial number that shows up should match the serial number on the white sticker on the DK. This is the serial number for the debugger, and not the on-board nRF chip. So this serial number will not change when you connect your external devices via the debugger.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;To make sure the other devices are being detected, you can try to read out some registers that would be different on the different devices, such as the address register. For example the FICR-&amp;gt;DEVICEADDR[0] register:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ps_nrf52811/page/ficr.html#register.DEVICEADDR-0-1"&gt;https://docs.nordicsemi.com/bundle/ps_nrf52811/page/ficr.html#register.DEVICEADDR-0-1&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Download and install the &lt;a href="https://www.nordicsemi.com/Products/Development-tools/nRF-Command-Line-Tools/Download"&gt;nRF command line tools&lt;/a&gt;&amp;nbsp;(ignore that it says it is archived. It works for now).&lt;/p&gt;
&lt;p&gt;You may already have it installed, if you have flashed your DK or custom boards using the debugger. Try to type &amp;quot;nrfjprog --version&amp;quot; and see if it responds with a version number, or something like &amp;quot;nrfjprog not found&amp;quot;.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Then, once it is installed, use the command: &amp;quot;nrfjprog --memrd 0x100000A4&amp;quot;. This should return different values when the external board is connected and when it is not.&lt;/p&gt;
&lt;p&gt;Try that, and we&amp;#39;ll take it from there.&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52811 dfu issue</title><link>https://devzone.nordicsemi.com/thread/535389?ContentTypeID=1</link><pubDate>Wed, 14 May 2025 15:42:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dc806320-b584-4e72-adff-efe897eb5744</guid><dc:creator>nebojsar</dc:creator><description>&lt;p&gt;I had old device with good firmware in working condition. I connected it to DK and via programmer app I was able (or at least I think) to get firmware hex file which I downloaded and saved. After I disconnected old device, it stopped working, usual led blink after press on power-on swich does not appear and I cannot find device via bluetooth. After connecting old device I attached new one and loaded hex file that I&amp;#39;ve got but again device is unresponsive so I think that probably I was just seeing DK memory not one from my devices. I also checked logs which showed always same serial number of device and in this case serial number of DK. I powered DK via usb, and my board was powered by onboard battery (same voltage 3V). I used diagram to connect external board from message above.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am wondering which serial number should be visible when DK and external board(my device) is connected to it? Also if I was just connected to DK how did I manage to destroy/damage original device firmware and why device is not responding now.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52811 dfu issue</title><link>https://devzone.nordicsemi.com/thread/535313?ContentTypeID=1</link><pubDate>Wed, 14 May 2025 11:55:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cde59730-db45-4ade-a02f-03d8dc260c29</guid><dc:creator>Edvin</dc:creator><description>[quote user="nebojsar"]But new device still does not work although memory map looks same like old device.[/quote]
&lt;p&gt;How do you determine that it doesn&amp;#39;t work? What do you observe?&lt;/p&gt;
[quote user="nebojsar"]I checked devlopment kit log and I saw that firmware was not protected. So simple read from old and load on new device should work or?[/quote]
&lt;p&gt;How did you read the code? And what did it output? A .hex file? If so, can you upload it here?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52811 dfu issue</title><link>https://devzone.nordicsemi.com/thread/534744?ContentTypeID=1</link><pubDate>Sat, 10 May 2025 13:01:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:53727671-3ea6-4ac5-a272-2c413d2c7eb8</guid><dc:creator>nebojsar</dc:creator><description>&lt;p&gt;I set battery in device and powered development kit via usb. I was able to see both original device and new device. I&amp;#39;ve read and saved &amp;nbsp;hex file from old device and than did erase and write to new device. All done with nrf programmer. But new device still does not work although memory map looks same like old device. I checked devlopment kit log and I saw that firmware was not protected. So simple read from old and load on new device should work or?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52811 dfu issue</title><link>https://devzone.nordicsemi.com/thread/534742?ContentTypeID=1</link><pubDate>Sat, 10 May 2025 11:45:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:91331792-48b2-4541-a008-ed086ce76c53</guid><dc:creator>nebojsar</dc:creator><description>&lt;p&gt;Hi Edvin,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; I got nRF52840-DK, and I connected my board to DK board. Now I noticed there is a battery on DK and my unit also have a battery. I will connect DK to PC via USB. How to configure power on each device (not to cause some damage)?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52811 dfu issue</title><link>https://devzone.nordicsemi.com/thread/531032?ContentTypeID=1</link><pubDate>Tue, 08 Apr 2025 12:55:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f8542d6e-ced9-4700-ab09-80ab439b0c26</guid><dc:creator>nebojsar</dc:creator><description>&lt;p&gt;Great, thank you very much for your help&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52811 dfu issue</title><link>https://devzone.nordicsemi.com/thread/531021?ContentTypeID=1</link><pubDate>Tue, 08 Apr 2025 12:38:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1e1eead4-2618-4fc3-96e1-4fb9651c9620</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;It is possible as long as readback protection is not enabled. You can either way give it a try.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can use nRF Command Line Tools:&amp;nbsp;&lt;a href="https://www.nordicsemi.com/Products/Development-tools/nRF-Command-Line-Tools/Download"&gt;https://www.nordicsemi.com/Products/Development-tools/nRF-Command-Line-Tools/Download&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;and the command:&lt;/p&gt;
&lt;p&gt;nrfjprog --readcode old_fw.hex&lt;/p&gt;
&lt;p&gt;to read out the content of the flash on the device that you want to copy. You can name it whatever you want to. It doesn&amp;#39;t need to be &amp;quot;old_fw.hex&amp;quot;.&lt;/p&gt;
&lt;p&gt;To program it to another device, you can use:&lt;/p&gt;
&lt;p&gt;nrfjprog --program old_fw.hex --verify&lt;/p&gt;
&lt;p&gt;But before you program it, you may want to erase it using:&lt;/p&gt;
&lt;p&gt;nrfjprog --eraseall&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52811 dfu issue</title><link>https://devzone.nordicsemi.com/thread/531015?ContentTypeID=1</link><pubDate>Tue, 08 Apr 2025 12:15:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1db4ed0d-8d7a-4656-b4e9-7d7b28f6e2cf</guid><dc:creator>nebojsar</dc:creator><description>&lt;p&gt;Hi Edvin, I already ordered DK, it will be probably easier that way. &amp;nbsp;I have one more question. Since I have working unit with firmware loaded is it possible somehow just to clone existing content from board I have to new board?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52811 dfu issue</title><link>https://devzone.nordicsemi.com/thread/531013?ContentTypeID=1</link><pubDate>Tue, 08 Apr 2025 11:54:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b6aa49da-70c2-4593-9c68-f1051e47e80d</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Just to add:&lt;/p&gt;
[quote user=""]it was intended to be updated over Bluetooth.[/quote]
&lt;p&gt;This means that there probably is a bootloader, and it would be possible to update via BLE. But it requires knowledge about the actual bootloader. If it is a secure bootloader, you would need a key to sign your firmware images. You can try to connect to it using nRF Connect for iOS/Android, and see if anything shows up in the DFU tab. If it does, it means that it has the BLE service associated with DFU (which will put the device in DFU mode). But all of this is very hard to get working unless you are familiar with the bootloader that is programmed on the device. And impossible if it is a secure bootloader that requires the key to sign the application image.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;But programming it using the debugger on any of the nRF5x DKs should work if you have access to the SWDIO and SWDCLK pins. You can wire it like this:&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ug_nrf5340_dk/page/UG/dk/ext_programming_support_P20.html"&gt;https://docs.nordicsemi.com/bundle/ug_nrf5340_dk/page/UG/dk/ext_programming_support_P20.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;And you don&amp;#39;t need the reset pin. Just VDD, GND, SWDCLK and SWDIO, and connect them like it is described in the figure.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52811 dfu issue</title><link>https://devzone.nordicsemi.com/thread/531006?ContentTypeID=1</link><pubDate>Tue, 08 Apr 2025 11:05:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:97f3279a-7063-4382-96a5-2617581edfe8</guid><dc:creator>nebojsar</dc:creator><description>&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52811 dfu issue</title><link>https://devzone.nordicsemi.com/thread/531001?ContentTypeID=1</link><pubDate>Tue, 08 Apr 2025 10:24:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9968e6f4-97ff-485b-9a7e-83513d1f8c0a</guid><dc:creator>snoopy20</dc:creator><description>&lt;p&gt;Yeah, they all have Segger Jlink onboard. It is the cheapest way to do it as Segger JLink&amp;#39;s by themselves can be expensive.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52811 dfu issue</title><link>https://devzone.nordicsemi.com/thread/530998?ContentTypeID=1</link><pubDate>Tue, 08 Apr 2025 09:55:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b2ee9f4-be4a-4204-8c0c-51d247db63d6</guid><dc:creator>nebojsar</dc:creator><description>&lt;p&gt;Ok, I will try to source one NRF52DK. Will NRF52840 development kit work as well (easier to source for me)?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52811 dfu issue</title><link>https://devzone.nordicsemi.com/thread/530978?ContentTypeID=1</link><pubDate>Tue, 08 Apr 2025 08:46:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3306de92-2062-4537-aa46-5e54b9c78a88</guid><dc:creator>snoopy20</dc:creator><description>&lt;p&gt;You can use pins on NRF52DK. There&amp;#39;s also Segger J-LINK Edu and various models they do. As Nordic licensing comes with NRF52 it makes sense to stay in the ecosystem (and Segger is absolutely superb after all).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52811 dfu issue</title><link>https://devzone.nordicsemi.com/thread/530966?ContentTypeID=1</link><pubDate>Tue, 08 Apr 2025 08:05:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e3144478-10be-4c33-80bb-965e9c8d873c</guid><dc:creator>nebojsar</dc:creator><description>&lt;p&gt;I thought I would need some sort of PC connection. On the board itself, I have a header for PC connection with SWDIO/SWDCLK pins.&amp;nbsp; Any suggestion on how to connect the board to the PC (USB or via some other controller) I assume I will need to make connection cable?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52811 dfu issue</title><link>https://devzone.nordicsemi.com/thread/530957?ContentTypeID=1</link><pubDate>Tue, 08 Apr 2025 07:50:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:242d40d3-7f16-45a5-b221-0f8605e0a8bd</guid><dc:creator>snoopy20</dc:creator><description>&lt;p&gt;There are three parts to an OTA system; DFU, SoftDevice (aka BLE) and App.&lt;br /&gt;&lt;br /&gt;Softdevice and App don&amp;#39;t know anything about DFU. The DFU and (usually) App use Softdevice for BLE.&lt;br /&gt;&lt;br /&gt;So as a minimum you need DFU and SoftDevice installed by PC connection. Later the DFU can update all three parts of the system. &lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>