开始下载程序:2025-10-20 21:28:28
Download Start Address: 0x08000000
D:RT-ThreadStudio>”D:/RT-ThreadStudio/repo/Extract/Debugger_Support_Packages/SEGGER/J-Link/v8.48JLink.exe” -device
STM32F103ZE -ExitOnError -CommanderScript C:Users35238DesktopStm32_demodemo/.metadata/Temp/rtthread_download_init.jlink
SEGGER J-Link Commander V8.48 (Compiled Jul 2 2025 12:04:01)
DLL version V8.48, compiled Jul 2 2025 12:03:07
J-Link Commander will now exit on Error
J-Link Command File read successfully.
Processing script file…
J-Link>si 1
J-Link connec
tion not established yet but required for command.
Connecting to J-Link via USB…O.K.
Firmware: J-Link V9 compiled May 7 2021 16:26:12
Hardware version: V9.40
J-Link uptime (since boot): N/A (Not supported by this model)
S/N: 69401057
License(s): RDI, GDB, FlashDL, FlashBP, JFlash
VTref=3.258V
Selecting SWD as current target interface.
J-Link>exec device=STM32F103ZE
Device “STM32F103ZE” selected.
J-Link>speed auto
Selecting auto as target interface speed
J-Link>r
Target connection not established yet but required for command.
Device “STM32F103ZE” selected.
Connecting to target via SWD
InitTarget() start
SWD selected. Executing JTAG -> SWD switching sequence.
DAP initialized successfully.
InitTarget() end - Took 21.5ms
Found SW-DP with ID 0x1BA01477
DPIDR: 0x1BA01477
CoreSight SoC-400 or earlier
Scanning AP map to find all available APs
AP[1]: Stopped AP scan as end of AP map has been reached
AP[0]: AHB-AP (IDR: 0x14770011, ADDR: 0x00000000)
Iterating through AP map to find AHB-AP to use
AP[0]: Core found
AP[0]: AHB-AP ROM base: 0xE00FF000
CPUID register: 0x411FC231. Implementer code: 0x41 (ARM)
Found Cortex-M3 r1p1, Little endian.
FPUnit: 6 code (BP) slots and 2 literal slots
CoreSight components:
ROMTbl[0] @ E00FF000
[0][0]: E000E000 CID B105E00D PID 001BB000 SCS
[0][1]: E0001000 CID B105E00D PID 001BB002 DWT
[0][2]: E0002000 CID B105E00D PID 000BB003 FPB
[0][3]: E0000000 CID B105E00D PID 001BB001 ITM
[0][4]: E0040000 CID B105900D PID 001BB923 TPIU-Lite
[0][5]: E0041000 CID B105900D PID 101BB924 ETM-M3
Memory zones:
Zone: “Default” Description: Default access mode
Cortex-M3 identified.
Reset delay: 0 ms
Reset type: NORMAL (
https://wiki.segger.com/J-Link_Reset_Strategies)
Reset: Halt core after reset via DEMCR.VC_CORERESET.
Reset: Reset device via AIRCR.SYSRESETREQ.
J-Link>h
PC = 08008244, CycleCnt = 00000000
R0 = 00000000, R1 = 00000000, R2 = 20000CC0, R3 = 00000001
R4 = DEADBEEF, R5 = DEADBEEF, R6 = DEADBEEF, R7 = 20000CA8
R8 = DEADBEEF, R9 = DEADBEEF, R10= DEADBEEF, R11= DEADBEEF
R12= 00000000
SP(R13)= 20000B20, MSP= 20000B20, PSP= 20000CA8, R14(LR) = FFFFFFFF
XPSR = 01000000: APSR = nzcvq, EPSR = 01000000, IPSR = 000 (NoException)
CFBP = 00000000, CONTROL = 00, FAULTMASK = 00, BASEPRI = 00, PRIMASK = 00
FPU regs: FPU not enabled / not implemented on connected CPU.
J-Link>loadbin “D:RT-ThreadStudioworkspacetestDebugrtthread.bin” 0x08000000
‘loadbin’: Performing implicit reset & halt of MCU.
Reset type: NORMAL (
https://wiki.segger.com/J-Link_Reset_Strategies)
Reset: Halt core after reset via DEMCR.VC_CORERESET.
Reset: Reset device via AIRCR.SYSRESETREQ.
Downloading file [D:RT-ThreadStudioworkspacetestDebugrtthread.bin]…
J-Link: Flash download: Bank 0 @ 0x08000000: Skipped. Contents already match
O.K.
J-Link>setpc 0x08000000
J-Link>r
Reset delay: 0 ms
Reset type: NORMAL (
https://wiki.segger.com/J-Link_Reset_Strategies)
Reset: Halt core after reset via DEMCR.VC_CORERESET.
Reset: Reset device via AIRCR.SYSRESETREQ.
J-Link>g
Memory map ‘after startup completion point’ is active
J-Link>q
Script processing completed.
OnDisconnectTarget() start
OnDisconnectTarget() end - Took 529us
执行完毕, 耗时:4096ms.
开始下载程序:2025-10-20 21:28:35
Download Start Address: 0x08000000
D:RT-ThreadStudio>”D:/RT-ThreadStudio/repo/Extract/Debugger_Support_Packages/SEGGER/J-Link/v8.48JLink.exe” -device STM32F103ZE -ExitOnError -CommanderScript C:Users35238DesktopStm32_demodemo/.metadata/Temp/rtthread_download_init.jlink
SEGGER J-Link Commander V8.48 (Compiled Jul 2 2025 12:04:01)
DLL version V8.48, compiled Jul 2 2025 12:03:07
J-Link Commander will now exit on Error
J-Link Command File read successfully.
Processing script file…
J-Link>si 1
J-Link connection not established yet but required for command.
Connecting to J-Link via USB…O.K.
Firmware: J-Link V9 compiled May 7 2021 16:26:12
Hardware version: V9.40
J-Link uptime (since boot): N/A (Not supported by this model)
S/N: 69401057
License(s): RDI, GDB, FlashDL, FlashBP, JFlash
VTref=3.258V
Selecting SWD as current target interface.
J-Link>exec device=STM32F103ZE
Device “STM32F103ZE” selected.
J-Link>speed auto
Selecting auto as target interface speed
J-Link>r
Target connection not established yet but required for command.
Device “STM32F103ZE” selected.
Connecting to target via SWD
InitTarget() start
SWD selected. Executing JTAG -> SWD switching sequence.
DAP initialized successfully.
InitTarget() end - Took 21.6ms
Found SW-DP with ID 0x1BA01477
DPIDR: 0x1BA01477
CoreSight SoC-400 or earlier
Scanning AP map to find all available APs
AP[1]: Stopped AP scan as end of AP map has been reached
AP[0]: AHB-AP (IDR: 0x14770011, ADDR: 0x00000000)
Iterating through AP map to find AHB-AP to use
AP[0]: Core found
AP[0]: AHB-AP ROM base: 0xE00FF000
CPUID register: 0x411FC231. Implementer code: 0x41 (ARM)
Found Cortex-M3 r1p1, Little endian.
FPUnit: 6 code (BP) slots and 2 literal slots
CoreSight components:
ROMTbl[0] @ E00FF000
[0][0]: E000E000 CID B105E00D PID 001BB000 SCS
[0][1]: E0001000 CID B105E00D PID 001BB002 DWT
[0][2]: E0002000 CID B105E00D PID 000BB003 FPB
[0][3]: E0000000 CID B105E00D PID 001BB001 ITM
[0][4]: E0040000 CID B105900D PID 001BB923 TPIU-Lite
[0][5]: E0041000 CID B105900D PID 101BB924 ETM-M3
Memory zones:
Zone: “Default” Description: Default access mode
Cortex-M3 identified.
Reset delay: 0 ms
Reset type: NORMAL (
https://wiki.segger.com/J-Link_Reset_Strategies)
Reset: Halt core after reset via DEMCR.VC_CORERESET.
Reset: Reset device via AIRCR.SYSRESETREQ.
J-Link>h
PC = 08008244, CycleCnt = 00000000
R0 = 00000000, R1 = 00000000, R2 = 20001498, R3 = 00000000
R4 = DEADBEEF, R5 = DEADBEEF, R6 = DEADBEEF, R7 = 20000CA8
R8 = DEADBEEF, R9 = DEADBEEF, R10= DEADBEEF, R11= DEADBEEF
R12= 00000000
SP(R13)= 20000B20, MSP= 20000B20, PSP= 20000CA8, R14(LR) = FFFFFFFF
XPSR = 01000000: APSR = nzcvq, EPSR = 01000000, IPSR = 000 (NoException)
CFBP = 00000000, CONTROL = 00, FAULTMASK = 00, BASEPRI = 00, PRIMASK = 00
FPU regs: FPU not enabled / not implemented on connected CPU.
J-Link>loadbin “D:RT-ThreadStudioworkspacetestDebugrtthread.bin” 0x08000000
‘loadbin’: Performing implicit reset & halt of MCU.
Reset type: NORMAL (
https://wiki.segger.com/J-Link_Reset_Strategies)
Reset: Halt core after reset via DEMCR.VC_CORERESET.
Reset: Reset device via AIRCR.SYSRESETREQ.
Downloading file [D:RT-ThreadStudioworkspacetestDebugrtthread.bin]…
J-Link: Flash download: Bank 0 @ 0x08000000: Skipped. Contents already match
O.K.
J-Link>setpc 0x08000000
J-Link>r
Reset delay: 0 ms
Reset type: NORMAL (
https://wiki.segger.com/J-Link_Reset_Strategies)
Reset: Halt core after reset via DEMCR.VC_CORERESET.
Reset: Reset device via AIRCR.SYSRESETREQ.
J-Link>g
Memory map ‘after startup completion point’ is active
J-Link>q
Script processing completed.
OnDisconnectTarget() start
OnDisconnectTarget() end - Took 565us
执行完毕, 耗时:35633ms.
为什么两次速度差这么多