完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
|
开发环境:野火的STM32f407, rt-thread studio版本是版本:2.2.6, stm32f4的资源包为0.2.2, stlink使用正确点源的。 可以下载,不能在线调试。 下载:
在线调试,仿真:
控制台信息如下: STMicroelectronics ST-LINK GDB server. Version 7.0.0 Copyright (c) 2022, STMicroelectronics. All rights reserved. Starting server with the following options: Persistent Mode : Disabled LogFile Name : debug.log Logging Level : 31 Listen Port Number : 61235 Status Refresh Delay : 15s Verbose Mode : Disabled COM frequency = 9000 kHz Target connection mode: Default Reading ROM table for AP 0 @0xe00fffd0 Hardware watchpoint supported by the target ST-LINK Firmware version : V2J40S7 Device ID: 0x413 PC: 0x1fff4bcc ST-LINK device status: HALT_MODE ST-LINK detects target voltage = 3.14 V ST-LINK device status: HALT_MODE Stm32Device, pollAndNotify running... ST-LINK device initialization OK SwvSrv state change: 0 -> 1 Waiting for connection on port 61236... Waiting for debugger connection... Waiting for connection on port 61235... Accepted connection on port 61235... Debugger connected Waiting for debugger connection... Waiting for connection on port 61235... GDB session thread running GdbSessionManager, session started: 1 Wrapping read detected. Addr: 0xffffffff; Length: 4 Wrapping read detected. Addr: 0xffffffff; Length: 4 Stm32Device, closeDevice() entry GDB session, device event: 5 Stm32Device, pollAndNotify stopped Stm32Device, closeDevice() exit ------ Switching to STM32CubeProgrammer ----- ------------------------------------------------------------------- STM32CubeProgrammer v2.11.0 ------------------------------------------------------------------- Log output file: C:UsersAppDataLocalTempSTM32CubeProgrammer_a04772.log ST-LINK SN : 2D3575120303512030303032 ST-LINK FW : V2J40S7 Board : -- Voltage : 3.14V JTAG freq : 9000 KHz Connect mode: Under Reset Reset mode : Hardware reset Device ID : 0x413 Revision ID : Rev Y Device name : STM32F405xx/F407xx/F415xx/F417xx Flash size : 1 MBytes (default) Device type : MCU Device CPU : Cortex-M4 BL Version : -- Memory Programming ... Opening and parsing file: ST-LINK_GDB_server_a04772.srec File : ST-LINK_GDB_server_a04772.srec Size : 55.10 KB Address : 0x08000000 Erasing memory corresponding to segment 0: Erasing internal memory sectors [0 3] Download in Progress: File download complete Time elapsed during download operation: 00:00:03.892 ------ Switching context ----- COM frequency = 9000 kHz Target connection mode: Default Reading ROM table for AP 0 @0xe00fffd0 Hardware watchpoint supported by the target ST-LINK Firmware version : V2J40S7 Device ID: 0x413 PC: 0x1fff4bcc ST-LINK detects target voltage = 3.14 V ST-LINK device status: HALT_MODE Stm32Device, pollAndNotify running... GDB session, device event: 6 Enter STM32_SystemReset() function Enter STM32_InitAfterReset() function NVIC_DFSR_REG = 0x00000008 NVIC_CFGFSR_REG = 0x00000000 GDB session, device event: 3 GDB session, device event: 1 ST-LINK device status: RUN_MODE |
|
相关推荐
1个回答
|
|
|
新建了一个工程,又可以在线调试了
|
|
|
|
|
你正在撰写答案
如果你是对答案或其他答案精选点评或询问,请使用“评论”功能。
1092 浏览 0 评论
3044 浏览 0 评论
图腾柱PFC无法上升至400V,且电感电流为正弦波形,但是幅值极小
9411 浏览 0 评论
飞凌嵌入式ElfBoard-Vim编辑器之静态链接和动态链接
2900 浏览 0 评论
使用 LinkBoy 将程序导出为 C 语言代码并烧录至 Arduino ESP32 开发板
2305 浏览 1 评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-2 18:11 , Processed in 0.890256 second(s), Total 76, Slave 57 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
2432