<?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>Unable to use JLinkExe to flash firmware to device, nrfjprog does work with same file</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/118096/unable-to-use-jlinkexe-to-flash-firmware-to-device-nrfjprog-does-work-with-same-file</link><description>Hi -- 
 We are in the process of setting up to flash a few hundred devices for our internal testing. We can currently flash to our board using nrfjprog either directly from the command line or via Visual Studio Code without any major issues. But if we</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 21 Nov 2025 03:25:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/118096/unable-to-use-jlinkexe-to-flash-firmware-to-device-nrfjprog-does-work-with-same-file" /><item><title>RE: Unable to use JLinkExe to flash firmware to device, nrfjprog does work with same file</title><link>https://devzone.nordicsemi.com/thread/554984?ContentTypeID=1</link><pubDate>Fri, 21 Nov 2025 03:25:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fff9e918-82d0-42f2-93f7-3e292d574894</guid><dc:creator>sakumasss</dc:creator><description>&lt;p&gt;Thanks for your useful sharing!&lt;/p&gt;
&lt;p&gt;&lt;a href="https://ja.leawo.com/knowledge/how-to-copy-rental-dvd-1407.html"&gt;dvd コピー&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to use JLinkExe to flash firmware to device, nrfjprog does work with same file</title><link>https://devzone.nordicsemi.com/thread/551382?ContentTypeID=1</link><pubDate>Tue, 14 Oct 2025 09:30:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6edd55c4-ef78-4e28-940c-9e495b1ea7f8</guid><dc:creator>herrtylee</dc:creator><description>&lt;p&gt;&lt;a href="https://stickmanboost.com"&gt;Stickman Boost&lt;/a&gt;&amp;nbsp;Unblocked refers to a version of the game that bypasses these restrictions, allowing players to enjoy the game on school or office networks.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to use JLinkExe to flash firmware to device, nrfjprog does work with same file</title><link>https://devzone.nordicsemi.com/thread/551188?ContentTypeID=1</link><pubDate>Sat, 11 Oct 2025 14:24:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f43dd0f8-2673-449f-a1db-48c178f5c4d3</guid><dc:creator>Luna Harris</dc:creator><description>&lt;p&gt;The error usually happens because JLinkExe is connecting to the non-secure domain on Cortex-M33 chips, while your hex file targets the secure &lt;a href="https://ulyagames.com"&gt;ulyagames&lt;/a&gt;&amp;nbsp;region. Try connecting with the correct Nordic device name (e.g., &lt;code data-start="208" data-end="226"&gt;nRF5340_xxAA_APP&lt;/code&gt;) or switching to the secure domain in JLinkExe. If that doesn&amp;rsquo;t work, downgrade your J-Link software to a stable version like V7.92i, as newer releases sometimes cause flash write issues on macOS.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to use JLinkExe to flash firmware to device, nrfjprog does work with same file</title><link>https://devzone.nordicsemi.com/thread/549545?ContentTypeID=1</link><pubDate>Tue, 23 Sep 2025 11:35:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d2e2c2b-666f-47f5-b622-bd81ee7f8615</guid><dc:creator>sh4k3jkeee</dc:creator><description>&lt;p&gt;&lt;span&gt;After erasing the device, you may need to reset the target&amp;nbsp;&lt;a class="in-cell-link" href="http://energywisesystems.com" rel="noopener noreferrer" target="_blank"&gt;energywisesystems&lt;/a&gt;&amp;nbsp;or reinitialize the connection before loading the file.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to use JLinkExe to flash firmware to device, nrfjprog does work with same file</title><link>https://devzone.nordicsemi.com/thread/547130?ContentTypeID=1</link><pubDate>Fri, 29 Aug 2025 04:52:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b24fb10-6cb0-43fa-9ae6-c588f06d69a7</guid><dc:creator>playground</dc:creator><description>&lt;p&gt;&lt;!--StartFragment --&gt;&lt;/p&gt;
&lt;p class="pf0"&gt;&lt;span class="cf0"&gt;When playing Melon Playground, imagination rules the world, whether you&amp;rsquo;re creating epic explosions or silly interactions between characters and strange machines.&amp;nbsp; &lt;a href="https://melonplaygroundonline.io"&gt;Melon Playground&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;!--EndFragment --&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to use JLinkExe to flash firmware to device, nrfjprog does work with same file</title><link>https://devzone.nordicsemi.com/thread/544711?ContentTypeID=1</link><pubDate>Wed, 06 Aug 2025 03:18:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c7bf65e9-556a-4839-ae74-3ba80e750676</guid><dc:creator>colormania</dc:creator><description>&lt;p&gt;Seeing consistent 100% load on a single core during find &amp;amp; replace confirms that even basic operations aren&amp;rsquo;t taking advantage of multithreading yet. &lt;span style="color:#ffffff;"&gt;&lt;a style="color:#ffffff;" href="https://colorrush.org"&gt;color rush game&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to use JLinkExe to flash firmware to device, nrfjprog does work with same file</title><link>https://devzone.nordicsemi.com/thread/543424?ContentTypeID=1</link><pubDate>Thu, 24 Jul 2025 06:40:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:454d3cbe-9ae5-4d6b-95e7-fc490e1b4b50</guid><dc:creator>junbon</dc:creator><description>&lt;p&gt;Hi Dennis,&lt;/p&gt;
&lt;p&gt;It sounds like you&amp;rsquo;re encountering a common issue when using JLinkExe. After erasing the device, you may need to reset the target or reinitialize the connection before loading the file. Try adding a command to reset the device after the erase step but before the loadfile command. You can do this by using the &lt;code data-code-tools=""&gt;r&lt;/code&gt; command to reset the device. Here&amp;rsquo;s a quick example:&lt;/p&gt;
&lt;div class="code-enhance--_fiUF hljs language-plaintext"&gt;
&lt;div class="code-enhance-header--NVMaE"&gt;
&lt;div class="code-enhance-header-right--R62yQ"&gt;&lt;span class="code-enhance-copy--XipCY"&gt;&lt;span&gt;Copy&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="code-enhance-content--fGI3Q"&gt;&lt;code class="hljs language-plaintext" data-code-tools=""&gt;JLinkExe -device NRF5340_XXAA_APP -if swd -speed 4000
erase
r
loadfile yourfile.hex
&lt;/code&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;This should help you perform both operations within the same session without securing the device. Let me know if this resolves your issue!&lt;/p&gt;
&lt;p&gt;Best,&lt;br /&gt; [&lt;span data-sheets-root="1"&gt;&lt;a class="in-cell-link" href="https://snowrider3dgame.io/" rel="noopener noreferrer" target="_blank"&gt;Snow Rider&lt;/a&gt;&lt;/span&gt;]&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to use JLinkExe to flash firmware to device, nrfjprog does work with same file</title><link>https://devzone.nordicsemi.com/thread/533082?ContentTypeID=1</link><pubDate>Sat, 26 Apr 2025 04:38:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c2dcdf8e-174e-4eeb-aa4a-61358c968845</guid><dc:creator>tag game</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi Asbj&amp;oslash;rn, thank you for your insights. I&amp;rsquo;ll check the pin reset issue and ensure proper target selection. Best, Dennis.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#ffffff;"&gt;&lt;a style="color:#ffffff;" href="https://taggame.io/"&gt;tag game&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to use JLinkExe to flash firmware to device, nrfjprog does work with same file</title><link>https://devzone.nordicsemi.com/thread/519476?ContentTypeID=1</link><pubDate>Wed, 22 Jan 2025 09:09:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:40453890-5b69-4906-93b2-2b6da9503ae8</guid><dc:creator>fnfweek</dc:creator><description>&lt;p&gt;thank you&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#ffffff;"&gt;&lt;a style="color:#ffffff;" href="https://stickmanhookgame.org/"&gt;&lt;span style="font-weight:400;"&gt;Stickman Hook&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to use JLinkExe to flash firmware to device, nrfjprog does work with same file</title><link>https://devzone.nordicsemi.com/thread/519063?ContentTypeID=1</link><pubDate>Mon, 20 Jan 2025 12:51:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c35a28a-02b3-4801-9e32-145b47a1a31b</guid><dc:creator>Asbj&amp;#248;rn</dc:creator><description>&lt;div style="border:0;color:rgba(0, 0, 0, 1);direction:ltr;font-size:11pt;font-style:normal;font-weight:400;letter-spacing:normal;line-height:inherit;margin:0;padding:0;text-indent:0;text-transform:none;vertical-align:baseline;white-space:normal;"&gt;Hi Dennis,&lt;/div&gt;
&lt;div style="border:0;color:rgba(0, 0, 0, 1);direction:ltr;font-size:11pt;font-style:normal;font-weight:400;letter-spacing:normal;line-height:inherit;margin:0;padding:0;text-indent:0;text-transform:none;vertical-align:baseline;white-space:normal;"&gt;&lt;/div&gt;
&lt;div style="border:0;color:rgba(0, 0, 0, 1);direction:ltr;font-size:11pt;font-style:normal;font-weight:400;letter-spacing:normal;line-height:inherit;margin:0;padding:0;text-indent:0;text-transform:none;vertical-align:baseline;white-space:normal;"&gt;&lt;/div&gt;
&lt;div style="border:0;color:rgba(0, 0, 0, 1);direction:ltr;font-size:11pt;font-style:normal;font-weight:400;letter-spacing:normal;line-height:inherit;margin:0;padding:0;text-indent:0;text-transform:none;vertical-align:baseline;white-space:normal;"&gt;the target selection might have worked for a while, but if I recall correctly, once the specific target is available in j-link it might not support the generic option selection that Coretx-M33 even though it is a Coretx-M33.&lt;/div&gt;
&lt;div style="border:0;color:rgba(0, 0, 0, 1);direction:ltr;font-size:11pt;font-style:normal;font-weight:400;letter-spacing:normal;line-height:inherit;margin:0;padding:0;text-indent:0;text-transform:none;vertical-align:baseline;white-space:normal;"&gt;&lt;/div&gt;
&lt;div style="border:0;color:rgba(0, 0, 0, 1);direction:ltr;font-size:11pt;font-style:normal;font-weight:400;letter-spacing:normal;line-height:inherit;margin:0;padding:0;text-indent:0;text-transform:none;vertical-align:baseline;white-space:normal;"&gt;I&amp;#39;m not entirely sure what and how Segger does their steps, it should work. The description you mention of needing to exit jlink.exe between erase and loadfile indicates that there&amp;#39;s a need for a pinreset of the device that isn&amp;#39;t supplied when the device stays connected after the erase.&amp;nbsp;&lt;/div&gt;
&lt;div style="border:0;color:rgba(0, 0, 0, 1);direction:ltr;font-size:11pt;font-style:normal;font-weight:400;letter-spacing:normal;line-height:inherit;margin:0;padding:0;text-indent:0;text-transform:none;vertical-align:baseline;white-space:normal;"&gt;&lt;/div&gt;
&lt;div style="border:0;color:rgba(0, 0, 0, 1);direction:ltr;font-size:11pt;font-style:normal;font-weight:400;letter-spacing:normal;line-height:inherit;margin:0;padding:0;text-indent:0;text-transform:none;vertical-align:baseline;white-space:normal;"&gt;&lt;/div&gt;
&lt;div style="border:0;color:rgba(0, 0, 0, 1);direction:ltr;font-size:11pt;font-style:normal;font-weight:400;letter-spacing:normal;line-height:inherit;margin:0;padding:0;text-indent:0;text-transform:none;vertical-align:baseline;white-space:normal;"&gt;Best regards&lt;/div&gt;
&lt;div style="border:0;color:rgba(0, 0, 0, 1);direction:ltr;font-size:11pt;font-style:normal;font-weight:400;letter-spacing:normal;line-height:inherit;margin:0;padding:0;text-indent:0;text-transform:none;vertical-align:baseline;white-space:normal;"&gt;Asbjørn&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to use JLinkExe to flash firmware to device, nrfjprog does work with same file</title><link>https://devzone.nordicsemi.com/thread/518912?ContentTypeID=1</link><pubDate>Fri, 17 Jan 2025 19:27:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2114098f-4c25-41bf-8757-2be92ca3d542</guid><dc:creator>munsie</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Asbj&amp;oslash;rn --&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The reason I hadn&amp;#39;t specified the APP CPU was because we previously didn&amp;#39;t need to do so. &amp;nbsp;I just tried with the following command line instead:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;JLinkExe -device NRF5340_XXAA_APP -if swd -speed 4000&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;And was able to successfully erase the device, but when I went to do a loadfile, it failed with this:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;&lt;pre class="ui-code" data-mode="text"&gt;SEGGER J-Link Commander V8.12b (Compiled Jan 15 2025 13:47:46)
DLL version V8.12b, compiled Jan 15 2025 13:47:14

