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.

CCS/TMS320F28377D: Interrupt ramfunc problem when using flash API

Part Number: TMS320F28377D

Tool/software: Code Composer Studio

Hi, I'm facing a problem to program flash by calling flash api. My application using interrupt while calling flash api.

After searching in e2e, I copy all my interrupt into ram instead running on flash

(

C28x Flash API interrupt - C2000 microcontrollers forum - C2000™︎ microcontrollers - TI E2E support ...

e2e.ti.com
Hi, I'm facing some problems when I use the Flash API program instructions on my F28035. All my interrupts are enable so I guess some code is running from flash
)

But still wondering, my interrupt have many sub function, which is like

interrupt void ext_int4_isr(void) {

 function1();

 function2();

}

Do I need to put function1 and 2 into ram by "pragma CODE_SECTION"? Or only set the top function ext_int4_isr() to ram is fine enough?

  • Willie,

    There should not be any access to a flash bank when an erase or program operation is in progress on that bank.

    Please copy all the sub functions as well to RAM.

    Thanks and regards,
    Vamsi