<?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>Custom board programming failed</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/34079/custom-board-programming-failed</link><description>Hello, 
 I&amp;#39;m trying to program my custom board with a PCA10056 following this scheme (Note that my custom board is powered by the PCA10056) : 
 VDD (PCA10056) ---&amp;gt; VTG(PCA10056) VDD (PCA10056) ---&amp;gt; VDD (CustomBoard) GND (PCA10056) ---&amp;gt; GND (CustomBoard</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 15 May 2018 06:57:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/34079/custom-board-programming-failed" /><item><title>RE: Custom board programming failed</title><link>https://devzone.nordicsemi.com/thread/131954?ContentTypeID=1</link><pubDate>Tue, 15 May 2018 06:57:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd0a5396-b4e9-4068-baf9-420702da97fa</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/sylvain-p_e900_tr_e900_"&gt;Sylvain&lt;/a&gt;: Happy to hear that the new PCB is working as it should. I guess we can assume that the IC was damaged somehow or nor properly soldered to the PCB.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom board programming failed</title><link>https://devzone.nordicsemi.com/thread/131934?ContentTypeID=1</link><pubDate>Mon, 14 May 2018 18:13:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a78cb5ae-6fda-4866-b9ec-16a1409c5f19</guid><dc:creator>Sylvain</dc:creator><description>&lt;p&gt;Hi Bjorn,&lt;/p&gt;
&lt;p&gt;The new PCB works well.&lt;/p&gt;
&lt;p&gt;Thanks for the support.&lt;/p&gt;
&lt;p&gt;Sylvain.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom board programming failed</title><link>https://devzone.nordicsemi.com/thread/131474?ContentTypeID=1</link><pubDate>Wed, 09 May 2018 10:35:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:167b12d1-ae2b-40c9-8910-ffbddcdb351d</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Yes, please let me know if see the same behaviour on the new PCB or not.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom board programming failed</title><link>https://devzone.nordicsemi.com/thread/131467?ContentTypeID=1</link><pubDate>Wed, 09 May 2018 09:40:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:86e8e1d4-09e6-4508-a963-f22b51b8c6ba</guid><dc:creator>Sylvain</dc:creator><description>&lt;p&gt;I&amp;#39;ll try to solder a new PCB on Monday. I&amp;#39;ll keep you in touch. &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom board programming failed</title><link>https://devzone.nordicsemi.com/thread/131461?ContentTypeID=1</link><pubDate>Wed, 09 May 2018 09:11:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:08d1de4c-e72a-4c5d-9dcc-c71a4a58c994</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Yes, I think that we can rule out any driver issue then, since you&amp;#39;re able to flash and verify another nRF52840 device.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Are you able to check if code actually runs on the device if you omit the --verify option? E.g. flash one of the precompiled peripheral examples that blinks a led or one of the ble examples and see if the board advertises. You could also try to compile an example yourself and see if your&amp;#39;re able to flash and debug it for instance.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;All our ICs are production tested so faulty devices should be screened out, but the chip might have been damaged during soldering to the PCB or it could be ESD damage. Hard to say with out examining the IC.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom board programming failed</title><link>https://devzone.nordicsemi.com/thread/131408?ContentTypeID=1</link><pubDate>Tue, 08 May 2018 19:56:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27445630-3043-47d6-98da-ec3132eb1caf</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;I see the output that it tries to program 2 boards at the same time. &amp;nbsp;Is it that intended ? Could that be a conflict problem ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom board programming failed</title><link>https://devzone.nordicsemi.com/thread/131368?ContentTypeID=1</link><pubDate>Tue, 08 May 2018 13:20:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cf8efb90-f49e-42b7-97bd-bac75c9633bc</guid><dc:creator>Sylvain</dc:creator><description>&lt;p&gt;Yes same behaviour with a precompiled HEX file.&lt;br /&gt;&lt;br /&gt;I have 2 nRF52840PDK, same behaviour with the two. When I try to program one PDK with another PDK, everything works fine.&lt;br /&gt;So, definitely I think the problem come from the chip on the custom board. Maybe the flash is damaged ... is it possible ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom board programming failed</title><link>https://devzone.nordicsemi.com/thread/131361?ContentTypeID=1</link><pubDate>Tue, 08 May 2018 12:47:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5fb025b2-6199-4fb8-af87-9976a05d64d7</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Do you see the same behavior if you try to flash one of the precompiled application examples from the nRF5 SDK, e.g. ble_app_hrs?&lt;/p&gt;
&lt;p&gt;If you omit the --verify option and flash the SoftDevice and a precompiled application, is the nRF52840 DK advertising( LED 1 blinking)? If yes, is it visible and connectable in the nRF Connect app?&lt;/p&gt;
&lt;p&gt;Also do you only have this one nRF52840 DK or do you have another one that you could test with?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom board programming failed</title><link>https://devzone.nordicsemi.com/thread/131323?ContentTypeID=1</link><pubDate>Tue, 08 May 2018 09:07:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b0610e7-38ed-4763-b842-d181e0eb7e8e</guid><dc:creator>Sylvain</dc:creator><description>&lt;p&gt;Sadly, it is the same result ...&lt;/p&gt;
&lt;p&gt;C:\Users\Sylvain&amp;gt;nrfjprog --version&lt;br /&gt;nrfjprog version: 9.7.2&lt;br /&gt;JLinkARM.dll version: 6.32a&lt;br /&gt;&lt;br /&gt;C:\Users\Sylvain&amp;gt;nrfjprog -f nrf52 --program s140_nrf52_6.0.0_softdevice.hex --chiperase --verify --log&lt;br /&gt;Parsing hex file.&lt;br /&gt;Erasing user available code and UICR flash areas.&lt;br /&gt;Applying system reset.&lt;br /&gt;Checking that the area to write is not protected.&lt;br /&gt;Programing device.&lt;br /&gt;Verifying programming.&lt;br /&gt;ERROR: Write verify failed.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/0488.log.log"&gt;devzone.nordicsemi.com/.../0488.log.log&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom board programming failed</title><link>https://devzone.nordicsemi.com/thread/131316?ContentTypeID=1</link><pubDate>Tue, 08 May 2018 08:39:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:084ebb27-994d-4b23-96c0-69a5adacb3e4</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Could you try to update to&amp;nbsp;JLinkARM.dll v6.32a&amp;nbsp; from Segger? &lt;a href="https://www.segger.com/downloads/jlink/#J-LinkSoftwareAndDocumentationPack"&gt;Here&lt;/a&gt;&amp;nbsp;is the link.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom board programming failed</title><link>https://devzone.nordicsemi.com/thread/131306?ContentTypeID=1</link><pubDate>Tue, 08 May 2018 08:19:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b0a396c-ea3a-4d4d-8ae9-86dd0b850162</guid><dc:creator>Sylvain</dc:creator><description>&lt;p&gt;My version of nrfjprog is the last one. I downloaded and installed this file&amp;nbsp;nRF5x toolset installer for Windows (JLinkARM, JLink CDC, nRFjprog, and mergehex) V9.7.2.&lt;/p&gt;
&lt;p&gt;Result in the terminal:&lt;/p&gt;
&lt;p&gt;nrfjprog version: 9.7.2&lt;br /&gt;JLinkARM.dll version: 6.20i&lt;/p&gt;
&lt;p&gt;The log file is attached to this post.&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/5383.log.log"&gt;devzone.nordicsemi.com/.../5383.log.log&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom board programming failed</title><link>https://devzone.nordicsemi.com/thread/131291?ContentTypeID=1</link><pubDate>Tue, 08 May 2018 07:38:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d3782be6-2382-4124-b197-7d7d2fcc62a6</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Which version of nrfjprog and which JlinkARM.dll version are you using( You can check by running nrfjprog --version) ? If you&amp;#39;re not using nrjfprog v9.7.2 and/or JLinkARM.dll v6.32a, then please update to the latest version.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you are using the latest versions, then could you run the same command with the --log option, i.e.&amp;nbsp;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;nrfjprog -f nrf52 --program s140_nrf52_6.0.0_softdevice.hex --chiperase --verify --log&lt;/pre&gt;&lt;br /&gt;This will generate a log.log file in the directory where you called nrfjprog. Please attach it to this case.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom board programming failed</title><link>https://devzone.nordicsemi.com/thread/131256?ContentTypeID=1</link><pubDate>Mon, 07 May 2018 16:06:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bff21bce-d10a-4dea-85cb-7227d7a16a2a</guid><dc:creator>Sylvain</dc:creator><description>&lt;p&gt;Here&amp;#39;re the results :&lt;br /&gt;&lt;br /&gt;C:\Users\Sylvain&amp;gt;nrfjprog -f nrf52 --program s140_nrf52_6.0.0_softdevice.hex --chiperase --verify&lt;br /&gt;Parsing hex file.&lt;br /&gt;Erasing user available code and UICR flash areas.&lt;br /&gt;Applying system reset.&lt;br /&gt;Checking that the area to write is not protected.&lt;br /&gt;Programing device.&lt;br /&gt;Verifying programming.&lt;br /&gt;ERROR: Write verify failed.&lt;br /&gt;&lt;br /&gt;It is the same problem as previous...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom board programming failed</title><link>https://devzone.nordicsemi.com/thread/131208?ContentTypeID=1</link><pubDate>Mon, 07 May 2018 13:07:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6c79efde-816a-4761-bdec-a9400d5f49e7</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;The connections look good and since you&amp;#39;re able to erase and flash, but not verify, then I do not think this is a connection issue.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you try to program the SoftDevice using nrfjprog and not nRFGo Studio using the following command:&lt;/p&gt;
&lt;p&gt;nrfjprog -f nrf52 --program &amp;lt;name of softdevice hex&amp;gt;.hex --chiperase --verify&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>