Using nRF54L15-DK from the command line?

I first tried nrfjprog which didn't work, but I know that's being retired so that wasn't entirely surprising. After that I moved on to testing 'nrfutil', specifically the 'device' sub-module, but was also unable to get it working correctly.

Currently I have installed:
- nrfutil v7.5.0
- nrfutil-device v2.3.6
- nRF Connect for Desktop v5.1.0
- Programmer App v4.4.2
- JLink v7.94i

When I run the command 'nrfutil device recover' or 'nrfutil device erase' to test, I encounter the following error:
'''
X Failed to recover XXXXXXXXXX, [Probe] Device error: Unknown device: Unknown part number 0x0000001c and revision 0x00000001
Error: One or more recover tasks failed:
* XXXXXXXXXX: [Probe] Device error: Unknown device: Unknown part number 0x0000001c and revision 0x00000001 , code: Generic
'''
Where 'XXXXXXXXXX' does accurately match the serial number on my devkit.


Using the programming GUI is not an option for my final use case, but in the spirit of troubleshooting I also tried using the Programmer App (part of nRF Connect for Desktop). It appears it was able to successfully 'erase' (no error and the default blink stopped), but attempting a 'Read' operation from the Programmer (v4.4.2), I encounter an error:
'''
Error: Failed with exit code 1. One or more batch tasks failed: - [Probe] The fw-read operation is not supported, code: Generic. Message: Batch task fw-read failed, [Probe] The fw-read operation is not supported.
'''

This basic sanity testing was all just trying to perform basic operations on the DevKit itself from the command line, but eventually I will need to use the DEBUG OUT port to target an external custom PCB. My next question will be whether the nRF54L15-DK is capable of functioning as a debugger for an older nRF52833 based design? I hope to move to the new nRF54L15 ASAP, but even then there will be a while where we have both devices in circulation and would like to avoid needing to swap DevKits all the time.

Parents
  • Hi, 

    Currently I have installed:
    - nrfutil v7.5.0
    - nrfutil-device v2.3.6

    Your nrfutil device version is a bit old, update with this command: nrfutil upgrade device. See Updating nRF Util and its commands.

    Regards,
    Amanda H.

  • Hi, I have the same issue. Downloaded latest nrfjporg and nrfutil. Also manually downloaded latest SEGGER JLINK 8.1

    Brand new unused nRF54L15 DK

    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

    Latest JLink:

    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
    

    EDIT: Apparently downloading nrfutil directly from Nordic Website does not give you the latest version.

    After running  nrfutil upgrade it fixed my problem.

Reply
  • Hi, I have the same issue. Downloaded latest nrfjporg and nrfutil. Also manually downloaded latest SEGGER JLINK 8.1

    Brand new unused nRF54L15 DK

    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

    Latest JLink:

    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
    

    EDIT: Apparently downloading nrfutil directly from Nordic Website does not give you the latest version.

    After running  nrfutil upgrade it fixed my problem.

Children
No Data
Related