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

Part Number: TMS320F28P650DK

Tool/software:

Hi TI experts!

i am using DEVICE_DELAY_US in cpu2 in tms320f28p650dk

i am getting into __interrupt void Interrupt_illegalOperationHandler(void)

after the function call 

what should i do to use this function in cpu2.

Any guidance, documentation links, or example projects would be greatly appreciated.

Thanks in advance!

Ranjith.

  • by defining _FLASH 
    the issue has been cleared


    #ifdef _FLASH
    #ifndef CMDTOOL
    //
    // Copy time critical code and flash setup code to RAM. This includes the
    // following functions: InitFlash();
    //
    // The RamfuncsLoadStart, RamfuncsLoadSize, and RamfuncsRunStart symbols
    // are created by the linker. Refer to the device .cmd file.
    //
    memcpy(&RamfuncsRunStart, &RamfuncsLoadStart, (size_t)&RamfuncsLoadSize);
    #endif
    //
    // Call Flash Initialization to setup flash waitstates. This function must
    // reside in RAM.
    //
    Flash_initModule(FLASH0CTRL_BASE, FLASH0ECC_BASE, DEVICE_FLASH_WAITSTATES);
    #endif