Initial commit: MT firmware project

- BLE peripheral applications
- dr_piezo and bladder_patch projects

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Charles Kwon
2026-01-25 17:26:39 +09:00
commit 72f5eb3cd9
2559 changed files with 1594625 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
set CURDIR=%cd%
copy ..\pca10056\s140\arm5_no_packs\_build\nrf52840_xxaa.hex medithings_bladder_patch_0001.hex
copy ..\..\..\dfu\secure_bootloader\pca10056_s140_ble\arm5_no_packs\_build\nrf52840_xxaa_s140.hex medithings_bladder_patch_bootloader.hex
nrfutil settings generate --family NRF52840 --application medithings_bladder_patch_0001.hex --application-version 1 --bootloader-version 1 --bl-settings-version 2 medithings_bladder_patch_bootloader_setting.hex
mergehex.exe --merge s140_nrf52_7.2.0_softdevice.hex medithings_bladder_patch_0001.hex --output medithings_bladder_patch_merged_1.hex
mergehex.exe --merge medithings_bladder_patch_bootloader.hex medithings_bladder_patch_bootloader_setting.hex --output medithings_bladder_patch_merged_2.hex
mergehex.exe --merge medithings_bladder_patch_merged_1.hex medithings_bladder_patch_merged_2.hex --output medithings_bladder_patch_dfu_merged_all.hex
nrfjprog --family NRF52 --recover
nrfjprog --family NRF52 --eraseall
nrfjprog --family NRF52 --program medithings_bladder_patch_dfu_merged_all.hex
nrfjprog --family NRF52 --reset
nrfjprog --family NRF52 --rbp ALL
pause

View File

@@ -0,0 +1,21 @@
set CURDIR=%cd%
copy ..\pca10056\s140\arm5_no_packs\_build\nrf52840_xxaa.hex medithings_bladder_patch_0001.hex
copy ..\..\..\dfu\secure_bootloader\pca10056_s140_ble\arm5_no_packs\_build\nrf52840_xxaa_s140.hex medithings_bladder_patch_bootloader.hex
nrfutil settings generate --family NRF52840 --application medithings_bladder_patch_0001.hex --application-version 1 --bootloader-version 1 --bl-settings-version 2 medithings_bladder_patch_bootloader_setting.hex
mergehex.exe --merge s140_nrf52_7.2.0_softdevice.hex medithings_bladder_patch_0001.hex --output medithings_bladder_patch_merged_1.hex
mergehex.exe --merge medithings_bladder_patch_bootloader.hex medithings_bladder_patch_bootloader_setting.hex --output medithings_bladder_patch_merged_2.hex
mergehex.exe --merge medithings_bladder_patch_merged_1.hex medithings_bladder_patch_merged_2.hex --output medithings_bladder_patch_dfu_merged_all.hex
nrfjprog --family NRF52 --recover
nrfjprog --family NRF52 --eraseall
nrfjprog --family NRF52 --program medithings_bladder_patch_dfu_merged_all.hex
pause

View File

@@ -0,0 +1,22 @@
set CURDIR=%cd%
copy ..\pca10056\s140\arm5_no_packs\_build\nrf52840_xxaa.hex medithings_bladder_patch_0001.hex
copy ..\..\..\dfu\secure_bootloader\pca10056_s140_ble\arm5_no_packs\_build\nrf52840_xxaa_s140.hex medithings_bladder_patch_bootloader.hex
nrfutil settings generate --family NRF52840 --application medithings_bladder_patch_0001.hex --application-version 1 --bootloader-version 1 --bl-settings-version 2 medithings_bladder_patch_bootloader_setting.hex
mergehex.exe --merge s140_nrf52_7.2.0_softdevice.hex medithings_bladder_patch_0001.hex --output medithings_bladder_patch_merged_1.hex
mergehex.exe --merge medithings_bladder_patch_bootloader.hex medithings_bladder_patch_bootloader_setting.hex --output medithings_bladder_patch_merged_2.hex
mergehex.exe --merge medithings_bladder_patch_merged_1.hex medithings_bladder_patch_merged_2.hex --output medithings_bladder_patch_dfu_merged_all.hex
nrfjprog --family NRF52 --eraseall
nrfjprog --family NRF52 --program medithings_bladder_patch_dfu_merged_all.hex
nrfjprog --family NRF52 --reset
nrfjprog --family NRF52 --rbp ALL
pause

View File

