求大虾指点,基于IAR的DEBUG问题
芯片:STM32F103C8软件版本:IAR6.3
J-LINK RDI V4.34
电脑系统WIN7旗舰版,ghost安装
安装软件与注册码均采用“以管理员身份运行”
目前编译正常,如下:
Building configuration: exam_1 - Debug
Updating build tree...
38file(s) deleted.
Updating build tree...
74164.c
Systick.c
Timer.c
can.c
delay.c
keyscan.c
main.c
misc.c
startup_stm32f10x_md.s
stm32f10x_can.c
stm32f10x_gpio.c
stm32f10x_it.c
stm32f10x_iwdg.c
stm32f10x_rcc.c
stm32f10x_tim.c
stm32f10x_wwdg.c
system_stm32f10x.c
watchdog.c
Linking
exam_1.out
Total number of errors: 0
Total number of warnings: 0
debug后会出现警告,且无法单步运行,如下:
Sun Nov 10, 2013 08:29:05: Loaded macro file: C:\Program Files\IAR Systems\Embedded Workbench 6.0\arm\config\flashloader\ST\FlashSTM32F10xxx.mac
Sun Nov 10, 2013 08:29:06: Sign on message from :
Segger JLink ARM JTAG
Sun Nov 10, 2013 08:29:06: -I- execUserFlashInit!
Sun Nov 10, 2013 08:29:06: 456 bytes downloaded and verified (2.03 Kbytes/sec)
Sun Nov 10, 2013 08:29:06: Loaded debugee: C:\Program Files\IAR Systems\Embedded Workbench 6.0\arm\config\flashloader\ST\FlashSTM32F10xxxRAM10K.out
Sun Nov 10, 2013 08:29:06: Target reset
Sun Nov 10, 2013 08:29:06: Downloaded D:\art data\item data\changshu\can\CPU\20131104\Debug\Exe\exam_1.out to flash memory.
Sun Nov 10, 2013 08:29:07: 3456 bytes downloaded into FLASH and verified (12.74 Kbytes/sec)
Sun Nov 10, 2013 08:29:07: Warning: Target inconsistency detected in Memory range 0x08000004-0x08000D7F
Sun Nov 10, 2013 08:29:19: Warning: There were warnings during download, see Log Window
Sun Nov 10, 2013 08:29:19: Loaded debugee: D:\art data\item data\changshu\can\CPU\20131104\Debug\Exe\exam_1.out
Sun Nov 10, 2013 08:29:19: Target reset
Sun Nov 10, 2013 08:29:19: There was 1 warning during the initialization of the debugging session.
另外,在project-options下的设置:
general options-device:“ST STM32F10xx8”
linker:“D:\art data\item data\changshu\can\CPU\20131104\EVARM\stm32f10x_flash.icf”
debugger-drive:“RDI”
RDI-manufacturer RDI driver:“C:\Program Files\SEGGER\JLinkARM_V434\JLinkRDI.dll”
请大神指导
两天了,只有路过的,悲剧的…… 3天了,无人问津…… 你用的JLINK调试,为什么要用RDI,不直接用JLINK驱动调试?
C:\Users\Administrator\Desktop\QQ图片20131113091919.jpg 原来发图不是这么发的。。。 疑问排除,更换JLINK的版本即OK:把原来的J-LINK RDI V4.34换成J-LINK RDI V4.04a即可!!!
页:
[1]