This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

F28335程序跑飞问题



      我的程序中有定时中断,刚下完程序后,在中断中设置断点,第一次可以跑到中断中去,之后程序跑飞,去除断点此时就会出现这样的错误提示:trouble

Removing Breakpoint with the Action "Halt Target" at 0x815a: Error 0x00000008/-1076 Error during: Break Point,  Cannot set/verify breakpoint at 0x0000815A

之后再下载程序也都跑飞,不能正常工作,不知是什么原因? 

  • john,

    你是否是用real time mode进行仿真的?

    Eric

  • Eric,

    谢谢您的回答,我没有使用real time mode 进行仿真。程序跑飞以后老是进入这样的语句:1F0001 FFFF ITRAP1  之后又有一串,

    有时会进入  ------ ---- ------  这样的地方,或者是code_start:     .if WD_DISABLE == 1         LB wd_disable       ;Branch to watchdog disable code     .else         LB

    _c_int00         ;Branch to start of boot.asm in RTS library     .endif    这些地方,是在做运算时跑飞的,不知道是什么问题?

    听网上的人说可能存储空间映射的问题?

     

     

  • 进入ITRAP1是进入软件陷阱了,这种情况下可能是对定时器模块的使用有问题,仔细检查下代码;或者先将定时器关掉,定时器相应代码屏蔽看看是否还是一样。

    进入code_start是系统复位了,重新进c_int00;如果使能了看门狗,考虑是否是你程序跑飞后,看门狗复位了。