ВходНаше всё Теги codebook 无线电组件 Поиск Опросы Закон Четверг
21 ноября
1411483 Топик полностью
Rainman62 (07.03.2024 13:19, просмотров: 158) ответил RxTx на Ну включай логгинг JLinkа и давай сюда тогда.
Извольте ... 
SEGGER J-Link GDB Server V7.94k Command Line Version 

JLinkARM.dll V7.94k (DLL compiled Feb 21 2024 16:30:13)

Command line: -if swd -device STM32H743ZI -endian little -speed auto -port 2331 -swoport 2332 -telnetport 2333 -vd -ir -localhostonly 1 -singlerun -strict -timeout 0 -nogui

-----GDB Server start settings-----

GDBInit file: none

GDB Server Listening port: 2331

SWO raw output listening port: 2332

Terminal I/O port: 2333

Accept remote connection: localhost only

Generate logfile: off

Verify download: on

Init regs on start: on

Silent mode: off

Single run mode: on

Target connection timeout: 0 ms

------J-Link related settings------

J-Link Host interface: USB

J-Link script: none

J-Link settings file: none

------Target related settings------

Target device: STM32H743ZI

Target device parameters: none

Target interface: SWD

Target interface speed: auto

Target endian: little

Connecting to J-Link...

J-Link is connected.

Firmware: J-Link STLink V21 compiled Aug 12 2019 10:29:20

Hardware: V1.00

S/N: 775049630

Checking target voltage...

Target voltage: 3.30 V

Listening on TCP/IP port 2331

Connecting to target...

Halting core...

Initializing CPU registers...Connected to target

Waiting for GDB connection...Connected to 127.0.0.1

GDB client (conn. 13) requested target.xml from GDB Server

Reading common registers: Read register 'r0' (4 bytes) from hardware: 0x00000000

Read register 'r1' (4 bytes) from hardware: 0x00000000

Read register 'r2' (4 bytes) from hardware: 0x00000000

Read register 'r3' (4 bytes) from hardware: 0x00000000

Read register 'r4' (4 bytes) from hardware: 0x00000000

Read register 'r5' (4 bytes) from hardware: 0x00000000

Read register 'r6' (4 bytes) from hardware: 0x00000000

Read register 'r7' (4 bytes) from hardware: 0x00000000

Read register 'r8' (4 bytes) from hardware: 0x00000000

Read register 'r9' (4 bytes) from hardware: 0x00000000

Read register 'r10' (4 bytes) from hardware: 0x00000000

Read register 'r11' (4 bytes) from hardware: 0x00000000

Read register 'r12' (4 bytes) from hardware: 0x00000000

Read register 'sp' (4 bytes) from hardware: 0x00000000

Read register 'lr' (4 bytes) from hardware: 0x00000000

Read register 'pc' (4 bytes) from hardware: 0x00000000

Read register 'xpsr' (4 bytes) from hardware: 0x00000001

Read 4 bytes @ address 0x00000000 (Data = 0xCBD136C0)

Read 2 bytes @ address 0x00000000 (Data = 0x36C0)

Received monitor command: speed 1000

Target interface speed set to 1000 kHz

Received monitor command: speed auto

Select auto target interface speed (2000 kHz)

Received monitor command: flash breakpoints 1

Flash breakpoints enabled

Received monitor command: semihosting enable

Semi-hosting enabled (Handle on breakpoint instruction hit)

Received monitor command: semihosting IOClient 1

Semihosting I/O set to TELNET Client

Downloading 736 bytes @ address 0x08000000 - Verified OK

Downloading 15968 bytes @ address 0x080002E0 - Verified OK

Downloading 2580 bytes @ address 0x08004140 - Verified OK

Downloading 2452 bytes @ address 0x08004B54 - Verified OK

Downloading 100 bytes @ address 0x080054E8 - Verified OK

Writing register 'pc' = 0x080003B8

ERROR: Failed to prepare RAMCode using RAM

Read 4 bytes @ address 0x080003B8 (Data = 0xF000E792)

Read 2 bytes @ address 0x080003B8 (Data = 0xE792)

Read 2 bytes @ address 0x08004120 (Data = 0xD1EC)