Connecting to J-Link via USB...O.K.
Firmware: J-Link V11 compiled Dec  4 2024 17:53:35
Hardware version: V11.00
J-Link uptime (since boot): 0d 00h 00m 05s
S/N: 51025827
License(s): GDB
USB speed mode: High speed (480 MBit/s)
VTref=1.794V


Type &amp;quot;connect&amp;quot; to establish a target connection, &amp;#39;?&amp;#39; for help
J-Link&amp;gt;connect
Device &amp;quot;NRF5340_XXAA_APP&amp;quot; selected.


Connecting to target via SWD
ConfigTargetSettings() start
ConfigTargetSettings() end - Took 7us
InitTarget() start
Device will be unsecured now.
InitTarget() end - Took 2.36s
Found SW-DP with ID 0x6BA02477
DPIDR: 0x6BA02477
CoreSight SoC-400 or earlier
AP map detection skipped. Manually configured AP map found.
AP[0]: AHB-AP (IDR: Not set, ADDR: 0x00000000)
AP[1]: AHB-AP (IDR: Not set, ADDR: 0x00000000)
AP[2]: MEM-AP (IDR: Not set, ADDR: 0x00000000)
AP[3]: MEM-AP (IDR: Not set, ADDR: 0x00000000)
AP[0]: Core found
AP[0]: AHB-AP ROM base: 0xE00FE000
CPUID register: 0x410FD214. Implementer code: 0x41 (ARM)
Feature set: Mainline
Cache: No cache
Found Cortex-M33 r0p4, Little endian.
FPUnit: 8 code (BP) slots and 0 literal slots
Security extension: implemented
Secure debug: enabled
CoreSight components:
ROMTbl[0] @ E00FE000
[0][0]: E00FF000 CID B105100D PID 000BB4C9 ROM Table
ROMTbl[1] @ E00FF000
[1][0]: E000E000 CID B105900D PID 000BBD21 DEVARCH 47702A04 DEVTYPE 00 Cortex-M33
[1][1]: E0001000 CID B105900D PID 000BBD21 DEVARCH 47701A02 DEVTYPE 00 DWT
[1][2]: E0002000 CID B105900D PID 000BBD21 DEVARCH 47701A03 DEVTYPE 00 FPB
[1][3]: E0000000 CID B105900D PID 000BBD21 DEVARCH 47701A01 DEVTYPE 43 ITM
[1][5]: E0041000 CID B105900D PID 002BBD21 DEVARCH 47724A13 DEVTYPE 13 ETM
[1][6]: E0042000 CID B105900D PID 000BBD21 DEVARCH 47701A14 DEVTYPE 14 CSS600-CTI
[0][1]: E0040000 CID B105900D PID 000BBD21 DEVARCH 00000000 DEVTYPE 11 TPIU
Memory zones:
  Zone: &amp;quot;Default&amp;quot; Description: Default access mode
