2020-11-30 03:06 PM
Thank you for helping.
environment:
IDE: STM32CubeIDE Ver1.3.0
Board: Self-made board
Debugger: STLink V3-MINI
I connected to debug the board I made this time with IDE.
The situation is different from that of the evaluation board.
The following message is output to the console at startup.
from here
-------------------------------------------------- ----
STMicroelectronics ST-LINK GDB server. Version 5.5.0
Copyright (c) 2019, STMicroelectronics. All rights reserved.
Starting server with the following options:
Persistent Mode: Disabled
LogFile Name: C: \ STM32 \ STM32CubeIDE \ workspace_1.3.0 \ 769BIT6 \ Debug \ st-link_gdbserver_log.txt
Logging Level: 31
Listen Port Number: 61234
Status Refresh Delay: 15s
Verbose Mode: Enabled
SWD Debug: Enabled
Target connection mode: Attach
Hardware watchpoint supported by the target
COM frequency = 24000 kHz
ST-LINK Firmware version: V3J6M2
Device ID: 0x451
PC: 0x0
ST-LINK device status: RUN_MODE
ST-LINK detects target voltage = 3.32 V
ST-LINK device status: RUN_MODE
ST-LINK device initialization OK
Waiting for debugger connection ...
Waiting for connection on port 61234 ...
Accepted connection on port 61234 ...
Debugger connected
Try halt ...
ST-LINK device status: HALT_MODE
Enter STM32_AppReset () function
NVIC_DFSR_REG = 0x00000009
NVIC_CFGFSR_REG = 0x00000000
------ Switching to STM32CubeProgrammer -----
-------------------------------------------------- -----------------
STM32CubeProgrammer v2.4.0
-------------------------------------------------- -----------------
Log output file: C: \ Users \ bun \ AppData \ Local \ Temp \ STM32CubeProgrammer_a20336.log
ST-LINK SN: 003D00283137511533333639
ST-LINK FW: V3J6M2
Voltage: 3.27V
SWD freq: 24000 KHz
Connect mode: Under Reset
Reset mode: Hardware reset
Device ID: 0x451
Device name: STM32F76x / STM32F77x
Flash size: 2 MBytes
Device type: MCU
Device CPU: Cortex-M7
Memory Programming ...
Opening and parsing file: ST-LINK_GDB_server_a20336.srec
File: ST-LINK_GDB_server_a20336.srec
Size: 5940 Bytes
Address: 0x08000000
Erasing memory corresponding to segment 0:
Erasing internal memory sector 0
Download in Progress:
�������������������������������������������������� 0%
�������������������������������������������������� 100%
File download complete
Time elapsed during download operation: 00: 00: 00.516
Verifying ...
Read progress:
�������������������������������������������������� 50%
������������������ 34% �������� 51% ��������� 68% ���������� 86 % �������� 100%
Download verified successfully
------ Switching context -----
Target connection mode: Default
Hardware watchpoint supported by the target
COM frequency = 24000 kHz
ST-LINK Firmware version: V3J6M2
Device ID: 0x451
PC: 0x800076c
ST-LINK detects target voltage = 3.27 V
ST-LINK device status: HALT_MODE
ST-LINK device initialization OK
handle_vCont_c, continue thread
TraceCaptureStart and SWV event set to APP_FALSE (0)
NVIC_DFSR_REG = 0x0000000B
So far
-------------------------------------------------- ----
The following unfamiliar message is output when stepping.
handle_vCont_s, step thread
TraceCaptureStart and SWV event set to APP_FALSE (0)
NVIC_DFSR_REG = 0x00000001
handle_vCont_c, continue thread
TraceCaptureStart and SWV event set to APP_FALSE (0)
NVIC_DFSR_REG = 0x00000003
It doesn't seem to move well.
What's wrong?
Attach the log file.
Thank you.
Solved! Go to Solution.
2020-11-30 09:02 PM
Was self resolved.
I set it to output the log, so I thought it was strange.
I was able to actually debug.
I apologize to you for a fuss over.
2020-11-30 09:02 PM
Was self resolved.
I set it to output the log, so I thought it was strange.
I was able to actually debug.
I apologize to you for a fuss over.