<?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>nrfjprog program fail in JlinkARM.dll</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/17894/nrfjprog-program-fail-in-jlinkarm-dll</link><description>Hi I&amp;#39;m using the Jlink to program nRF52832_XXAA, by using nRF command V9.0.0 nrfjprog
I success in erase , but I can&amp;#39;t program correctly,I tried Jlink version 5.12g and 6.10i in JlinkARM.dll version.
Both can not work. 
 When I&amp;#39;m using the nRFgo Studio</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 16 Mar 2017 03:00:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/17894/nrfjprog-program-fail-in-jlinkarm-dll" /><item><title>RE: nrfjprog program fail in JlinkARM.dll</title><link>https://devzone.nordicsemi.com/thread/68984?ContentTypeID=1</link><pubDate>Thu, 16 Mar 2017 03:00:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e6df6a0c-70d0-4e5b-b51d-5d205d4410f6</guid><dc:creator>Chris</dc:creator><description>&lt;p&gt;Right, sheesh, this was hard to track down.&lt;/p&gt;
&lt;p&gt;GPIO P0.21 (/RESET!) was going via an LED to VCC.&lt;/p&gt;
&lt;p&gt;In the makefiles (like most peoples) this is defined CONFIG_GPIO_AS_PINRESET
for C and ASM for Bootloader &lt;em&gt;AND&lt;/em&gt; Application&lt;/p&gt;
&lt;p&gt;This was causing it to get stuck in a state that I couldn&amp;#39;t then access it as I configured that pin as an output to drive LED.&lt;/p&gt;
&lt;p&gt;Disconnected and left floating and no problem getting in with the debugger.&lt;/p&gt;
&lt;p&gt;Making the change to makefiles that should resolve.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog program fail in JlinkARM.dll</title><link>https://devzone.nordicsemi.com/thread/68983?ContentTypeID=1</link><pubDate>Wed, 15 Mar 2017 22:42:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e9d730f7-75ad-4f1b-8948-c9c5be4ed4c4</guid><dc:creator>Chris</dc:creator><description>&lt;p&gt;Same thing is happening to me but only on our new boards with use the NRF52 in the wafer scale package (super small and amazing tho!)&lt;/p&gt;
&lt;p&gt;I flashed one board, was happy that new board was working, then tried to reflash it with new code (and pin layouts) and it wouldn&amp;#39;t connect.&lt;/p&gt;
&lt;p&gt;Swapped to another fresh board, flashed it, happy that it worked (Led lit up) and then went to reflash it and again, couldn&amp;#39;t connect.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m going to run out of boards at this rate!&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;JLinkExe -if swd -device nrf52
SEGGER J-Link Commander V6.12j (Compiled Feb 15 2017 18:03:21)
DLL version V6.12j, compiled Feb 15 2017 18:03:08

Connecting to J-Link via USB...O.K.
Firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Nov 14 2016 16:58:29
Hardware version: V1.00
S/N: 682322937
VTref = 3.300V


Type &amp;quot;connect&amp;quot; to establish a target connection, &amp;#39;?&amp;#39; for help
J-Link&amp;gt;connect
Specify target interface speed [kHz]. &amp;lt;Default&amp;gt;: 4000 kHz
Speed&amp;gt;
Device &amp;quot;NRF52&amp;quot; selected.


Found SWD-DP with ID 0x2BA01477
Found SWD-DP with ID 0x2BA01477
AP-IDR: 0x24770011, Type: AHB-AP
AHB-AP ROM: 0xE00FF000 (Base addr. of first ROM table)

****** Error: DAP error while reading AIRCR / CPUID register
Communication timed out: Requested 20 bytes, received 0 bytes !
Could not read hardware status!
Cannot connect to target.
J-Link&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Bit annoying any stopping us at the moment. Note that I do create a combined bootloader/SD/app and prefix some special settings for registers as a hex file. But this never caused a problem on the standard package boards.&lt;/p&gt;
&lt;p&gt;I get the feeling I&amp;#39;m turning on some protection mode....&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog program fail in JlinkARM.dll</title><link>https://devzone.nordicsemi.com/thread/68986?ContentTypeID=1</link><pubDate>Fri, 02 Dec 2016 11:02:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab1b6914-1576-4c63-905a-151c00bcca69</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Great! Thanks for answering.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog program fail in JlinkARM.dll</title><link>https://devzone.nordicsemi.com/thread/68985?ContentTypeID=1</link><pubDate>Fri, 02 Dec 2016 10:35:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b4db4be-245d-4dc6-b2c8-6c8b24f88bb1</guid><dc:creator>gillwei7</dc:creator><description>&lt;p&gt;@Petter Thanks for your reply, I have found the root cause, the fail issue happen because  I erase and program immediately,  so when I change to flow: Erase -&amp;gt; Reset -&amp;gt; Program, the issue not happens any more&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog program fail in JlinkARM.dll</title><link>https://devzone.nordicsemi.com/thread/68981?ContentTypeID=1</link><pubDate>Wed, 23 Nov 2016 11:37:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bd40977b-2b5c-43f2-9068-82081bd6ae59</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Have you used the programmer to program other nRF52s? So you have made the board yourself? Have you tested the programmer on more than one board? Could you try to flash something else? Like &lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/s132_5F00_nrf52_5F00_3.0.0_5F00_softdevice.hex"&gt;this&lt;/a&gt; SoftDevice, do an erase first.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog program fail in JlinkARM.dll</title><link>https://devzone.nordicsemi.com/thread/68982?ContentTypeID=1</link><pubDate>Wed, 23 Nov 2016 01:20:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:68c5d051-fb34-4652-9334-ac269725151c</guid><dc:creator>gillwei7</dc:creator><description>&lt;p&gt;OK I&amp;#39;m using Jlink Plus programmer on nRF52832 custom board, I try Jlink.exe and sometimes with the error&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;J-Link: Flash download: Restarting flash programming due to program error (possibly skipped erasure of half-way erased sector).
J-Link: Flash download: Skip optimizations disabled for second try.
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Or the below error
****** Error: Verification failed @ address 0x00000000
Error while programming flash: Verify failed.
But not happen every time, anyone with idea?
Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog program fail in JlinkARM.dll</title><link>https://devzone.nordicsemi.com/thread/68980?ContentTypeID=1</link><pubDate>Tue, 22 Nov 2016 10:12:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f6012c6c-02e3-48b1-a3de-eba34a62065c</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Could you elaborate a bit more on your setup? Are you using the OB Segger programmer on a nRF52 DK? Are you programming a nRF52 DK? If not what are you programming? A custom board? Module?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>