Cortex-M33 identified.
J-Link&amp;gt;erase
No address range specified, &amp;#39;Erase Chip&amp;#39; will be executed
&amp;#39;erase&amp;#39;: Performing implicit reset &amp;amp; halt of MCU.
Reset type: NORMAL (https://wiki.segger.com/J-Link_Reset_Strategies)
Reset: ARMv8M core with Security Extension enabled detected. Switch to secure domain.
Reset: Halt core after reset via DEMCR.VC_CORERESET.
Reset: Reset device via AIRCR.SYSRESETREQ.
Erasing device...
J-Link: Flash download: Total time needed: 0.252s (Prepare: 0.023s, Compare: 0.000s, Erase: 0.216s, Program: 0.000s, Verify: 0.000s, Restore: 0.012s)
J-Link: Flash download: Total time needed: 0.248s (Prepare: 0.023s, Compare: 0.000s, Erase: 0.212s, Program: 0.000s, Verify: 0.000s, Restore: 0.012s)
J-Link: Flash download: Total time needed: 0.294s (Prepare: 0.048s, Compare: 0.000s, Erase: 0.208s, Program: 0.000s, Verify: 0.000s, Restore: 0.036s)
Erasing done.
J-Link&amp;gt;loadfile merged.hex
&amp;#39;loadfile&amp;#39;: Performing implicit reset &amp;amp; halt of MCU.
Reset type: NORMAL (https://wiki.segger.com/J-Link_Reset_Strategies)
Reset: ARMv8M core with Security Extension enabled detected. Switch to secure domain.
Reset: Halt core after reset via DEMCR.VC_CORERESET.
Reset: Reset device via AIRCR.SYSRESETREQ.
Reset: SYSRESETREQ has confused core.
Found SW-DP with ID 0x6BA02477
DPIDR: 0x6BA02477
CoreSight SoC-400 or earlier
AP map detection skipped. Manually configured AP map found.
AP[0]: AHB-AP (IDR: Not set, ADDR: 0x00000000)
AP[1]: AHB-AP (IDR: Not set, ADDR: 0x00000000)
AP[2]: MEM-AP (IDR: Not set, ADDR: 0x00000000)
AP[3]: MEM-AP (IDR: Not set, ADDR: 0x00000000)
AP[0]: Skipped. Could not read CPUID register
Attach to CPU failed. Executing connect under reset.
Failed to power up DAP
Reset: Using fallback: VECTRESET.
Reset: Halt core after reset via DEMCR.VC_CORERESET.
Reset: Reset device via AIRCR.VECTRESET.
Reset: VECTRESET has confused core.
Reset: Using fallback: Reset pin.
Reset: Halt core after reset via DEMCR.VC_CORERESET.
Reset: Reset device via reset pin
Reset: VC_CORERESET did not halt CPU. (Debug logic also reset by reset pin?).
Reset: Reconnecting and manually halting CPU.
Found SW-DP with ID 0x6BA02477
DPIDR: 0x6BA02477
CoreSight SoC-400 or earlier
AP map detection skipped. Manually configured AP map found.
AP[0]: AHB-AP (IDR: Not set, ADDR: 0x00000000)
AP[1]: AHB-AP (IDR: Not set, ADDR: 0x00000000)
AP[2]: MEM-AP (IDR: Not set, ADDR: 0x00000000)
AP[3]: MEM-AP (IDR: Not set, ADDR: 0x00000000)
AP[0]: Skipped. Could not read CPUID register
Attach to CPU failed. Executing connect under reset.
Failed to power up DAP
CPU could not be halted
Reset: Core did not halt after reset, trying to disable WDT.
Reset: Halt core after reset via DEMCR.VC_CORERESET.
Reset: Reset device via reset pin
Reset: VC_CORERESET did not halt CPU. (Debug logic also reset by reset pin?).
Reset: Reconnecting and manually halting CPU.
Found SW-DP with ID 0x6BA02477
DPIDR: 0x6BA02477
CoreSight SoC-400 or earlier
AP map detection skipped. Manually configured AP map found.
AP[0]: AHB-AP (IDR: Not set, ADDR: 0x00000000)
AP[1]: AHB-AP (IDR: Not set, ADDR: 0x00000000)
AP[2]: MEM-AP (IDR: Not set, ADDR: 0x00000000)
AP[3]: MEM-AP (IDR: Not set, ADDR: 0x00000000)
AP[0]: Skipped. Could not read CPUID register
Attach to CPU failed. Executing connect under reset.
Failed to power up DAP
CPU could not be halted
Reset: Failed. Toggling reset pin and trying reset strategy again.
Failed to attach to CPU. Trying connect under reset.
Found SW-DP with ID 0x6BA02477
SWD speed too high. Reduced from 4000 kHz to 2700 kHz for stability
DPIDR: 0x6BA02477
CoreSight SoC-400 or earlier
AP map detection skipped. Manually configured AP map found.
AP[0]: AHB-AP (IDR: Not set, ADDR: 0x00000000)
AP[1]: AHB-AP (IDR: Not set, ADDR: 0x00000000)
AP[2]: MEM-AP (IDR: Not set, ADDR: 0x00000000)
AP[3]: MEM-AP (IDR: Not set, ADDR: 0x00000000)
AP[0]: Skipped. Could not read CPUID register
Attach to CPU failed. Executing connect under reset.
Failed to power up DAP
Reset: Halt core after reset via DEMCR.VC_CORERESET.
Reset: Reset device via AIRCR.SYSRESETREQ.
Reset: SYSRESETREQ has confused core.
Found SW-DP with ID 0x6BA02477
DPIDR: 0x6BA02477
CoreSight SoC-400 or earlier
AP map detection skipped. Manually configured AP map found.
AP[0]: AHB-AP (IDR: Not set, ADDR: 0x00000000)
AP[1]: AHB-AP (IDR: Not set, ADDR: 0x00000000)
AP[2]: MEM-AP (IDR: Not set, ADDR: 0x00000000)
AP[3]: MEM-AP (IDR: Not set, ADDR: 0x00000000)
AP[0]: Skipped. Could not read CPUID register
Attach to CPU failed. Executing connect under reset.
Failed to power up DAP
Reset: Using fallback: VECTRESET.
Reset: Halt core after reset via DEMCR.VC_CORERESET.
Reset: Reset device via AIRCR.VECTRESET.
Reset: VECTRESET has confused core.
Reset: Using fallback: Reset pin.
Reset: Halt core after reset via DEMCR.VC_CORERESET.
Reset: Reset device via reset pin
Reset: VC_CORERESET did not halt CPU. (Debug logic also reset by reset pin?).
Reset: Reconnecting and manually halting CPU.
Found SW-DP with ID 0x6BA02477
DPIDR: 0x6BA02477
CoreSight SoC-400 or earlier
AP map detection skipped. Manually configured AP map found.
AP[0]: AHB-AP (IDR: Not set, ADDR: 0x00000000)
AP[1]: AHB-AP (IDR: Not set, ADDR: 0x00000000)
AP[2]: MEM-AP (IDR: Not set, ADDR: 0x00000000)
AP[3]: MEM-AP (IDR: Not set, ADDR: 0x00000000)
AP[0]: Skipped. Could not read CPUID register
Attach to CPU failed. Executing connect under reset.
Failed to power up DAP
CPU could not be halted
Reset: Core did not halt after reset, trying to disable WDT.
Reset: Halt core after reset via DEMCR.VC_CORERESET.
Reset: Reset device via reset pin
Reset: VC_CORERESET did not halt CPU. (Debug logic also reset by reset pin?).
Reset: Reconnecting and manually halting CPU.
Found SW-DP with ID 0x6BA02477
DPIDR: 0x6BA02477
CoreSight SoC-400 or earlier
AP map detection skipped. Manually configured AP map found.
AP[0]: AHB-AP (IDR: Not set, ADDR: 0x00000000)
AP[1]: AHB-AP (IDR: Not set, ADDR: 0x00000000)
AP[2]: MEM-AP (IDR: Not set, ADDR: 0x00000000)
AP[3]: MEM-AP (IDR: Not set, ADDR: 0x00000000)
AP[0]: Skipped. Could not read CPUID register
Attach to CPU failed. Executing connect under reset.
Failed to power up DAP
CPU could not be halted
CPU could not be halted

****** Error: Failed to halt CPU.
CPU could not be halted
Downloading file [merged.hex]...
CPU could not be halted

****** Error: Failed to preserve target RAM @ 0x20000000-0x2007FFFF.
Failed to prepare for programming.
Cannot read register 16 (XPSR) while CPU is running
Cannot read register 20 (CFBP) while CPU is running
Cannot read register 0 (R0) while CPU is running
Cannot read register 1 (R1) while CPU is running
Cannot read register 2 (R2) while CPU is running
Cannot read register 3 (R3) while CPU is running
Cannot read register 4 (R4) while CPU is running
Cannot read register 5 (R5) while CPU is running
Cannot read register 6 (R6) while CPU is running
Cannot read register 7 (R7) while CPU is running
Cannot read register 8 (R8) while CPU is running
Cannot read register 9 (R9) while CPU is running
Cannot read register 10 (R10) while CPU is running
Cannot read register 11 (R11) while CPU is running
Cannot read register 12 (R12) while CPU is running
Cannot read register 14 (R14) while CPU is running
Cannot read register 15 (R15) while CPU is running
Cannot read register 17 (MSP) while CPU is running
Cannot read register 18 (PSP) whi
Unspecified error -1
J-Link&amp;gt;&lt;/pre&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;The device will be in the secured state as well after failing, requiring me to unsecure the device before attempting to flash it again.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;If I exit out of JLinkExe between the erase and loadfile step, I am able to successfully flash the device successfully.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;Is there something else I need to do between the erase and loadfile to allow it to happen all in one JLinkExe session?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;Thanks!&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;dennis&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to use JLinkExe to flash firmware to device, nrfjprog does work with same file</title><link>https://devzone.nordicsemi.com/thread/518875?ContentTypeID=1</link><pubDate>Fri, 17 Jan 2025 14:19:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c20abfe-2cfa-442e-a7aa-5611ee7e974f</guid><dc:creator>Asbj&amp;#248;rn</dc:creator><description>&lt;div style="border:0;color:rgba(0, 0, 0, 1);direction:ltr;font-size:11pt;font-style:normal;font-weight:400;letter-spacing:normal;line-height:inherit;margin:0;padding:0;text-indent:0;text-transform:none;vertical-align:baseline;white-space:normal;"&gt;Hi Dennis,&lt;/div&gt;
&lt;div style="border:0;color:rgba(0, 0, 0, 1);direction:ltr;font-size:11pt;font-style:normal;font-weight:400;letter-spacing:normal;line-height:inherit;margin:0;padding:0;text-indent:0;text-transform:none;vertical-align:baseline;white-space:normal;"&gt;&lt;/div&gt;
&lt;div style="border:0;color:rgba(0, 0, 0, 1);direction:ltr;font-size:11pt;font-style:normal;font-weight:400;letter-spacing:normal;line-height:inherit;margin:0;padding:0;text-indent:0;text-transform:none;vertical-align:baseline;white-space:normal;"&gt;There&amp;#39;s presumably two difference merged files, one for appmcu and one for cpunet? In j-link you have to select the correct target to use the right memory map. So there&amp;#39;s a target for nRF5340appmcu and one for nRF5340cpunet available where you chose Cortex-M33. With the right target selected you should be able to program using j-link as well.&lt;/div&gt;
&lt;div style="border:0;color:rgba(0, 0, 0, 1);direction:ltr;font-size:11pt;font-style:normal;font-weight:400;letter-spacing:normal;line-height:inherit;margin:0;padding:0;text-indent:0;text-transform:none;vertical-align:baseline;white-space:normal;"&gt;&lt;/div&gt;
&lt;div style="border:0;color:rgba(0, 0, 0, 1);direction:ltr;font-size:11pt;font-style:normal;font-weight:400;letter-spacing:normal;line-height:inherit;margin:0;padding:0;text-indent:0;text-transform:none;vertical-align:baseline;white-space:normal;"&gt;&lt;/div&gt;
&lt;div style="border:0;color:rgba(0, 0, 0, 1);direction:ltr;font-size:11pt;font-style:normal;font-weight:400;letter-spacing:normal;line-height:inherit;margin:0;padding:0;text-indent:0;text-transform:none;vertical-align:baseline;white-space:normal;"&gt;Best regards&lt;/div&gt;
&lt;div style="border:0;color:rgba(0, 0, 0, 1);direction:ltr;font-size:11pt;font-style:normal;font-weight:400;letter-spacing:normal;line-height:inherit;margin:0;padding:0;text-indent:0;text-transform:none;vertical-align:baseline;white-space:normal;"&gt;Asbjørn&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>