IAR 5.30+STM32 3.0库+JLINK,无法再FLASH中调试,RAM里没问题

[复制链接]
5773|2
 楼主| 礦ision 发表于 2009-11-2 18:24 | 显示全部楼层 |阅读模式
本帖最后由 礦ision 于 2009-11-2 18:25 编辑

void NVIC_Configuration(void)
{
#ifndef  EMB_FLASH
  /* Set the Vector Table base location at 0x20000000 */
  NVIC_SetVectorTable(NVIC_VectTab_RAM, 0x0);
#else  /* VECT_TAB_FLASH  */
  /* Set the Vector Table base location at 0x08000000 */
  NVIC_SetVectorTable(NVIC_VectTab_FLASH, 0x0);
#endif




option——C/C++ Complier——defined symbols里加上了VECT_TAB_FLASH
option——debugger——use flash lodder勾上了
option——Linker——Config里选上了stm32f10x_flash.icf

可就是不能在FLASH里调试,提示:
IARIdePm: the debugging session could not be started。
Either the debugger initialization failed, or else the file "D:\.....\xx.out" was corrupt or of an unsupported format.
There might be more information in de Debug Log window.
vigia 发表于 2009-11-3 09:57 | 显示全部楼层
options->General Options->Target:Device 型号选对了吗?

"There might be more information in de Debug Log window.”把你的Log窗口的内容也贴上来看看。

评分

参与人数 1威望 +1 收起 理由
礦ision + 1

查看全部评分

 楼主| 礦ision 发表于 2009-11-3 16:19 | 显示全部楼层
谢谢楼上
确实是粗心大意选错型号了
您需要登录后才可以回帖 登录 | 注册

本版积分规则

17

主题

66

帖子

0

粉丝
快速回复 在线客服 返回列表 返回顶部