@@ -0,0 +1,30 @@
set CURDIR=%cd%
copy ..\pca10056\s140\arm5_no_packs\_build\nrf52840_xxaa.hex medithings_bladder_patch_0001.hex
copy ..\..\..\dfu\secure_bootloader\pca10056_s140_ble\arm5_no_packs\_build\nrf52840_xxaa_s140.hex medithings_bladder_patch_bootloader.hex
nrfutil settings generate --family NRF52840 --application medithings_bladder_patch_0001.hex --application-version 1 --bootloader-version 1 --bl-settings-version 2 medithings_bladder_patch_bootloader_setting.hex
mergehex.exe --merge s140_nrf52_7.2.0_softdevice.hex medithings_bladder_patch_0001.hex --output medithings_bladder_patch_merged_1.hex
mergehex.exe --merge medithings_bladder_patch_bootloader.hex medithings_bladder_patch_bootloader_setting.hex --output medithings_bladder_patch_merged_2.hex
mergehex.exe --merge medithings_bladder_patch_merged_1.hex medithings_bladder_patch_merged_2.hex --output medithings_bladder_patch_dfu_merged_all.hex
nrfjprog --memrd 0x10001208
nrfjprog --family NRF52 --recover
nrfjprog --memrd 0x10001208
nrfjprog --family NRF52 --eraseall
nrfjprog --family NRF52 --program medithings_bladder_patch_dfu_merged_all.hex --verify
nrfjprog --family NRF52 --reset
nrfjprog --family NRF52 --rbp ALL
nrfjprog --memwr 0x10001208 --val 0x00
nrfjprog --memrd 0x10001208
pause

View File

@@ -0,0 +1,22 @@
set CURDIR=%cd%
copy ..\pca10056\s140\arm5_no_packs\_build\nrf52840_xxaa.hex medithings_bladder_patch_0001.hex
copy ..\..\..\dfu\secure_bootloader\pca10056_s140_ble\arm5_no_packs\_build\nrf52840_xxaa_s140.hex medithings_bladder_patch_bootloader.hex
nrfutil settings generate --family NRF52840 --application medithings_bladder_patch_0001.hex --application-version 1 --bootloader-version 1 --bl-settings-version 2 medithings_bladder_patch_bootloader_setting.hex
mergehex.exe --merge s140_nrf52_7.2.0_softdevice.hex medithings_bladder_patch_0001.hex --output medithings_bladder_patch_merged_1.hex
mergehex.exe --merge medithings_bladder_patch_bootloader.hex medithings_bladder_patch_bootloader_setting.hex --output medithings_bladder_patch_merged_2.hex
mergehex.exe --merge medithings_bladder_patch_merged_1.hex medithings_bladder_patch_merged_2.hex --output medithings_bladder_patch_dfu_merged_all.hex
nrfjprog --family NRF52 --recover
nrfjprog --family NRF52 --eraseall
nrfjprog --family NRF52 --program medithings_bladder_patch_dfu_merged_all.hex --verify
nrfjprog --family NRF52 --reset
nrfjprog --family NRF52 --rbp ALL
echo %date% %time%
pause

View File

@@ -0,0 +1,20 @@
set CURDIR=%cd%
copy ..\pca10056\s140\arm5_no_packs\_build\nrf52840_xxaa.hex medithings_bladder_patch_0001.hex
copy ..\..\..\dfu\secure_bootloader\pca10056_s140_ble\arm5_no_packs\_build\nrf52840_xxaa_s140.hex medithings_bladder_patch_bootloader.hex
nrfutil settings generate --family NRF52840 --application medithings_bladder_patch_0001.hex --application-version 1 --bootloader-version 1 --bl-settings-version 2 medithings_bladder_patch_bootloader_setting.hex
mergehex.exe --merge s140_nrf52_7.2.0_softdevice.hex medithings_bladder_patch_0001.hex --output medithings_bladder_patch_merged_1.hex
mergehex.exe --merge medithings_bladder_patch_bootloader.hex medithings_bladder_patch_bootloader_setting.hex --output medithings_bladder_patch_merged_2.hex
mergehex.exe --merge medithings_bladder_patch_merged_1.hex medithings_bladder_patch_merged_2.hex --output medithings_bladder_patch_dfu_merged_all.hex
nrfjprog --family NRF52 --program medithings_bladder_patch_0001.hex
nrfjprog --family NRF52 --reset
pause

View File

