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.

[参考译文] TMS320F28P650DK:device_delay_US

Guru**** 2538950 points
Other Parts Discussed in Thread: TMS320F28P650DK

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1554060/tms320f28p650dk-device_delay_us

器件型号:TMS320F28P650DK


工具/软件:

尊敬的 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