你的浏览器版本过低,可能导致网站不能正常访问!
为了你能正常使用网站功能,请使用这些浏览器。

stm32F407 进不了main函数

[复制链接]
annQian 提问时间:2019-1-2 14:40 /
Load "..\\OBJ\\Template.axf"
* JLink Info: Reset: Halt core after reset via DEMCR.VC_CORERESET.
* JLink Info: Reset: Reset device via AIRCR.SYSRESETREQ.
WS 1, `mem1base
WS 1, `mem2base
WS 1, `mem3base
WS 2, `paddr_8
WS 2, `paddr_16
WS 2, `paddr_32
**JLink Warning: T-bit of XPSR is 0 but should be 1. Changed to 1.
***JLink Error: Can not read register 33 (FPS0) while CPU is running
***JLink Error: Can not read register 34 (FPS1) while CPU is running
***JLink Error: Can not read register 35 (FPS2) while CPU is running
***JLink Error: Can not read register 36 (FPS3) while CPU is running
***JLink Error: Can not read register 37 (FPS4) while CPU is running
***JLink Error: Can not read register 38 (FPS5) while CPU is running
***JLink Error: Can not read register 39 (FPS6) while CPU is running
***JLink Error: Can not read register 40 (FPS7) while CPU is running
***JLink Error: Can not read register 41 (FPS8) while CPU is running
***JLink Error: Can not read register 42 (FPS9) while CPU is running
***JLink Error: Can not read register 43 (FPS10) while CPU is running
***JLink Error: Can not read register 44 (FPS11) while CPU is running
***JLink Error: Can not read register 45 (FPS12) while CPU is running
***JLink Error: Can not read register 46 (FPS13) while CPU is running
***JLink Error: Can not read register 47 (FPS14) while CPU is running
***JLink Error: Can not read register 48 (FPS15) while CPU is running
***JLink Error: Can not read register 49 (FPS16) while CPU is running
***JLink Error: Can not read register 50 (FPS17) while CPU is running
***JLink Error: Can not read register 51 (FPS18) while CPU is running
***JLink Error: Can not read register 52 (FPS19) while CPU is running
***JLink Error: Can not read register 53 (FPS20) while CPU is running
***JLink Error: Can not read register 54 (FPS21) while CPU is running
***JLink Error: Can not read register 55 (FPS22) while CPU is running
***JLink Error: Can not read register 56 (FPS23) while CPU is running
***JLink Error: Can not read register 57 (FPS24) while CPU is running
***JLink Error: Can not read register 58 (FPS25) while CPU is running
***JLink Error: Can not read register 59 (FPS26) while CPU is running
***JLink Error: Can not read register 60 (FPS27) while CPU is running
***JLink Error: Can not read register 61 (FPS28) while CPU is running
***JLink Error: Can not read register 62 (FPS29) while CPU is running
***JLink Error: Can not read register 63 (FPS30) while CPU is running
***JLink Error: Can not read register 64 (FPS31) while CPU is running

请问这是什么问题?
收藏 评论4 发布时间:2019-1-2 14:40

举报

4个回答
andey 回答时间:2019-1-2 14:47:46
提示: 作者被禁止或删除 内容自动屏蔽
annQian 回答时间:2019-1-3 09:10:40
我个人觉得也是板子的问题,但是用JFlash擦除和烧录都正常,而同样的工程再其它407芯片的单板上仿真正常,在问题单板上,点击“单步运行”,会提示“could not STOP cortex-M device! please check the JTAG cable”能否定位的原因?
annQian 回答时间:2019-1-3 10:45:26
出现这个现象的原因是 系统的晶振配置的不对,外部时钟由8M改为25M,system_stm32F4xx.c 中的M、N、P的值也要相应的更改。
沉淀zhi 回答时间:2019-1-3 11:09:00
查查晶振配置

评分

参与人数 1蝴蝶豆 +1 收起 理由
STMCU + 1

查看全部评分

所属标签

相似问题

关于
我们是谁
投资者关系
意法半导体可持续发展举措
创新与技术
意法半导体官网
联系我们
联系ST分支机构
寻找销售人员和分销渠道
社区
媒体中心
活动与培训
隐私策略
隐私策略
Cookies管理
行使您的权利
官方最新发布
STM32Cube扩展软件包
意法半导体边缘AI套件
ST - 理想汽车豪华SUV案例
ST意法半导体智能家居案例
STM32 ARM Cortex 32位微控制器
关注我们
st-img 微信公众号
st-img 手机版