Received monitor command: clrbp

Received monitor command: reset

Resetting target

Received monitor command: halt

Halting target CPU...

...Target halted (PC = 0x080003B8)

Read 2 bytes @ address 0x08004120 (Data = 0xD1EC)

Received monitor command: regs

R0 = 00000000, R1 = 00000000, R2 = 00000000, R3 = 00000000

R4 = 00000000, R5 = 00000000, R6 = 00000000, R7 = 00000000

R8 = 00000000, R9 = 00000000, R10= 00000000, R11= 00000000

R12= 00000000, R13= 20000400, MSP= 20000400, PSP= 00000000

R14(LR) = FFFFFFFF, R15(PC) = 080003B8

XPSR 01000000, APSR 00000000, EPSR 01000000, IPSR 00000000

CFBP 00000000, CONTROL 00, FAULTMASK 00, BASEPRI 00, PRIMASK 00

Security extension regs:

MSP_S = 00000000, MSPLIM_S = 00000000

PSP_S = 00000000, PSPLIM_S = 00000000

MSP_NS = 20000400, MSPLIM_NS = 00000000

PSP_NS = 00000000, PSPLIM_NS = 00000000

CONTROL_S 00, FAULTMASK_S 00, BASEPRI_S 00, PRIMASK_S 00

CONTROL_NS 00, FAULTMASK_NS 00, BASEPRI_NS 00, PRIMASK_NS 00

Reading common registers: Read register 'r0' (4 bytes) from hardware: 0x00000000

Read register 'r1' (4 bytes) from hardware: 0x00000000

Read register 'r2' (4 bytes) from hardware: 0x00000000

Read register 'r3' (4 bytes) from hardware: 0x00000000

Read register 'r4' (4 bytes) from hardware: 0x00000000

Read register 'r5' (4 bytes) from hardware: 0x00000000

Read register 'r6' (4 bytes) from hardware: 0x00000000

Read register 'r7' (4 bytes) from hardware: 0x00000000

Read register 'r8' (4 bytes) from hardware: 0x00000000

Read register 'r9' (4 bytes) from hardware: 0x00000000

Read register 'r10' (4 bytes) from hardware: 0x00000000

Read register 'r11' (4 bytes) from hardware: 0x00000000

Read register 'r12' (4 bytes) from hardware: 0x00000000

Read register 'sp' (4 bytes) from hardware: 0x00040020

Read register 'lr' (4 bytes) from hardware: 0xFFFFFFFF

Read register 'pc' (4 bytes) from hardware: 0xB8030008

Read register 'xpsr' (4 bytes) from hardware: 0x00000001

Setting breakpoint @ address 0x08004120, Kind = 2, Type = THUMB, BPHandle = 0x0001

Starting target CPU...

...Breakpoint (set by 'GDB') reached @ address 0x08004120

Reading common registers: Read register 'r0' (4 bytes) from hardware: 0x7F000000

Read register 'r1' (4 bytes) from hardware: 0x00ED00E0

Read register 'r2' (4 bytes) from hardware: 0xFFFFFFFF

Read register 'r3' (4 bytes) from hardware: 0x7E000000

Read register 'r4' (4 bytes) from hardware: 0x19E00FF0

Read register 'r5' (4 bytes) from hardware: 0x00000000

Read register 'r6' (4 bytes) from hardware: 0x00000000

Read register 'r7' (4 bytes) from hardware: 0x00000000

Read register 'r8' (4 bytes) from hardware: 0x00000000

Read register 'r9' (4 bytes) from hardware: 0x00000000

Read register 'r10' (4 bytes) from hardware: 0x00000000

Read register 'r11' (4 bytes) from hardware: 0x00000000

Read register 'r12' (4 bytes) from hardware: 0x00000000

Read register 'sp' (4 bytes) from hardware: 0xFC070020

Read register 'lr' (4 bytes) from hardware: 0x03030008

Read register 'pc' (4 bytes) from hardware: 0x20410008

Read register 'xpsr' (4 bytes) from hardware: 0x00000021

Removing breakpoint @ address 0x08004120, Size = 2

Read 4 bytes @ address 0x08004120 (Data = 0xF3BFD1EC)

Starting target CPU...