完善资料让更多小伙伴认识你,还能领取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个回答
|
|
新建了一个工程,又可以在线调试了
|
|
|
|
你正在撰写答案
如果你是对答案或其他答案精选点评或询问,请使用“评论”功能。
792 浏览 0 评论
4507 浏览 0 评论
如何使用python调起UDE STK5.2进行下载自动化下载呢?
2564 浏览 0 评论
开启全新AI时代 智能嵌入式系统快速发展——“第六届国产嵌入式操作系统技术与产业发展论坛”圆满结束
2939 浏览 0 评论
获奖公布!2024 RT-Thread全球巡回线下培训火热来袭!报名提问有奖!
31587 浏览 11 评论
72967 浏览 21 评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-23 19:17 , Processed in 0.621021 second(s), Total 74, Slave 55 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号