@@ -0,0 +1,137 @@
@echo off
setlocal enabledelayedexpansion
echo ==========================================
echo MEDiThings Bladder Patch Programming
echo (mergehex + nrfutil 8.x)
echo ==========================================
REM -----------------------------------------------------
REM Create hex output folder
REM -----------------------------------------------------
if not exist hex mkdir hex
REM -----------------------------------------------------
REM 1. Copy HEX files
REM -----------------------------------------------------
echo [1/7] Copying HEX files...
copy "..\pca10056\s140\arm5_no_packs\_build\nrf52840_xxaa.hex" hex\app.hex
copy "..\..\..\dfu\secure_bootloader\pca10056_s140_ble\arm5_no_packs\_build\nrf52840_xxaa_s140.hex" hex\boot.hex
if %errorlevel% neq 0 (
echo ERROR: failed copying files.
pause
exit /b 1
)
REM -----------------------------------------------------
REM 2. Generate Bootloader DFU Settings
REM -----------------------------------------------------
echo [2/7] Generating Bootloader DFU settings...
nrfutil settings generate ^
--family NRF52840 ^
--application hex\app.hex ^
--application-version 1 ^
--bootloader-version 1 ^
--bl-settings-version 2 ^
hex\settings.hex
if %errorlevel% neq 0 (
echo ERROR: nrfutil settings failed.
pause
exit /b 1
)
REM -----------------------------------------------------
REM 3. Merge HEX (SoftDevice + Application)
REM -----------------------------------------------------
echo [3/7] Merging SoftDevice + Application...
mergehex.exe --merge s140_nrf52_7.2.0_softdevice.hex hex\app.hex --output hex\part1.hex
if %errorlevel% neq 0 (
echo ERROR: mergehex part1 failed.
pause
exit /b 1
)
REM -----------------------------------------------------
REM 4. Merge HEX (Bootloader + Settings)
REM -----------------------------------------------------
echo [4/7] Merging Bootloader + Settings...
mergehex.exe --merge hex\boot.hex hex\settings.hex --output hex\part2.hex
if %errorlevel% neq 0 (
echo ERROR: mergehex part2 failed.
pause
exit /b 1
)
REM -----------------------------------------------------
REM 5. Final HEX merge (Combine everything)
REM -----------------------------------------------------
echo [5/7] Creating final combined HEX...
mergehex.exe --merge hex\part1.hex hex\part2.hex --output hex\firmware_all.hex
if %errorlevel% neq 0 (
echo ERROR: mergehex final merge failed.
pause
exit /b 1
)
echo Final merged HEX: hex\firmware_all.hex
REM -----------------------------------------------------
REM 6. Detect device SERIAL NUMBER
REM -----------------------------------------------------
echo [6/7] Detecting device serial number...
for /f %%A in ('
powershell -Command "(nrfutil device list --json | Select-String '\"type\":\"info\"' | ConvertFrom-Json).data.devices[0].serialNumber"
') do set SERIALNUMBER=%%A
if "%SERIALNUMBER%"=="" (
echo ERROR: No serial number found.
pause
exit /b 1
)
echo Using Serial Number: %SERIALNUMBER%
echo Flashing: recover → erase → program → reset
REM recover
nrfutil device recover --serial-number %SERIALNUMBER%
if %errorlevel% neq 0 goto flash_fail
REM erase
nrfutil device erase --serial-number %SERIALNUMBER%
if %errorlevel% neq 0 goto flash_fail
REM program
nrfutil device program --firmware hex\firmware_all.hex --serial-number %SERIALNUMBER%
if %errorlevel% neq 0 goto flash_fail
REM reset
nrfutil device reset --serial-number %SERIALNUMBER%
if %errorlevel% neq 0 goto flash_fail
goto flash_success
:flash_fail
echo ERROR: Flashing failed.
pause
exit /b 1
:flash_success
REM -----------------------------------------------------
REM 7. Set Readback Protection (RBP)
REM -----------------------------------------------------
echo [7/7] Setting Readback Protection (ALL)...
nrfutil device protection-set ALL --serial-number %SERIALNUMBER%
echo ==========================================
echo Programming Complete!
echo %date% %time%
echo ==========================================
pause
endlocal

View File

@@ -0,0 +1,3 @@
nrfjprog --family NRF52 --recover
nrfjprog --family NRF52 --eraseall
pause

View File

@@ -0,0 +1,3 @@
nrfjprog --family NRF52 --rbp ALL
nrfjprog --family NRF52 --pinreset
pause

View File

@@ -0,0 +1,2 @@
nrfjprog --family NRF52 --recover
pause

View File

@@ -0,0 +1,2 @@
nrfjprog --family NRF52 --pinreset
pause

View File

@@ -0,0 +1,8 @@
chcp 437
set CURDIR=%cd%
copy ..\pca10056\s140\arm5_no_packs\_build\nrf52840_xxaa.hex medithings_bladder_patch_0001.hex
nrfutil pkg generate --application medithings_bladder_patch_0001.hex --application-version 1 --hw-version 52 --sd-req 0x0100 --sd-id 0x0100 --key-file private.key medithings_bladder_patch_dfu.zip
pause

View File

@@ -0,0 +1,413 @@
[2025-Dec-02 21:41:39] [debug] --------------------------------------------------------------------------------
[2025-Dec-02 21:41:39] [debug] nrfjprog --recover -s 682580999 --log
[2025-Dec-02 21:41:39] [debug] nrfjprog version 10.19.0 external
[2025-Dec-02 21:41:39] [debug] --------------------------------------------------------------------------------
[2025-Dec-02 21:41:39] [ info] Load library at d:\nrfutil\bin\nrfjprog.dll.
[2025-Dec-02 21:41:39] [ info] Library loaded, loading member functions.
[2025-Dec-02 21:41:39] [ info] Member functions succesfully loaded.
[2025-Dec-02 21:41:39] [debug] [ Client] - open
[2025-Dec-02 21:41:39] [debug] [ Client] - start
[2025-Dec-02 21:41:39] [ info] [ Client] - stdout: Jlinkarm nRF Worker ready. Handling sequence 9216d55f-e6c3-46dc-87a3-92d9ff8623b1.
[2025-Dec-02 21:41:39] [trace] [ Client] - Command open executed for 36 milliseconds with result 0
[2025-Dec-02 21:41:39] [debug] [SeggerBackend] - Logger sink registered in Segger backend logger
[2025-Dec-02 21:41:39] [debug] [ Client] - config
[2025-Dec-02 21:41:39] [debug] [ JLink] - Logger sink registered in JLink logger
[2025-Dec-02 21:41:39] [debug] [ nRFXX] - open
[2025-Dec-02 21:41:39] [debug] [ nRFXX] - just_check_family
[2025-Dec-02 21:41:39] [debug] [SeggerBackend] - open_dll
[2025-Dec-02 21:41:39] [debug] [SeggerBackend] - No J-Link DLL path was provided. Attempting to auto detect.
[2025-Dec-02 21:41:39] [ info] [SeggerBackend] - Load library at C:\Program Files\SEGGER\JLink_V818\JLinkARM.dll.
[2025-Dec-02 21:41:39] [ info] [SeggerBackend] - Library loaded, loading member functions.
[2025-Dec-02 21:41:39] [ info] [SeggerBackend] - Member functions succesfully loaded.
[2025-Dec-02 21:41:39] [debug] [SeggerBackend] - Set batch mode
[2025-Dec-02 21:41:39] [debug] [SeggerBackend] - dll_version
[2025-Dec-02 21:41:39] [ info] [SeggerBackend] - Segger dll version 8.18. loaded.
[2025-Dec-02 21:41:39] [trace] [ Worker] - Command open executed for 4 milliseconds with result 0
[2025-Dec-02 21:41:39] [trace] [ Client] - Command config executed for 15 milliseconds with result 0
[2025-Dec-02 21:41:39] [debug] [ Client] - enum_emu_snr
[2025-Dec-02 21:41:39] [debug] [ nRFXX] - config
[2025-Dec-02 21:41:39] [debug] [SeggerBackend] - enum_emu_snr
[2025-Dec-02 21:41:39] [trace] [ Worker] - Command config executed for 2 milliseconds with result 0
[2025-Dec-02 21:41:39] [trace] [ Client] - Command enum_emu_con_info executed for 15 milliseconds with result 0
[2025-Dec-02 21:41:39] [debug] [ Client] - connect_to_emu_with_snr
[2025-Dec-02 21:41:39] [debug] [ nRFXX] - enum_emu_con_info
[2025-Dec-02 21:41:39] [debug] [SeggerBackend] - is_connected_to_emu
[2025-Dec-02 21:41:39] [debug] [SeggerBackend] - enum_emu_con_info
[2025-Dec-02 21:41:39] [debug] [SeggerBackend] - is_connected_to_emu
[2025-Dec-02 21:41:39] [trace] [ Worker] - Command enum_emu_con_info executed for 3 milliseconds with result 0
[2025-Dec-02 21:41:39] [debug] [ nRFXX] - connect_to_emu_with_snr
[2025-Dec-02 21:41:39] [debug] [SeggerBackend] - is_connected_to_emu
[2025-Dec-02 21:41:39] [debug] [SeggerBackend] - connect_to_emu_with_snr
[2025-Dec-02 21:41:39] [debug] [SeggerBackend] - is_connected_to_emu
[2025-Dec-02 21:41:39] [debug] [SeggerBackend] - ---just_enum_emu_snr
[2025-Dec-02 21:41:39] [debug] [SeggerBackend] - ---just_get_num_emus
[2025-Dec-02 21:41:39] [debug] [SeggerBackend] - ---just_connect_to_emu_with_snr
[2025-Dec-02 21:41:39] [debug] [SeggerBackend] - ---just_connect_to_emu_without_snr
[2025-Dec-02 21:41:39] [debug] [SeggerBackend] - Segger logging enabled.
[2025-Dec-02 21:41:39] [trace] [ JLink] - Firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Jul 8 2025 10:14:41
[2025-Dec-02 21:41:39] [trace] [ JLink] - Firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Jul 8 2025 10:14:41
[2025-Dec-02 21:41:39] [trace] [ JLink] - Hardware: V1.00
[2025-Dec-02 21:41:39] [trace] [ JLink] - S/N: 682580999
[2025-Dec-02 21:41:39] [trace] [ JLink] - OEM: SEGGER
[2025-Dec-02 21:41:39] [trace] [ JLink] - Feature(s): RDI, FlashBP, FlashDL, JFlash, GDB
[2025-Dec-02 21:41:39] [trace] [ JLink] - Bootloader: 2014 Sep 11
[2025-Dec-02 21:41:39] [trace] [ JLink] - USB speed mode: High speed (480 MBit/s)
[2025-Dec-02 21:41:39] [trace] [ JLink] - TELNET listener socket opened on port 19021
[2025-Dec-02 21:41:39] [trace] [ JLink] - WEBSRV WEBSRV_Init(): Starting webserver thread(s)
[2025-Dec-02 21:41:39] [trace] [ JLink] - WEBSRV Webserver running on local port 19080
[2025-Dec-02 21:41:39] [trace] [ JLink] - Looking for J-Link GUI Server exe at: C:\Program Files\SEGGER\JLink_V818\JLinkGUIServer.exe
[2025-Dec-02 21:41:39] [trace] [ JLink] - Forking J-Link GUI Server: C:\Program Files\SEGGER\JLink_V818\JLinkGUIServer.exe
[2025-Dec-02 21:41:39] [trace] [ JLink] - J-Link GUI Server info: "J-Link GUI server V8.18 "
[2025-Dec-02 21:41:39] [trace] [ JLink] - - 37.124ms returns "O.K."
[2025-Dec-02 21:41:39] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-02 21:41:39] [trace] [ JLink] - JLINK_Lock()
[2025-Dec-02 21:41:39] [trace] [ JLink] - JLINK_ExecCommand("SetRestartOnClose = 0", ...).
[2025-Dec-02 21:41:39] [trace] [ JLink] - - 0.001ms returns 0x01
[2025-Dec-02 21:41:39] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-02 21:41:39] [trace] [ JLink] - JLINK_ExecCommand("DisableFlashDL", ...).
[2025-Dec-02 21:41:39] [trace] [ JLink] - - 0.000ms returns 0x00
[2025-Dec-02 21:41:39] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-02 21:41:39] [trace] [ JLink] - JLINK_ExecCommand("ExcludeFlashCacheRange 0x0-0xFFFFFFFF", ...).
[2025-Dec-02 21:41:39] [trace] [ JLink] - - 0.002ms returns 0x00
[2025-Dec-02 21:41:39] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-02 21:41:39] [trace] [ JLink] - JLINK_SetHookUnsecureDialog
[2025-Dec-02 21:41:39] [trace] [ JLink] - JLINK_SetHookUnsecureDialog(...)
[2025-Dec-02 21:41:39] [trace] [ JLink] - - 0.010ms returns 0
[2025-Dec-02 21:41:39] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-02 21:41:39] [trace] [ JLink] - JLINK_TIF_Select(JLINKARM_TIF_SWD)
[2025-Dec-02 21:41:39] [trace] [ JLink] - - 0.479ms returns 0x00
[2025-Dec-02 21:41:39] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-02 21:41:39] [trace] [ JLink] - JLINK_GetSpeedInfo()
[2025-Dec-02 21:41:39] [trace] [ JLink] - 10000000 Hz / n, n >= 10
[2025-Dec-02 21:41:39] [trace] [ JLink] - - 0.007ms
[2025-Dec-02 21:41:39] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-02 21:41:39] [debug] [SeggerBackend] - Connected emulator supports SWD speeds up to 1000kHz
[2025-Dec-02 21:41:39] [debug] [SeggerBackend] - Requested speed 2000kHz is higher than the emulator max speed of 1000kHz
[2025-Dec-02 21:41:39] [trace] [ JLink] - JLINK_SetSpeed(2000)
[2025-Dec-02 21:41:39] [trace] [ JLink] - - 0.046ms
[2025-Dec-02 21:41:39] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-02 21:41:39] [trace] [ JLink] - JLINK_GetSpeed()
[2025-Dec-02 21:41:39] [trace] [ JLink] - - 0.003ms returns 1000
[2025-Dec-02 21:41:39] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-02 21:41:39] [debug] [SeggerBackend] - SWD speed was reported as 1000kHz after requesting 2000kHz. Check the capabilities of the selected emulator.
[2025-Dec-02 21:41:39] [trace] [ JLink] - JLINK_GetSN()
[2025-Dec-02 21:41:39] [trace] [ JLink] - - 0.003ms returns 682580999
[2025-Dec-02 21:41:39] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-02 21:41:39] [trace] [ JLink] - - 0.004ms
[2025-Dec-02 21:41:39] [debug] [ nRFXX] - read_device_family
[2025-Dec-02 21:41:39] [debug] [ nRFXX] - read_device_family
[2025-Dec-02 21:41:39] [debug] [SeggerBackend] - is_connected_to_emu
[2025-Dec-02 21:41:39] [trace] [ JLink] - JLINK_IsOpen()
[2025-Dec-02 21:41:39] [trace] [ JLink] - - 0.003ms returns 0x01
[2025-Dec-02 21:41:39] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-02 21:41:39] [trace] [ JLink] - JLINK_Lock()
[2025-Dec-02 21:41:39] [debug] [SeggerBackend] - read_debug_port_idr
[2025-Dec-02 21:41:39] [debug] [SeggerBackend] - read_debug_port_register
[2025-Dec-02 21:41:39] [debug] [SeggerBackend] - ---just_read_debug_port_register
[2025-Dec-02 21:41:39] [debug] [SeggerBackend] - coresight_configure
[2025-Dec-02 21:41:39] [trace] [ JLink] - JLINK_GetHWStatus(...)
[2025-Dec-02 21:41:39] [trace] [ JLink] - - 0.137ms returns 0
[2025-Dec-02 21:41:39] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-02 21:41:39] [trace] [ JLink] - JLINK_CORESIGHT_Configure()
[2025-Dec-02 21:41:40] [trace] [ Client] - Command connect_to_emu_with_snr executed for 188 milliseconds with result -102
[2025-Dec-02 21:41:40] [trace] [ JLink] - - 104.594ms returns 0
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-02 21:41:40] [debug] [SeggerBackend] - read_debug_port_idr
[2025-Dec-02 21:41:40] [debug] [SeggerBackend] - read_debug_port_register
[2025-Dec-02 21:41:40] [debug] [SeggerBackend] - ---just_read_debug_port_register
[2025-Dec-02 21:41:40] [debug] [SeggerBackend] - ---just_select_debug_port_register
[2025-Dec-02 21:41:40] [debug] [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
[2025-Dec-02 21:41:40] [trace] [ JLink] - - 0.793ms returns -1
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-02 21:41:40] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2025-Dec-02 21:41:40] [debug] [SeggerBackend] - ---just_abort_debug_action
[2025-Dec-02 21:41:40] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection.
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-02 21:41:40] [trace] [ JLink] - - 0.780ms returns -1
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-02 21:41:40] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-02 21:41:40] [trace] [ JLink] - - 0.970ms returns -1
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-02 21:41:40] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-02 21:41:40] [trace] [ JLink] - - 0.732ms returns -1
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-02 21:41:40] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-02 21:41:40] [trace] [ JLink] - - 0.740ms returns -1
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-02 21:41:40] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-02 21:41:40] [trace] [ JLink] - - 0.736ms returns -1
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-02 21:41:40] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
[2025-Dec-02 21:41:40] [trace] [ JLink] - - 0.698ms returns -1
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-02 21:41:40] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2025-Dec-02 21:41:40] [debug] [SeggerBackend] - ---just_abort_debug_action
[2025-Dec-02 21:41:40] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection.
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-02 21:41:40] [trace] [ JLink] - - 0.741ms returns -1
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-02 21:41:40] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-02 21:41:40] [trace] [ JLink] - - 0.721ms returns -1
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-02 21:41:40] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-02 21:41:40] [trace] [ JLink] - - 0.726ms returns -1
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-02 21:41:40] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-02 21:41:40] [trace] [ JLink] - - 0.707ms returns -1
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-02 21:41:40] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-02 21:41:40] [trace] [ JLink] - - 0.703ms returns -1
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-02 21:41:40] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
[2025-Dec-02 21:41:40] [trace] [ JLink] - - 0.716ms returns -1
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-02 21:41:40] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2025-Dec-02 21:41:40] [debug] [SeggerBackend] - ---just_abort_debug_action
[2025-Dec-02 21:41:40] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection.
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-02 21:41:40] [trace] [ JLink] - - 0.728ms returns -1
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-02 21:41:40] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-02 21:41:40] [trace] [ JLink] - - 0.727ms returns -1
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-02 21:41:40] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-02 21:41:40] [trace] [ JLink] - - 0.760ms returns -1
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-02 21:41:40] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-02 21:41:40] [trace] [ JLink] - - 0.765ms returns -1
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-02 21:41:40] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-02 21:41:40] [trace] [ JLink] - - 0.722ms returns -1
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-02 21:41:40] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
[2025-Dec-02 21:41:40] [trace] [ JLink] - - 0.723ms returns -1
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-02 21:41:40] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2025-Dec-02 21:41:40] [debug] [SeggerBackend] - ---just_abort_debug_action
[2025-Dec-02 21:41:40] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection.
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-02 21:41:40] [trace] [ JLink] - - 0.734ms returns -1
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-02 21:41:40] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-02 21:41:40] [trace] [ JLink] - - 0.711ms returns -1
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-02 21:41:40] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-02 21:41:40] [trace] [ JLink] - - 0.715ms returns -1
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-02 21:41:40] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-02 21:41:40] [trace] [ JLink] - - 0.714ms returns -1
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-02 21:41:40] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-02 21:41:40] [trace] [ JLink] - - 0.710ms returns -1
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-02 21:41:40] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
[2025-Dec-02 21:41:40] [trace] [ JLink] - - 0.716ms returns -1
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-02 21:41:40] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2025-Dec-02 21:41:40] [debug] [SeggerBackend] - ---just_abort_debug_action
[2025-Dec-02 21:41:40] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection.
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-02 21:41:40] [trace] [ JLink] - - 0.750ms returns -1
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-02 21:41:40] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-02 21:41:40] [trace] [ JLink] - - 0.718ms returns -1
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-02 21:41:40] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-02 21:41:40] [trace] [ JLink] - - 0.849ms returns -1
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-02 21:41:40] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-02 21:41:40] [trace] [ JLink] - - 0.744ms returns -1
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-02 21:41:40] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-02 21:41:40] [trace] [ JLink] - - 0.761ms returns -1
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-02 21:41:40] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2025-Dec-02 21:41:40] [trace] [ JLink] - - 0.040ms
[2025-Dec-02 21:41:40] [trace] [ Worker] - Command connect_to_emu_with_snr executed for 187 milliseconds with result -102
[2025-Dec-02 21:41:40] [debug] [ nRFXX] - close
[2025-Dec-02 21:41:40] [debug] [SeggerBackend] - is_connected_to_emu
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_IsOpen()
[2025-Dec-02 21:41:40] [trace] [ JLink] - - 0.005ms returns 0x01
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_Lock()
[2025-Dec-02 21:41:40] [debug] [SeggerBackend] - close
[2025-Dec-02 21:41:40] [debug] [SeggerBackend] - disconnect_from_emu
[2025-Dec-02 21:41:40] [debug] [SeggerBackend] - ---just_disconnect_from_emu
[2025-Dec-02 21:41:40] [debug] [SeggerBackend] - is_connected_to_device
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_IsConnected()
[2025-Dec-02 21:41:40] [trace] [ JLink] - - 0.003ms returns FALSE
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-02 21:41:40] [debug] [SeggerBackend] - ---just_is_debug_region_powered
[2025-Dec-02 21:41:40] [debug] [SeggerBackend] - ---just_read_debug_port_register
[2025-Dec-02 21:41:40] [debug] [SeggerBackend] - ---just_select_debug_port_register
[2025-Dec-02 21:41:40] [debug] [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
[2025-Dec-02 21:41:40] [trace] [ JLink] - - 0.733ms returns -1
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-02 21:41:40] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2025-Dec-02 21:41:40] [debug] [SeggerBackend] - ---just_abort_debug_action
[2025-Dec-02 21:41:40] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection.
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-02 21:41:40] [trace] [ JLink] - - 0.759ms returns -1
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-02 21:41:40] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-02 21:41:40] [trace] [ JLink] - - 0.720ms returns -1
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-02 21:41:40] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-02 21:41:40] [trace] [ JLink] - - 0.772ms returns -1
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-02 21:41:40] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-02 21:41:40] [trace] [ JLink] - - 0.740ms returns -1
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-02 21:41:40] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-02 21:41:40] [trace] [ JLink] - - 0.725ms returns -1
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-02 21:41:40] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
[2025-Dec-02 21:41:40] [trace] [ JLink] - - 0.734ms returns -1
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-02 21:41:40] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2025-Dec-02 21:41:40] [debug] [SeggerBackend] - ---just_abort_debug_action
[2025-Dec-02 21:41:40] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection.
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-02 21:41:40] [trace] [ JLink] - - 0.746ms returns -1
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-02 21:41:40] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-02 21:41:40] [trace] [ JLink] - - 0.738ms returns -1
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-02 21:41:40] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-02 21:41:40] [trace] [ JLink] - - 0.735ms returns -1
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-02 21:41:40] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-02 21:41:40] [trace] [ JLink] - - 0.746ms returns -1
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-02 21:41:40] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-02 21:41:40] [trace] [ JLink] - - 0.723ms returns -1
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-02 21:41:40] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
[2025-Dec-02 21:41:40] [trace] [ JLink] - - 0.717ms returns -1
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-02 21:41:40] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2025-Dec-02 21:41:40] [debug] [SeggerBackend] - ---just_abort_debug_action
[2025-Dec-02 21:41:40] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection.
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-02 21:41:40] [trace] [ JLink] - - 0.753ms returns -1
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-02 21:41:40] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-02 21:41:40] [trace] [ JLink] - - 0.737ms returns -1
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-02 21:41:40] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-02 21:41:40] [trace] [ JLink] - - 0.741ms returns -1
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-02 21:41:40] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-02 21:41:40] [trace] [ JLink] - - 0.818ms returns -1
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-02 21:41:40] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-02 21:41:40] [trace] [ JLink] - - 0.725ms returns -1
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-02 21:41:40] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
[2025-Dec-02 21:41:40] [trace] [ JLink] - - 0.717ms returns -1
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-02 21:41:40] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2025-Dec-02 21:41:40] [debug] [SeggerBackend] - ---just_abort_debug_action
[2025-Dec-02 21:41:40] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection.
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-02 21:41:40] [trace] [ JLink] - - 0.704ms returns -1
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-02 21:41:40] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-02 21:41:40] [trace] [ JLink] - - 0.727ms returns -1
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-02 21:41:40] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-02 21:41:40] [trace] [ JLink] - - 0.711ms returns -1
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-02 21:41:40] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-02 21:41:40] [trace] [ JLink] - - 0.686ms returns -1
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-02 21:41:40] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-02 21:41:40] [trace] [ JLink] - - 0.719ms returns -1
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-02 21:41:40] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
[2025-Dec-02 21:41:40] [trace] [ JLink] - - 0.721ms returns -1
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-02 21:41:40] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2025-Dec-02 21:41:40] [debug] [SeggerBackend] - ---just_abort_debug_action
[2025-Dec-02 21:41:40] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection.
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-02 21:41:40] [trace] [ JLink] - - 0.760ms returns -1
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-02 21:41:40] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-02 21:41:40] [trace] [ JLink] - - 0.786ms returns -1
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-02 21:41:40] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-02 21:41:40] [trace] [ JLink] - - 0.739ms returns -1
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-02 21:41:40] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-02 21:41:40] [trace] [ JLink] - - 0.764ms returns -1
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-02 21:41:40] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-02 21:41:40] [trace] [ JLink] - - 0.793ms returns -1
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-02 21:41:40] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2025-Dec-02 21:41:40] [trace] [ JLink] - - 0.028ms
[2025-Dec-02 21:41:40] [trace] [ JLink] - JLINK_Close()
[2025-Dec-02 21:41:40] [debug] [SeggerBackend] - Segger Backend closed.
[2025-Dec-02 21:41:40] [debug] [ nRFXX] - nRF family DLL closed
[2025-Dec-02 21:41:40] [trace] [ Worker] - Command close executed for 60 milliseconds with result 0
[2025-Dec-02 21:41:40] [trace] [ Client] - Command close executed for 61 milliseconds with result 0
[2025-Dec-02 21:41:40] [debug] [ Client] - terminate
[2025-Dec-02 21:41:40] [trace] [ Client] - Command terminate executed for 0 milliseconds with result 0
[2025-Dec-02 21:41:40] [trace] [ Worker] - Command terminate executed for 0 milliseconds with result 0
[2025-Dec-02 21:41:40] [trace] [ Worker] - Executed 6 commands for 256 milliseconds
[2025-Dec-02 21:41:40] [debug] [ Client] - Worker process exited with code: 0
[2025-Dec-02 21:41:40] [debug] [ Client] - Worker process exited with code: 0
[2025-Dec-02 21:41:40] [debug] [ Client] - Child process terminated with result 0
[2025-Dec-02 21:41:40] [trace] [ Client] - Executed 6 commands for 315 milliseconds

View File

@@ -0,0 +1,5 @@
-----BEGIN EC PRIVATE KEY-----
MHcCAQEEIHf/LPF4rHM8BNLwocN5rRNXA7nxqMZytmagH4csLaBUoAoGCCqGSM49
AwEHoUQDQgAE1ZAavjWbKjEoGnKJm65rdtwnIIG8F15sg2pw5QPLW2f6iAh24ig+
A8fY5qAD1vbELamAp4bYO9daX3m1OSRL7A==
-----END EC PRIVATE KEY-----

View File

@@ -0,0 +1,3 @@
set path=d:\nrfutil\bin;%path%
d:
cd D:\mt_project\mt_firmware\project\ble_peripheral\ble_app_bladder_patch\hex