<?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>Failed to download firmware in Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/42746/failed-to-download-firmware-in-segger-embedded-studio</link><description>Hi, 
 I have an error to download firmware in nRF52840-DK, from output console show it failed at verification on address 0x00000000. 
 I try to compile the light switch example from &amp;quot;\examples\light_switch\client\&amp;quot; folder into two nRF52840-DK boards but</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 01 Feb 2019 15:11:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/42746/failed-to-download-firmware-in-segger-embedded-studio" /><item><title>RE: Failed to download firmware in Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/169105?ContentTypeID=1</link><pubDate>Fri, 01 Feb 2019 15:11:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a76a621c-fbc6-4bcd-bad8-fb354a183429</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Yes, I believe we can conclude that this could be a faulty board. Ask element14 to check the HW.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failed to download firmware in Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/168736?ContentTypeID=1</link><pubDate>Wed, 30 Jan 2019 14:36:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:83a383f4-e8b1-4433-8bc5-bbd797b7f2f3</guid><dc:creator>kokheng</dc:creator><description>&lt;p&gt;1) using nrfjprog&amp;nbsp;--recover then program again via SES ---&amp;gt; this method doesn&amp;#39;t work.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;2) and yes, both boards are able to program using nrfjprog&amp;nbsp;command but the faulty board didnt&amp;nbsp;pass the flash verification.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Can I make the conclusion that the faulty board unable to recover by Nordic tools and require to send for hardware inspection by element14?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;When compare flash memory found some hex value is not the same.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1548858644930v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failed to download firmware in Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/168696?ContentTypeID=1</link><pubDate>Wed, 30 Jan 2019 12:52:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:17c33947-e29a-48cf-bbad-1cb7f150b414</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;You chose the correct interface MCU FW. It was also correct to update the J-Link FW. Could you try an nrfjprog --recover command on the faulty board &amp;amp; then try to program the board again via SES? Does this work?&lt;/p&gt;
