<?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>Cannot program custom board although connection is established</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/25489/cannot-program-custom-board-although-connection-is-established</link><description>--------------------------------------------------------------------------------
nrfjprog -f nrf52 --reset --log
nrfjprog verion 9.6.0
--------------------------------------------------------------------------------
FUNCTION: open_dll.
FUNCTION:</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 03 Nov 2017 13:59:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/25489/cannot-program-custom-board-although-connection-is-established" /><item><title>RE: Cannot program custom board although connection is established</title><link>https://devzone.nordicsemi.com/thread/100464?ContentTypeID=1</link><pubDate>Fri, 03 Nov 2017 13:59:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:91e1d2b6-4973-4c01-b280-023fdb8134f2</guid><dc:creator>Vlad</dc:creator><description>&lt;p&gt;Hi Bjorn, thanks for the reply. I added a new topic with my issue:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/question/176687/cannot-eraseprogram-custom-nrf51-board-usign-nrf51-dk/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Any help is welcomed!
Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot program custom board although connection is established</title><link>https://devzone.nordicsemi.com/thread/100465?ContentTypeID=1</link><pubDate>Thu, 02 Nov 2017 14:48:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:01bbdd70-b174-4e61-8ee9-e55b55b08309</guid><dc:creator>kunal</dc:creator><description>&lt;p&gt;hi sorry for the late Reply. it was a Hardware issue. I was using the wrong programming Adapter on my custom board. there was another MCU which was also ´CORTEX-M4&amp;#39;. So i could always detect the Cortex M4 and erase it but programming using KEIL-NORDIC was not possible. all Connections were all right. The 12pf for OScillator do not make any difference even if you remove them bcos they are just for the SLEEP clock. REading all the Forums i found 90% ist Hardware Problem.some wrong Connection or soldering.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot program custom board although connection is established</title><link>https://devzone.nordicsemi.com/thread/100463?ContentTypeID=1</link><pubDate>Thu, 02 Nov 2017 12:23:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:182b2313-a453-4283-9cc3-8a6a838c037e</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Hi Kunal. Agree with Vlad, would be interesting to know if the situation resolved itself. @Vlad: do you have the exact same problem or is it slightly different? If it is different, you might get a quicker response if you post it as a new case. But if not, I&amp;#39;ll happily take a look at the issue for you. :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot program custom board although connection is established</title><link>https://devzone.nordicsemi.com/thread/100462?ContentTypeID=1</link><pubDate>Thu, 02 Nov 2017 11:04:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bdcd362f-e899-41b5-acae-e56116161a8f</guid><dc:creator>Vlad</dc:creator><description>&lt;p&gt;Hi, did you find a resolution to this problem? I have the same issue, the output is the same. I tried with JLinkExe and nRF Studio and didn&amp;#39;t managed to erase the board yet. Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot program custom board although connection is established</title><link>https://devzone.nordicsemi.com/thread/100460?ContentTypeID=1</link><pubDate>Mon, 09 Oct 2017 12:47:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5a8121bb-8e33-49d9-81c3-97ad708413fc</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Hi Kunal. You mentioned previously that the board worked with the 2x 12 pF capacitors, is that correct? Could you try using the 12 pF capacitors instead of the 10 pF capacitors? I had a look at the reference layout &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52/dita/nrf52/pdflinks/ref_layout.html?cp=2_5"&gt;here&lt;/a&gt; and they recommend using 12 pF capacitors. I believe that by using different value capacitors, this affects the clock in your nrf52, which then could lead to the errors you mention (see &lt;a href="https://electronics.stackexchange.com/questions/75704/why-use-capacitors-with-crystals"&gt;link&lt;/a&gt;). So that could be the solution to your answer hopefully!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot program custom board although connection is established</title><link>https://devzone.nordicsemi.com/thread/100458?ContentTypeID=1</link><pubDate>Thu, 05 Oct 2017 13:24:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a2edbcdb-e6fb-43cc-8c70-a4097cfa048e</guid><dc:creator>kunal</dc:creator><description>&lt;p&gt;Sorry for late Reply. Actually everything is fine with the Current measuring Pins P22. I wanted to ask you. can you please explain me why is the error in log.log file showing &amp;quot;JLinkARM.dll ReadMemU32 returned error -1&amp;quot;. does that mean anything. Also I have 32 Khz Crystal with 2X 10pf capacitors around it. Is this value of Capacitor right and is it effecting the Programming ports?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot program custom board although connection is established</title><link>https://devzone.nordicsemi.com/thread/100453?ContentTypeID=1</link><pubDate>Fri, 29 Sep 2017 12:37:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e58ef867-8f6c-4c72-8673-6a66e39634dd</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;If you have not cut the solder bridge, you can ignore my previous comment. You need to cut the solder bridge if you want to measure current (e.g. with the power profiling kit). When you are done measuring the current, you can either solder the solder bridge or put a jumper on P22. But again, if you have not cut the solder bridge, ignore my previous comment. All nrf52832 chips are delivered blank, so therefore you will need to program the board before you can use it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot program custom board although connection is established</title><link>https://devzone.nordicsemi.com/thread/100442?ContentTypeID=1</link><pubDate>Fri, 29 Sep 2017 12:33:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1257d395-a4ec-415d-bd4e-617b5cf3f5cd</guid><dc:creator>Matt</dc:creator><description>&lt;p&gt;Can you try with another PCA10040 then?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot program custom board although connection is established</title><link>https://devzone.nordicsemi.com/thread/100452?ContentTypeID=1</link><pubDate>Fri, 29 Sep 2017 12:29:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8726118c-03f9-48a1-8519-d65b47e3013d</guid><dc:creator>Matt</dc:creator><description>&lt;p&gt;I believe Bjorn was asking whether you (kunal) have cut the solder bridge SB9 or not.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot program custom board although connection is established</title><link>https://devzone.nordicsemi.com/thread/100451?ContentTypeID=1</link><pubDate>Fri, 29 Sep 2017 11:47:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7277509d-a18e-40e6-874d-a33a69b8041e</guid><dc:creator>kunal</dc:creator><description>&lt;p&gt;Can you please tell me what is the necessity to cut the solder Bridge and attach Jumper? I am curious why is it necessary to Programm an external custom board before i try it .&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot program custom board although connection is established</title><link>https://devzone.nordicsemi.com/thread/100459?ContentTypeID=1</link><pubDate>Fri, 29 Sep 2017 10:32:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7927e062-c385-422e-8d96-5e621000192d</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Do you have a Power Profiling Kit? I got a tip from a colleague here at Nordic: If you have cut the PCB track shorting solder bridge SB9, have you made sure to attach a jumper cable to the two P22 pins? Also, have you seen this &lt;a href="https://devzone.nordicsemi.com/question/121393/programming-externalcustom-nrf52832-board-using-nrf52-dk/"&gt;case&lt;/a&gt;?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot program custom board although connection is established</title><link>https://devzone.nordicsemi.com/thread/100444?ContentTypeID=1</link><pubDate>Fri, 29 Sep 2017 09:14:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a88d893e-a6be-4d47-b4aa-b9d9bb6c5ad7</guid><dc:creator>kunal</dc:creator><description>&lt;p&gt;yes i have three custome boards all Show same Errors. and i had the board running 2 months ago. I only remember switching the Capacitors around 32 Khz oscillator to 10 pf from 12 pf..But i coulds still program the NRF52 that time. Now suddenly it is not allowing me to program.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot program custom board although connection is established</title><link>https://devzone.nordicsemi.com/thread/100457?ContentTypeID=1</link><pubDate>Fri, 29 Sep 2017 09:11:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1fc0377-8854-470c-a2d1-fa8f053e2811</guid><dc:creator>kunal</dc:creator><description>&lt;p&gt;Hi, Actually i have the latest Version of the nrfjrog and Jlinks. I have attached the screenshot for that here. i cannot locate the log.log file. can u please send me the path where i can find it. thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot program custom board although connection is established</title><link>https://devzone.nordicsemi.com/thread/100461?ContentTypeID=1</link><pubDate>Fri, 29 Sep 2017 08:50:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:85a9d252-12c0-4fd4-87e4-bef095cdc151</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Hey Kunal! I believe AmbystomaLabs is referring to &lt;a href="http://infocenter.nordicsemi.com/pdf/nRF52_DK_User_Guide_v1.2.pdf"&gt;this user guide&lt;/a&gt;. You can find a lot of good information on the Nordic infocenter. What is your current status? I will take a closer look at this case today.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot program custom board although connection is established</title><link>https://devzone.nordicsemi.com/thread/100450?ContentTypeID=1</link><pubDate>Tue, 26 Sep 2017 16:27:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:56652290-4103-4624-ab86-0117aabd5caf</guid><dc:creator>Matt</dc:creator><description>&lt;p&gt;Your wiring diagram above more or less summarizes whatever I know about loading the N52 in a custom board :( Are you sure your custom board powers up fine? Can you ask your h/w buddies to check the custom board for you?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot program custom board although connection is established</title><link>https://devzone.nordicsemi.com/thread/100449?ContentTypeID=1</link><pubDate>Tue, 26 Sep 2017 15:41:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b7cda883-1017-488b-83b8-41a46df30df7</guid><dc:creator>kunal</dc:creator><description>&lt;h2&gt;Hi Matt. Can you please guide me because using P20 i am not able to Flash or erase the custom board. this is Keil result.
JLink info:&lt;/h2&gt;
&lt;p&gt;DLL: V6.16a, compiled Jun  6 2017 12:42:51
Firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Jun  9 2017 14:57:23
Hardware: V1.00
S/N : 682655565&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;JLink Info: Found SW-DP with ID 0x2BA01477&lt;/li&gt;
&lt;li&gt;JLink Info: Found SW-DP with ID 0x2BA01477&lt;/li&gt;
&lt;li&gt;JLink Info: Scanning APs, stopping at first AHB-AP found.&lt;/li&gt;
&lt;li&gt;JLink Info: AP[0] IDR: 0x24770011 (AHB-AP)&lt;/li&gt;
&lt;li&gt;JLink Info: AHB-AP ROM: 0xE00FF000 (Base addr. of first ROM table)&lt;/li&gt;
&lt;li&gt;JLink Info: CPUID reg: 0x410FC241. Implementer code: 0x41 (ARM)&lt;/li&gt;
&lt;li&gt;JLink Info: Found Cortex-M4 r0p1, Little endian.&lt;/li&gt;
&lt;li&gt;JLink Info: FPUnit: 6 code (BP) slots and 2 literal slots&lt;/li&gt;
&lt;li&gt;JLink Info: CoreSight components:&lt;/li&gt;
&lt;li&gt;JLink Info: ROMTbl[0] @ E00FF000&lt;/li&gt;
&lt;li&gt;JLink Info: ROMTbl[0][0]: E000E000, CID: B105E00D, PID: 000BB00C SCS&lt;/li&gt;
&lt;li&gt;JLink Info: ROMTbl[0][1]: E0001000, CID: B105E00D, PID: 003BB002 DWT&lt;/li&gt;
&lt;li&gt;JLink Info: ROMTbl[0][2]: E0002000, CID: B105E00D, PID: 002BB003 FPB&lt;/li&gt;
&lt;li&gt;JLink Info: ROMTbl[0][3]: E0000000, CID: B105E00D, PID: 003BB001 ITM&lt;/li&gt;
&lt;li&gt;JLink Info: ROMTbl[0][4]: E0040000, CID: B105900D, PID: 000BB9A1 TPIU&lt;/li&gt;
&lt;li&gt;JLink Info: ROMTbl[0][5]: E0041000, CID: B105900D, PID: 000BB925 ETM
ROMTableAddr = 0xE00FF000&lt;/li&gt;
&lt;li&gt;JLink Info: Setting AIRCR.SYSRESETREQ
**JLink Warning: DHCSR.S_RESET_ST does not indicate reset occurrence. CPU may have not been reset...&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Target info:&lt;/h2&gt;
&lt;p&gt;Device: nRF52832_xxAA
VTarget = 3.300V
State of Pins:
TCK: 0, TDI: 1, TDO: 1, TMS: 1, TRES: 1, TRST: 1
Hardware-Breakpoints: 6
Software-Breakpoints: 8192
Watchpoints:          4
JTAG speed: 1000 kHz&lt;/p&gt;
&lt;p&gt;Erase Failed!
Error: Flash Download failed  -  &amp;quot;Cortex-M4&amp;quot;
Flash Load finished at 17:39:56&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot program custom board although connection is established</title><link>https://devzone.nordicsemi.com/thread/100448?ContentTypeID=1</link><pubDate>Tue, 26 Sep 2017 15:14:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e16b863-b498-4b81-b506-d7a375953556</guid><dc:creator>Matt</dc:creator><description>&lt;p&gt;I&amp;#39;ve been using P20 to program the other boards (BC832 module and some other cheap breakout boards) fine.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot program custom board although connection is established</title><link>https://devzone.nordicsemi.com/thread/100447?ContentTypeID=1</link><pubDate>Tue, 26 Sep 2017 15:04:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cd460819-df19-4274-9403-411ca9eb3530</guid><dc:creator>kunal</dc:creator><description>&lt;p&gt;can you please attach the link to USer Guide you are looking at ??&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot program custom board although connection is established</title><link>https://devzone.nordicsemi.com/thread/100446?ContentTypeID=1</link><pubDate>Tue, 26 Sep 2017 14:59:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d0ce266-eef0-4119-8cd2-8ce0d8817286</guid><dc:creator>AmbystomaLabs</dc:creator><description>&lt;p&gt;According to the user guide you may be able to short shield detect on P5 to ground to activate the port you are already wired up to. See page 18 of the user guide.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot program custom board although connection is established</title><link>https://devzone.nordicsemi.com/thread/100456?ContentTypeID=1</link><pubDate>Tue, 26 Sep 2017 14:54:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f6fb9657-4245-433f-9bb9-59b13e10f550</guid><dc:creator>AmbystomaLabs</dc:creator><description>&lt;p&gt;That&amp;#39;s not to say that it is impossible to use that port.  It is just that it is designed for Arduino Shield boards.  There is hardware to detect shield boards on the DK.  There may be different software running on the DK when using the shield port.
It discusses the debug ports on page 25 of the DK user guide.
&lt;a href="http://infocenter.nordicsemi.com/pdf/nRF52_DK_User_Guide_v1.2.pdf"&gt;infocenter.nordicsemi.com/.../nRF52_DK_User_Guide_v1.2.pdf&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot program custom board although connection is established</title><link>https://devzone.nordicsemi.com/thread/100455?ContentTypeID=1</link><pubDate>Tue, 26 Sep 2017 14:48:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a6cc097-a5e5-4dc0-a422-d98b5d33f9da</guid><dc:creator>AmbystomaLabs</dc:creator><description>&lt;p&gt;That is the point, custom boards go on P19.  Only Arduino Shield boards go on the port you are using.
You should be using P19.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot program custom board although connection is established</title><link>https://devzone.nordicsemi.com/thread/100454?ContentTypeID=1</link><pubDate>Tue, 26 Sep 2017 14:45:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c070543-2b79-451f-9b4f-6ecd40c082d5</guid><dc:creator>kunal</dc:creator><description>&lt;p&gt;I do not understand what you mean. I am not using Arduino. I am just using a custom board with nrf52832 chip on it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot program custom board although connection is established</title><link>https://devzone.nordicsemi.com/thread/100445?ContentTypeID=1</link><pubDate>Tue, 26 Sep 2017 14:40:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d695b3fa-a276-4af4-9403-e0323bd2a583</guid><dc:creator>AmbystomaLabs</dc:creator><description>&lt;p&gt;P19 (top left in the image) is the debug out port.  You are hooking up to the Arduino Shield port.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot program custom board although connection is established</title><link>https://devzone.nordicsemi.com/thread/100443?ContentTypeID=1</link><pubDate>Tue, 26 Sep 2017 14:35:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb001da8-e354-401a-8510-c8806ee133ab</guid><dc:creator>Matt</dc:creator><description>&lt;p&gt;Is it the same error if you try with another custom board?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>