<?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>Locked nRF52840 DK board</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/42219/locked-nrf52840-dk-board</link><description>Hi All. 
 Practising Secure DFU, my nRF52840 DK board seems like if it is locked. Only Leds 1 and 2 are ON. The board is advertising with DEVICE_NAME=Dfu Targ and its COM serial communication is lost. If I press the reset button SW5, nothing happens.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 11 Jan 2019 15:14:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/42219/locked-nrf52840-dk-board" /><item><title>RE: Locked nRF52840 DK board</title><link>https://devzone.nordicsemi.com/thread/165225?ContentTypeID=1</link><pubDate>Fri, 11 Jan 2019 15:14:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6c55dc18-d49d-4b27-9069-6759d6a15ff1</guid><dc:creator>p143</dc:creator><description>&lt;p&gt;Extremely clear, Hung.&lt;/p&gt;
&lt;p&gt;Thanks for this comment and have a nice weekend.&lt;/p&gt;
&lt;p&gt;Juan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Locked nRF52840 DK board</title><link>https://devzone.nordicsemi.com/thread/165222?ContentTypeID=1</link><pubDate>Fri, 11 Jan 2019 15:06:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f84df4f-c4ba-4453-8933-3cc1d1287fa4</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Juan,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Yes on the first time when the bootloader see no application it will by default enter bootloader mode. But when you have your app running, you need to enter the bootloader mode, either by holding a button when booting, or by using DFU buttonless service to receive a command in BLE.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can find the DFU buttonless example in&amp;nbsp;\examples\ble_peripheral\ble_app_buttonless_dfu and can find the documentation &lt;a href="https://www.nordicsemi.com/DocLib/Content/SDK_Doc/nRF5_SDK/v15-2-0/ble_sdk_app_buttonless_dfu"&gt;here&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Locked nRF52840 DK board</title><link>https://devzone.nordicsemi.com/thread/165203?ContentTypeID=1</link><pubDate>Fri, 11 Jan 2019 14:27:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:96a07cda-4cdf-4995-8fea-3a10661b764c</guid><dc:creator>p143</dc:creator><description>&lt;p&gt;Hi Hung.&lt;/p&gt;
&lt;p&gt;The assumption is simply based on the fact that my app image was successfully&amp;nbsp;flashed on the target device and it works as expected.&lt;/p&gt;
&lt;p&gt;The file I programmed is a merge I made on my own from two different&amp;nbsp;example apps from&amp;nbsp;SDK v15.2.0. I certainly didn&amp;#39;t include any DFU buttonless service on it, but it looks that this didn&amp;#39;t prevent me from performing a successful&amp;nbsp;programming through&amp;nbsp;ble (??), yet the DFU sign does not show up while scanning the target device.&lt;/p&gt;
&lt;p&gt;(btw. I think your comment ...&lt;span&gt;Please try to follow this to test the DFU buttonless app ... is missing some link (?)&lt;/span&gt;)&lt;/p&gt;
&lt;p&gt;Waiting&amp;nbsp;for your comments,&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Juan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Locked nRF52840 DK board</title><link>https://devzone.nordicsemi.com/thread/165180?ContentTypeID=1</link><pubDate>Fri, 11 Jan 2019 13:36:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2bc6c54f-f945-41b6-a525-007b8fe406e4</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Juan,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Which app did you do DFU update on ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It seems that the app doesn&amp;#39;t support DFU service. I&amp;#39;m not sure why you assume that the app should support DFU.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please try to follow this to test the DFU buttonless app . If you want to do DFU update from your app, you need to include the DFU buttonless service (otherwise the only way to go back to DFU mode is to press and hold a button when resetting )&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Locked nRF52840 DK board</title><link>https://devzone.nordicsemi.com/thread/165144?ContentTypeID=1</link><pubDate>Fri, 11 Jan 2019 12:22:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:909f95d4-b702-43a1-ba85-cac6b8a44aa9</guid><dc:creator>p143</dc:creator><description>&lt;p&gt;heHi Hung.&lt;/p&gt;
&lt;p&gt;I am sure you are right but in my case, I just performed a secure DFU procedure using the nRF Toolbox app from my mobile to program an application in the nRF52840 of my PCA10056 through BLE (whose SD and Bootloader were previously programmed through the virtual COM port). As the procedure was successful, I assume&amp;nbsp;that the target device supports&amp;nbsp;DFU service. Then, scanning the device (the one with a DEVICE_NAME WPROTO_3) from my mobile Connect app, no DFU feature appears in the attribute table:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/2080x3840/__key/communityserver-discussions-components-files/4/Screenshot_5F00_20190111_2D00_120723.png" /&gt;&lt;/p&gt;
&lt;p&gt;If I instead scan from mi nRF52840 Dongle using Connect for PC app, that&amp;#39;s what I get:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/2080x1954/__key/communityserver-discussions-components-files/4/Screenshot_5F00_20190111_2D00_120735.png" /&gt;&lt;/p&gt;
&lt;p&gt;Also with no DFU feature showing.&lt;/p&gt;
&lt;p&gt;What am I missing?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Juan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Locked nRF52840 DK board</title><link>https://devzone.nordicsemi.com/thread/164854?ContentTypeID=1</link><pubDate>Thu, 10 Jan 2019 09:45:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:120e8669-ed88-4c16-9875-1961943829f6</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Juan,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The DFU feature only appear when you have the DFU service in your attribute table. It will appear as a button like this:&amp;nbsp;&lt;br /&gt;&lt;img height="455" src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-b3ded9e1b7ed4bb99ec27052ff15d762/pastedimage1547113513640v1.png" width="258" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Locked nRF52840 DK board</title><link>https://devzone.nordicsemi.com/thread/164766?ContentTypeID=1</link><pubDate>Wed, 09 Jan 2019 16:11:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de3b3cf3-234b-4b17-8fb2-d71279798270</guid><dc:creator>p143</dc:creator><description>&lt;p&gt;Hi Hung.&lt;/p&gt;
&lt;p&gt;I got it&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;One last question. From this Infocenter Nordics documentation:&lt;/p&gt;
&lt;p&gt;------------------------------------------------------------------------------------------------------------------------------------&lt;/p&gt;
&lt;p&gt;&lt;img alt="mobile Connect app v4.4" src="https://devzone.nordicsemi.com/resized-image/__size/1040x808/__key/communityserver-discussions-components-files/4/Connect-v4.4.png" /&gt;&lt;/p&gt;
&lt;p&gt;-----------------------------------------------------------------------------------------------------------------------------------------&lt;/p&gt;
&lt;p&gt;it looks as if you could make mobile Secure DFU not only from nRF Toolbox app, but also from mobile Connect app (Android version 4.4 or later). Mine is v4.22.2 but I can&amp;#39;t see where the DFU feature is allocated. Would you clarify&amp;nbsp;it?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks again and,&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Juan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Locked nRF52840 DK board</title><link>https://devzone.nordicsemi.com/thread/164710?ContentTypeID=1</link><pubDate>Wed, 09 Jan 2019 12:50:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dce97ff8-4318-4ff7-842f-255186981889</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Juan,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;It&amp;#39;s pretty simple to use the guide for the nRF52840. Just make sure you use the bootloader for nRF52840, the application you plan to update is made for nRF52840, and then in the .zip file generation, select the correct sd-req.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Note that you can&amp;#39;t update the MBR. It&amp;#39;s the core of the updating, it can&amp;#39;t update itself.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;First you would need to recover the chip and make sure you can reprogram it.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Locked nRF52840 DK board</title><link>https://devzone.nordicsemi.com/thread/164684?ContentTypeID=1</link><pubDate>Wed, 09 Jan 2019 10:53:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4556fd2-e018-48c6-b169-f43710693dba</guid><dc:creator>p143</dc:creator><description>&lt;p&gt;Hi Hung.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll try your suggestion Thanks.&lt;/p&gt;
&lt;p&gt;But meanwhile and since my final goal is being able to program an&amp;nbsp;nRF52840 device through ble&amp;nbsp;transport and using Secure DFU bootloader procedure, if you say that the guide I&amp;nbsp;was using is for an nRF52832 device which is incompatible with an nRF52840 one, would you please tell me which&amp;nbsp;guide (if there is any), or describe the procedure (if there re is none yet) we should I implement? The components I would like to program through ble are&amp;nbsp;the&amp;nbsp;softdevice, the MBR, the secure bootloader and the application. Using a non-secure&amp;nbsp;bootloader compatible procedure would also fit me though.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Juan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Locked nRF52840 DK board</title><link>https://devzone.nordicsemi.com/thread/164657?ContentTypeID=1</link><pubDate>Wed, 09 Jan 2019 09:45:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e34098ab-25d0-4c0a-8a44-93199e4a2099</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Juan,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Please be aware that COM serial communication and programming interface are 2 different interfaces. You still can program the board via programming interface even if you have problem with UART communication. Please install &lt;a href="https://www.nordicsemi.com/Software-and-Tools/Development-Tools/nRF5-Command-Line-Tools"&gt;our command line tools&amp;nbsp;&lt;/a&gt;and try nrfjprog so we have more debug information&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;The problem here is that you were using the guide for nRF52832 on a nRF52840 chip. They are not compatible.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;When you press and hold the reset button when starting the board, it&amp;#39;s the bootloader mode of the programmer on the board, not the bootloader of the nRF52832 chip.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you have trouble to recover the&amp;nbsp;nRF52840 (not pressing reset button when turning on the board) with nrfjprog. Please try to put the board in to bootloader mode (where you see the BOOTLOADER folder popup) and drag and drop this &lt;a href="https://www.nordicsemi.com/Software-and-Tools/Development-Kits/nRF52840-DK/Download#infotabs"&gt;J-Link OB-SAM3U128-V2-NordicSemi 170724.bin&lt;/a&gt; file into the driver/folder.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Locked nRF52840 DK board</title><link>https://devzone.nordicsemi.com/thread/164593?ContentTypeID=1</link><pubDate>Tue, 08 Jan 2019 21:42:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9143a1b4-0bd6-4910-9257-fcb12b1f2721</guid><dc:creator>p143</dc:creator><description>&lt;p&gt;Hi Jung,&lt;/p&gt;
&lt;p&gt;- If you power on, without pressing SW5, what did the board do ? Did the board advertise as Dfu Targ ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;...&amp;nbsp;Leds&amp;nbsp;1 and 2 are ON. The board is advertising with DEVICE_NAME=Dfu Targ and its COM serial communication&amp;nbsp;is lost ,,,&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;- If you power on and pressing SW5, what happened ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;...&lt;span&gt;&amp;nbsp;&lt;/span&gt;Leds&amp;nbsp;1 and 2 are ON. Led 5 gets&amp;nbsp;intermittently&amp;nbsp; ON. A BOOTLOADER Folder&amp;nbsp;pops&amp;nbsp; up&amp;nbsp; in my file explorer .&amp;nbsp;The board keeps advertising Dfu Targ ...&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;- Can you reprogram the board using nrfjprog.exe&amp;nbsp; ?&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;.. I never used this executable to program as far. I use either SES IDE Build and&amp;nbsp;Run command if I have a source file, or the&amp;nbsp; Connect from PC/ Programmer tool if I have&lt;span&gt;&amp;nbsp;&lt;/span&gt;an&lt;span&gt;&amp;nbsp;&lt;/span&gt;.hex file. Anyway, my serial connection through USB&amp;nbsp;seems to be broken, so when I click the &amp;quot;Select Device&amp;quot; Tab in the Connect/Programmer tool, my PCA10056 doesn&amp;#39;t show up anymore, so I guess that executing a nrfjprog.exe from my cmd console wouldn&amp;#39;t work either ...&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;- Did you modify the bootloader ? You may want to try following our guide&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://devzone.nordicsemi.com/b/blog/posts/getting-started-with-nordics-secure-dfu-bootloader"&gt;here&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/a&gt;to test secure DFU.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;Yes I did, but always following the Step by Step &lt;/strong&gt;&lt;strong&gt;Guide&lt;/strong&gt;&lt;strong&gt; you mention in your&amp;nbsp;link.&amp;nbsp; Everything went&amp;nbsp;fine till completing Step D. Then, while trying step E, something&amp;nbsp;went wrong. As suggested, I modified the DEVICE_NAME in the Secure DFU SDK example application and generated a new DFU .zip packet using the previously built (in step A) private and public keys and a new application version (number 2 now). Then I issued&amp;nbsp;the command &amp;quot;nrfutil pkg generate --hw-version 52 --application-version 1 --application nrf52832_xxaa.hex --sd-req 0x98 --key-file private.key app_dfu_package.zip&amp;quot;&amp;nbsp;and copied the resulting zip to my mobile. Finally, I tried to re-program the PCA10056 device through &lt;/strong&gt;&lt;strong&gt;ble&lt;/strong&gt;&lt;strong&gt; using the mobile nRF Tools/DFU app. After a while, the process&amp;nbsp;got time-out and an error message &amp;quot; the Dfu Device&amp;nbsp;got disconnected&amp;quot; kept popping up every time I tried.&amp;nbsp;Finally, I tried connecting/disconnecting/power cycling and pressing all sort of buttons on the PCA10056 board, only to discover that it went apparently locked (?).&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Any suggestion?&lt;/p&gt;
&lt;p&gt;Thanks in advance for your help.&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Juan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Locked nRF52840 DK board</title><link>https://devzone.nordicsemi.com/thread/164511?ContentTypeID=1</link><pubDate>Tue, 08 Jan 2019 12:23:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:79e8fa56-2b04-4288-8200-0551cfe397aa</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Juan,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Could you clarify:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;- If you power on, without pressing SW5, what did the board do ? Did the board advertise as Dfu Targ ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;- If you power on and pressing SW5, what happened ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;- Can you reprogram the board using nrfjprog.exe&amp;nbsp; ?&lt;/p&gt;
&lt;p&gt;- Did you modify the bootloader ? You may want to try following our guide &lt;a href="https://devzone.nordicsemi.com/b/blog/posts/getting-started-with-nordics-secure-dfu-bootloader"&gt;here &lt;/a&gt;to test secure DFU.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>