野火电子论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 9990|回复: 5

我的仿真器,下载了程序无法工作,只能断开使用外部供电

[复制链接]
发表于 2015-12-23 17:49:30 | 显示全部楼层 |阅读模式
Rebuild target 'Target 1'
assembling startup_stm32f10x_hd.s...
compiling core_cm3.c...
compiling system_stm32f10x.c...
compiling misc.c...
compiling stm32f10x_adc.c...
compiling stm32f10x_bkp.c...
compiling stm32f10x_can.c...
compiling stm32f10x_cec.c...
compiling stm32f10x_crc.c...
compiling stm32f10x_dac.c...
compiling stm32f10x_dbgmcu.c...
compiling stm32f10x_dma.c...
compiling stm32f10x_exti.c...
compiling stm32f10x_flash.c...
compiling stm32f10x_fsmc.c...
compiling stm32f10x_gpio.c...
compiling stm32f10x_i2c.c...
compiling stm32f10x_iwdg.c...
compiling stm32f10x_pwr.c...
compiling stm32f10x_rcc.c...
compiling stm32f10x_rtc.c...
compiling stm32f10x_sdio.c...
compiling stm32f10x_spi.c...
compiling stm32f10x_tim.c...
compiling stm32f10x_usart.c...
compiling stm32f10x_wwdg.c...
compiling stm32f10x_it.c...
compiling main.c...
linking...
Program Size: Code=912 RO-data=320 RW-data=0 ZI-data=1024  
FromELF: creating hex file...
"..\..\Output\LED-LIB.axf" - 0 Error(s), 0 Warning(s).
Load "..\\..\\Output\\LED-LIB.axf"
Erase Done.
Programming Done.
Verify OK.


building output显示到验证ok,并没有教程中说的application running,不知道是为什么,目前,我用仿真器无法仿真,仿真器只能下载程序,

QQ图片20151223174428.jpg
回复

使用道具 举报

发表于 2015-12-23 17:52:00 | 显示全部楼层
你这个下载已经完成了,复位一下开发板就好。

想下载后直接运行,在flash配置里要设置成 Reset and run
回复 支持 反对

使用道具 举报

 楼主| 发表于 2015-12-23 17:56:13 | 显示全部楼层
flyleaf 发表于 2015-12-23 17:52
你这个下载已经完成了,复位一下开发板就好。

想下载后直接运行,在flash配置里要设置成 Reset and run

我按了复位键,但是led依然没有闪烁不知道为什么,去群里,人太多了,问着问着就断了。所以来论坛了
回复 支持 反对

使用道具 举报

 楼主| 发表于 2015-12-23 17:58:46 | 显示全部楼层
flyleaf 发表于 2015-12-23 17:52
你这个下载已经完成了,复位一下开发板就好。

想下载后直接运行,在flash配置里要设置成 Reset and run

更改设置后已经有application running了,但是led没闪烁,也就是说应该程序没跑
回复 支持 反对

使用道具 举报

发表于 2015-12-23 18:32:53 | 显示全部楼层
CrazyAnt 发表于 2015-12-23 17:58
更改设置后已经有application running了,但是led没闪烁,也就是说应该程序没跑

不要只用下载器供电,电流不够大的,要接上板子的usb口给板子供电
回复 支持 反对

使用道具 举报

发表于 2015-12-23 18:47:25 | 显示全部楼层
CrazyAnt 发表于 2015-12-23 17:56
我按了复位键,但是led依然没有闪烁不知道为什么,去群里,人太多了,问着问着就断了。所以来论坛了

仿真器本身供电不够,用电源再另外供电即可   
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

联系站长|手机版|野火电子官网|野火淘宝店铺|野火电子论坛 ( 粤ICP备14069197号 ) 大学生ARM嵌入式2群

GMT+8, 2024-5-6 10:00 , Processed in 0.037163 second(s), 26 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表