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.

TMS320F28069F: CMD文件中能体现 中断函数的存储地址 与 中断矢量表的入口地址关联么?我想把中断函数放到自己指定的物理地址,可以么?

Part Number: TMS320F28069F
Other Parts Discussed in Thread: POWERSUITE, C2000WARE

在C2000的demo项目文件中,一般都有定义的中断服务程序,中断服务程序的物理地址是怎样与中断向量表的相应内容关联起来的?能从CMD文件 能看出来这种关系么?还是必须要用标准的函数名?在powersuite库中,有些中断函数是用汇编语言编写的,更加难看出其中对应的关联。

  • 你好,函数名是自己定义的,要将中断函数地址与中断向量连接起来。

    例如该例程C:\ti\c2000\C2000Ware_4_03_00_00\device_support\f2806x\examples\c28\epwm_timer_interrupts

    在主函数中就将两者连接了起来。我认为这是实现中断的必要方式,在powersuite库中应该同样如此。CMD中并不能体现这种关系。