工具/软件:
尊敬的 TI 专家:
我在 tms320f28p650dk 的 CPU2 中使用 device_delay_US
我正在进入 __interrupt void Interrupt_illegalOperationHandler (void)
第三个字节
在 CPU2 中使用此函数应该怎么做。
非常感谢任何指导、文档链接或示例项目。
提前感谢!
Ranjith。
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.
工具/软件:
尊敬的 TI 专家:
我在 tms320f28p650dk 的 CPU2 中使用 device_delay_US
我正在进入 __interrupt void Interrupt_illegalOperationHandler (void)
第三个字节
在 CPU2 中使用此函数应该怎么做。
非常感谢任何指导、文档链接或示例项目。
提前感谢!
Ranjith。
通过定义 _FLASH 进行设置
问题已被清除
#ifdef _flash
#ifndef CMDTOOL
//
//将时间关键型代码和闪存设置代码复制到 RAM。 这包括
//以下函数:InitFlash ();
//
// RamfuncsLoadStart、RamfuncsLoadSize 和 RamfuncsRunStart 符号
//由链接器创建。 请参阅器件.cmd 文件。
//
memcpy (&RamfuncsRunStart、&RamfuncsLoadStart、(size_t)&RamfuncsLoadSize);
#endif
//
//调用闪存初始化以设置闪存等待状态。 该功能必须
//驻留在 RAM 中。
//
FLASH_initModule (FLASH0CTRL_BASE、FLASH0ECC_BASE、DEVICE_FLASH_WAITSTAT);
#endif