<?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>Using nRF54L15-DK from the command line?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/117180/using-nrf54l15-dk-from-the-command-line</link><description>I first tried nrfjprog which didn&amp;#39;t work, but I know that&amp;#39;s being retired so that wasn&amp;#39;t entirely surprising. After that I moved on to testing &amp;#39;nrfutil&amp;#39;, specifically the &amp;#39;device&amp;#39; sub-module, but was also unable to get it working correctly. 
 Currently</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 16 Dec 2024 09:35:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/117180/using-nrf54l15-dk-from-the-command-line" /><item><title>RE: Using nRF54L15-DK from the command line?</title><link>https://devzone.nordicsemi.com/thread/515058?ContentTypeID=1</link><pubDate>Mon, 16 Dec 2024 09:35:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e74a656-ddd4-4a3a-a12f-04bf6ed5c22c</guid><dc:creator>jakkra</dc:creator><description>&lt;p&gt;Hi, I have the same issue. Downloaded latest nrfjporg and nrfutil. Also manually downloaded latest SEGGER JLINK 8.1&lt;/p&gt;
&lt;p&gt;Brand new unused nRF54L15 DK&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;jkra@SE-MLM-DT-JKRA MINGW64 ~
$ JLink.exe --version
SEGGER J-Link Commander V7.94e (Compiled Jan 15 2024 15:20:36)
DLL version V7.94e, compiled Jan 15 2024 15:18:46

Unknown command line option --version.

jkra@SE-MLM-DT-JKRA MINGW64 ~
$ nrfjprog --version
nrfjprog version: 10.24.2 external
JLinkARM.dll version: 7.94e

jkra@SE-MLM-DT-JKRA MINGW64 ~
$ nrfutil --version
nrfutil 7.13.0 (8289424 2024-07-01)
commit-hash: 82894242d19ff24a1541712312b3ea3af0ca8f85
commit-date: 2024-07-01
host: x86_64-pc-windows-msvc
build-timestamp: 2024-07-01T07:37:50.864803700Z
classification: nrf-external


jkra@SE-MLM-DT-JKRA MINGW64 ~
$ nrfutil device --version
nrfutil-device 2.3.6 (20652ac 2024-05-30)
commit-hash: 20652ac7e517947958af060dcb956b9de5fe5456
commit-date: 2024-05-30
host: x86_64-pc-windows-msvc
build-timestamp: 2024-05-30T11:22:18.696383800Z
classification: nrf-external


jkra@SE-MLM-DT-JKRA MINGW64 ~
$ nrfutil device program --firmware /c/Users/jkra/Downloads/FW_nRF54L15DK.hex --options chip_erase_mode=ERASE_ALL
[00:00:00] ------ 0% [1057716191] Failed, [Probe] Device error: Unknown devic
Error: One or more program tasks failed:
* 1057716191: [Probe] Device error: Unknown device: Unknown part number 0x0000001c and revision 0x00000001 , code: Generic&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Latest JLink:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;jkra@SE-MLM-DT-JKRA MINGW64 ~
$ JLink.exe --version
SEGGER J-Link Commander V8.10l (Compiled Dec 11 2024 16:03:18)
DLL version V8.10l, compiled Dec 11 2024 16:02:28

Unknown command line option --version.

jkra@SE-MLM-DT-JKRA MINGW64 ~
$ nrfutil --version
nrfutil 7.13.0 (8289424 2024-07-01)
commit-hash: 82894242d19ff24a1541712312b3ea3af0ca8f85
commit-date: 2024-07-01
host: x86_64-pc-windows-msvc
build-timestamp: 2024-07-01T07:37:50.864803700Z
classification: nrf-external


jkra@SE-MLM-DT-JKRA MINGW64 ~
$ nrfutil device --version
nrfutil-device 2.3.6 (20652ac 2024-05-30)
commit-hash: 20652ac7e517947958af060dcb956b9de5fe5456
commit-date: 2024-05-30
host: x86_64-pc-windows-msvc
build-timestamp: 2024-05-30T11:22:18.696383800Z
classification: nrf-external


jkra@SE-MLM-DT-JKRA MINGW64 ~
$ nrfutil device program --firmware /c/Users/jkra/Downloads/FW_nRF54L15DK.hex --options chip_erase_mode=ERASE_ALL
[00:00:00] ------ 0% [1057716191] Failed, [Probe] Device error: Unknown devic
Error: One or more program tasks failed:
* 1057716191: [Probe] Device error: Unknown device: Unknown part number 0x0000001c and revision 0x00000001 , code: Generic
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;EDIT: Apparently downloading nrfutil directly from Nordic Website does not give you the latest version.&lt;/p&gt;
&lt;p&gt;After running&amp;nbsp;&amp;nbsp;nrfutil upgrade it fixed my problem.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using nRF54L15-DK from the command line?</title><link>https://devzone.nordicsemi.com/thread/514377?ContentTypeID=1</link><pubDate>Tue, 10 Dec 2024 20:44:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eaafb5c9-7aa2-4f8a-9fb7-6eee218c3292</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
[quote user=""]Currently I have installed:&lt;br /&gt; - nrfutil v7.5.0&lt;br /&gt; - nrfutil-device v2.3.6[/quote]
&lt;p&gt;&lt;span&gt;Your nrfutil device version is a bit old, update with this command: nrfutil upgrade device. See&amp;nbsp;&lt;/span&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.9.0-rc1/page/nrf/releases_and_maturity/migration/nRF54H20_migration_2.7/migration_guide_2.6.99-cs2_to_2_7_environment.html"&gt;Updating nRF Util and its commands&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using nRF54L15-DK from the command line?</title><link>https://devzone.nordicsemi.com/thread/514370?ContentTypeID=1</link><pubDate>Tue, 10 Dec 2024 19:16:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4002b71f-13b8-473a-8683-eead13669a07</guid><dc:creator>hmolesworth</dc:creator><description>&lt;p&gt;I used nrfjprog version 10.24.2; I think that is required for the nRF54 which can be downloaded from Segger as the latest release.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;nrfjprog version: 10.24.2 external
JLinkARM.dll version: 7.94e&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Also don&amp;#39;t miss the BOOTCOMP step after the recover&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;nrfjprog --memwr 0x00FFD080 --val 0x00000003