&lt;p&gt;P.S. If you add the nrfjprog command to the system path (i.e. Environment variables), you won&amp;#39;t need to be in the nrfjprog folder to execute the command.&lt;/p&gt;
&lt;p&gt;&amp;amp; just so I understand correctly. Programming the softdevice &amp;amp; the light switch example worked via nrfjprog on both boards, correct? Seems like it from the command line log you provided.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failed to download firmware in Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/168523?ContentTypeID=1</link><pubDate>Tue, 29 Jan 2019 15:29:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:379f0ce4-7a5c-4fc3-bc52-a03722410fbb</guid><dc:creator>kokheng</dc:creator><description>&lt;p&gt;1) manage to place the bin file (i.e.&amp;nbsp;J-Link OB-SAM3U128-V2-NordicSemi 170724.bin) to the DK.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;2) Power cycle the board again&lt;/p&gt;
&lt;p&gt;3) Program the DK via Segger, but&amp;nbsp;it requires firmware Update&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1548775390183v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;4) After I press No button, it failed to connect J link.&lt;/p&gt;
&lt;p&gt;5) Thus, I repeat the step from 1 to 3, and then press Yes button to run the J-Link V6.40 Firmware update&lt;/p&gt;
&lt;p&gt;6) After executing the firmware update, it will go to flash the example code into flash and then same flash error come again.&lt;/p&gt;
&lt;p&gt;Please let me know if my step is not correct or bin file download is not the latest version. Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failed to download firmware in Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/168503?ContentTypeID=1</link><pubDate>Tue, 29 Jan 2019 14:45:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:934daa5b-011a-4e49-81e0-7b0d54462a7c</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;2) I did not mean that you should cut the solder bridge. I was just wondering if you did or not. If you did, you would have needed to attach a jumper to P22.&lt;/p&gt;
&lt;p&gt;What you can do is try to flash the &lt;a href="https://www.nordicsemi.com/Software-and-Tools/Development-Kits/nRF52-DK/Download#infotabs"&gt;interface mcu&lt;/a&gt; to the nRF52 DK one more time. Turn off the DK &amp;amp; turn it back on while pressing the IF BOOT/RESET button. You should then see the DK appear as a BOOTLOADER drive. Drag &amp;amp; drop the downloaded Interface MCU FW to the malfunctioning DK. Power cycle the board one more time &amp;amp; try to program by via Segger again.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failed to download firmware in Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/168297?ContentTypeID=1</link><pubDate>Mon, 28 Jan 2019 15:25:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1234f194-0f6e-4774-8eb7-a77559a0ac77</guid><dc:creator>kokheng</dc:creator><description>&lt;p&gt;1) The switches in both good and bad board have the same position.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;2) I do not have Power profile kit in my hand,&amp;nbsp;and if I cut the solder bridge on the board, which meant that need to damage the board. I&amp;#39;m not sure element14 still accept&amp;nbsp;my board or not, can we have another method?&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;3) I tried to erase the board either using nrfjprog&amp;nbsp;or Segger Embedded Studio (connect to Jlink). The result still same as above.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;4) I use the same USB cable connects to both boards, and make sure the USB fully plugged into computer USB. The result still seeing the bad board return flash problem.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failed to download firmware in Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/168244?ContentTypeID=1</link><pubDate>Mon, 28 Jan 2019 13:21:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f85ccc4f-a4da-401d-af22-4080371e2992</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Interesting. It seems like it worked to program both boards via nrfjprog, which is a good thing. Could you please check to make sure all of the switches on the 52840 DKs are in the same positions when you compare the board that works &amp;amp; the one that does not work?&lt;/p&gt;
&lt;p&gt;Also, have you by any chance cut the solder bridge to measure current via the PPK by any chance?&lt;/p&gt;
&lt;p&gt;Could you please try an nrfjprog --eraseall on both boards &amp;amp; try to program via Segger Embedded Studio one more time. Also check that the usb is plugged in correctly on the DK when programming.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failed to download firmware in Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/167986?ContentTypeID=1</link><pubDate>Fri, 25 Jan 2019 15:02:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba18d122-2f3b-4daf-a951-2e977ef7631e</guid><dc:creator>kokheng</dc:creator><description>&lt;p&gt;Thanks, Bjorn.&lt;/p&gt;
&lt;p&gt;please see the result on below two pictures.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;1) number for bad Board - 683620689&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1548427905670v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;2)&amp;nbsp;number for good board - 683607274&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1548428422978v3.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failed to download firmware in Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/167977?ContentTypeID=1</link><pubDate>Fri, 25 Jan 2019 14:40:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4d974bd3-beae-4bf4-a4f1-1fa790a07fe4</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;It may be a HW issue, but before we assume that, one more test. Could you please &lt;a href="https://www.nordicsemi.com/Software-and-Tools/Development-Tools/nRF5-Command-Line-Tools"&gt;download nrfjprog&lt;/a&gt;, then erase the first board via: nrfjprog --eraseall. Then, upload the softdevice via nrfjprog --program &lt;span&gt;path_to_hex_file&lt;/span&gt;. The softdevice hex file can be found here:&amp;nbsp;$(SDK_ROOT:../../../../nRF5_SDK_15.2.0_9412b96)/components/softdevice/s132/hex/s132_nrf52_6.1.0_softdevice.hex.&lt;/p&gt;
&lt;p&gt;Lastly, use the same command to program the application, which can be found in the build folder. Then, do nrfjprog -r to do a soft reset of the board.&lt;/p&gt;
&lt;p&gt;Also, could you please try to do nrfjprog -i. You should receive a number back for both boards.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failed to download firmware in Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/167803?ContentTypeID=1</link><pubDate>Fri, 25 Jan 2019 05:20:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5f22bbb-00c8-4478-a9f3-a7de534920ab</guid><dc:creator>kokheng</dc:creator><description>&lt;p&gt;Hi Bjorn&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I just have another round of testing,&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;use Mesh SDK 3.0 +&amp;nbsp;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;light_switch_client_nrf52840_xxAA_s140_6_1_0.emProject&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;use ID SES v4.12 to build the project and download two&amp;nbsp;&lt;span&gt;nRF52840-DK and the result show that&lt;/span&gt;
&lt;ul&gt;
&lt;li&gt;one&amp;nbsp;&lt;span&gt;nRF52840-DK (1) success download the firmware&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;one&amp;nbsp;nRF52840-DK (2) failed to download the firmware, return flash verification error&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Verify the hex file with nRF52840-DK (2) flash memory, found the hex value is not exactly the same&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Thus, can you make a comment on this issue? I would like to ask Element14 to return a new&amp;nbsp;&lt;span&gt;nRF52840-DK if you think this is a hardware flash failure.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Thanks&amp;nbsp; &amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failed to download firmware in Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/167504?ContentTypeID=1</link><pubDate>Thu, 24 Jan 2019 01:23:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd700673-29fa-42de-a5a7-19c51833e0a2</guid><dc:creator>kokheng</dc:creator><description>&lt;p&gt;&lt;span&gt;If this is a hardware failure problem, does the board with any warranty&amp;nbsp;policy? Can&amp;nbsp;&lt;/span&gt;i&lt;span&gt;&amp;nbsp;get back a new one&amp;nbsp;&lt;/span&gt;&lt;span&gt;nRF52840-DK?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failed to download firmware in Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/167412?ContentTypeID=1</link><pubDate>Wed, 23 Jan 2019 14:36:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f8b45635-5905-4028-8fa6-52f344625a7a</guid><dc:creator>kokheng</dc:creator><description>&lt;p&gt;I use Mesh SDK v3.1 and v3.0 +&amp;nbsp;&lt;span&gt;light_switch_client_nrf52840_xxAA_s140_6_1_0.emProject, both also failed to download the firmware and&amp;nbsp;&lt;/span&gt;&lt;span&gt;using window 10 + ses v4.12.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;personally, I don&amp;#39;t think is software related problem and It looks like the&amp;nbsp;flash problem.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failed to download firmware in Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/167184?ContentTypeID=1</link><pubDate>Tue, 22 Jan 2019 16:27:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb034986-168e-47e8-ac82-4e714bf1200e</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;I just tested the mesh SDK v3.0 with the &lt;span&gt;light_switch_client_nrf52840_xxAA_s140_6_1_0.emProject &amp;amp; was able to successfully download the code. Which version of SES are you using? I used v3.40. Are you running Windows 10? Could you try to download the mesh sdk v3.0.0 zip again to double check that there is not any issues with linker settings or similar. Or just download the latest mesh sdk &amp;amp; test that instead.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failed to download firmware in Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/167140?ContentTypeID=1</link><pubDate>Tue, 22 Jan 2019 14:23:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f043f052-6d38-4548-bebe-9613fb6fdb03</guid><dc:creator>kokheng</dc:creator><description>&lt;p&gt;I use mesh SDK 3.0 and project light_switch_client_nrf52840_xxAA_s140_6_1_0.emProject.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;and below is the output log&lt;/p&gt;
&lt;p&gt;Preparing target for download&lt;br /&gt;Executing script TargetInterface.resetAndStop()&lt;br /&gt;Reset: Halt core after reset via DEMCR.VC_CORERESET.&lt;br /&gt;Reset: Reset device via AIRCR.SYSRESETREQ.&lt;br /&gt;Downloading &amp;lsquo;s140_nrf52_6.1.0_softdevice.hex&amp;rsquo; to J-Link&lt;br /&gt;Programming 2.5 KB of addresses 00000000 &amp;mdash; 00000a17&lt;br /&gt;Programming 147.6 KB of addresses 00001000 &amp;mdash; 00025e7b&lt;br /&gt;J-Link: Flash download: Bank 0 @ 0x00000000: 1 range affected (155648 bytes)&lt;br /&gt;J-Link: Flash download: Total time needed: 2.489s (Prepare: 0.118s, Compare: 0.018s, Erase: 0.000s, Program: 2.263s, Verify: 0.002s, Restore: 0.086s)&lt;br /&gt;Verification failed @ address 0x00000000&lt;/p&gt;
&lt;p&gt;And unable to debug the code due to it failed during flash verification.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failed to download firmware in Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/167128?ContentTypeID=1</link><pubDate>Tue, 22 Jan 2019 13:59:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:710a1d52-a43a-41cb-ad3d-0935ba395b3a</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Which mesh sdk version are you currently using? Are you using this SES project:&amp;nbsp;light_switch_client_nrf52840_xxAA_s140_6_0_0.emProject? Also, how do you know that it seems like it does not work? Have you tried debugging the example? Do you receive any logging output? You can do this directly in SES by pressing F5.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failed to download firmware in Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/167087?ContentTypeID=1</link><pubDate>Tue, 22 Jan 2019 12:49:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:09704920-fea4-4ead-bc91-cee722bed0a9</guid><dc:creator>kokheng</dc:creator><description>&lt;p&gt;I did try above method, it seems like doesn&amp;#39;t work. and compare the flash memory with the compiled hex found that some of the hex value is not exactly the same...&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failed to download firmware in Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/167070?ContentTypeID=1</link><pubDate>Tue, 22 Jan 2019 12:00:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:17d6db5e-2227-40c3-b4b1-bf5b271d0702</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Can you please try to download the light switch example via Segger Embedded Studios? First erase the board (either via nRF Programmer app) or via nrfjprog. Then, compile the example in SES. Next,&amp;nbsp;press Target -&amp;gt; Connect J-Link. Then, press Target -&amp;gt; Download &amp;lt;project name&amp;gt;, where project name could be ble_app_blinky_pca10040_s132 or light switch_pca10040... for example. Does that work?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failed to download firmware in Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/166626?ContentTypeID=1</link><pubDate>Sat, 19 Jan 2019 06:46:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0f6bf03d-9941-4b14-b702-a05f985ac486</guid><dc:creator>kokheng</dc:creator><description>&lt;p&gt;when I use the nRF&amp;nbsp;Connect v2.6.1&amp;nbsp; - Programmer app, it will always be hanged when I flash the&amp;nbsp;s140_nrf52_6.1.0_softdevice.hex.&lt;/p&gt;
&lt;p&gt;Is this indicate that the board flash got a problem?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;img alt="hanged at &amp;quot;Write prorgess: verify Flash&amp;quot;" src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/nRF-Connect-.PNG" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>