// Set BOOTCONF (UICR offset 0x80) = 0x00000003
// nrfjprog --memrd 0x00FFD000
// nrfjprog --memrd 0x00FFD080
// nrfjprog --memrd 0xE000E000
// nrfjprog --memrd 0xE000ED00                     /* 410FD214 __CM33_REV=r0p4 SCB Offset: 0x000 CPUID Base Register */
// nrfjprog --memwr 0x00FFD080 --val 0x00000003    /* Set BOOTCONF (UICR offset 0x80) = 0x00000003 */
// Memory mapping of Core Hardware
//  SCS_BASE            (0xE000E000UL)                System Control Space Base Address
//  ITM_BASE            (0xE0000000UL)                ITM Base Address
//  DWT_BASE            (0xE0001000UL)                DWT Base Address
//  TPI_BASE            (0xE0040000UL)                TPI Base Address
//  CoreDebug_BASE      (0xE000EDF0UL)                Core Debug Base Address
//  SysTick_BASE        (SCS_BASE +  0x0010UL)        SysTick Base Address
//  NVIC_BASE           (SCS_BASE +  0x0100UL)        NVIC Base Address
//  SCB_BASE            (SCS_BASE +  0x0D00UL)        System Control Block Base Address
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using nRF54L15-DK from the command line?</title><link>https://devzone.nordicsemi.com/thread/514361?ContentTypeID=1</link><pubDate>Tue, 10 Dec 2024 18:52:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:970db59d-69fc-4d57-93bc-66cefc34ff80</guid><dc:creator>Jeremy</dc:creator><description>&lt;p&gt;With nrfjprog (running &amp;#39;nrfjprog --recover&amp;#39; as the most basic test), I get a different error:&lt;br /&gt;```&lt;br /&gt;&lt;span&gt;ERROR: nrfjprog could not identify the target device. This may be due to an &amp;nbsp;&lt;br /&gt;ERROR: invalid family argument, a problem with your device, or nrfjprog may &lt;br /&gt;ERROR: not yet support your device. &lt;br /&gt;ERROR: Please check the family argument passed, or upgrade nrfjprog to a more &lt;br /&gt;ERROR: recent version. &lt;br /&gt;NOTE: For additional output, try running again with logging enabled (--log). &lt;br /&gt;NOTE: Any generated log error messages will be displayed.&lt;br /&gt; ```&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Adding --log (&amp;#39;nrfjprog --recover --log&amp;#39;) I get a bit more info:&lt;br /&gt;```&lt;br /&gt;ERROR: [ &amp;nbsp;nRFXX] - Family identification failed. &lt;br /&gt;ERROR: nrfjprog could not identify the target device. This may be due to an &amp;nbsp;&lt;br /&gt;ERROR: invalid family argument, a problem with your device, or nrfjprog may &lt;br /&gt;ERROR: not yet support your device. &lt;br /&gt;ERROR: Please check the family argument passed, or upgrade nrfjprog to a more &lt;br /&gt;ERROR: recent version.&lt;br /&gt;```&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I&amp;#39;m running nrfjprog version 10.15.3 external, though this may be out of date. When I looked to see about updating it there are messages about it retiring so I focused on trying to get nrfutil updated and working.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Should I be trying to get nrfjprog updated and working, or is nrfutil the future and what I should focus on?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using nRF54L15-DK from the command line?</title><link>https://devzone.nordicsemi.com/thread/514347?ContentTypeID=1</link><pubDate>Tue, 10 Dec 2024 17:29:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2120dcc9-a4bc-42eb-a646-99d9e2b49a44</guid><dc:creator>hmolesworth</dc:creator><description>&lt;p&gt;Maybe try this 3-step sequence from the command line:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;// nrf54L15 UICR Arm Cortex-M33
// ============================
// To program a hex file:
// In \Projects\Nordic\nRF5_SDK_17.1.0\examples\peripheral\blinky\pca10156\blank\iar\_build
nrfjprog --recover
nrfjprog --memwr 0x00FFD080 --val 0x00000003
nrfjprog --program blinky_pca10156.hex --chiperase --verify -r --log
// Example:
//    D:\Projects\Nordic\nRF5_SDK_17.1.0\examples\peripheral\blinky\pca10156\blank\iar\_build&amp;gt;nrfjprog --recover
//    Recovering device. This operation might take 30s.
//    Erasing user code and UICR flash areas.
//    D:\Projects\Nordic\nRF5_SDK_17.1.0\examples\peripheral\blinky\pca10156\blank\iar\_build&amp;gt;nrfjprog --memwr 0x00FFD080 --val 0x00000003
//    Parsing parameters.
//    Writing.
//    D:\Projects\Nordic\nRF5_SDK_17.1.0\examples\peripheral\blinky\pca10156\blank\iar\_build&amp;gt;nrfjprog --program blinky_pca10156.hex --chiperase --verify -r --log
//    [ #################### ]   0.263s | Erase file - Done erasing
//    [ #################### ]   0.197s | Program file - Done programming
//    [ #################### ]   0.072s | Verify file - Done verifying
//    Applying system reset.
//    Run.
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>