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.

initflash in tmsf28335

Other Parts Discussed in Thread: TMS320F28335

hi

i change the .c file to .cpp in tms320f28335 project and i use the following instructions for initflash

#ifdef __cplusplus

#pragma DATA_SECTION("ramfuncs")

#else

#pragma CODE_SECTION(InitFlash,"ramfuncs");

#endif

and the project build successful and load to flash

but the program stop the follow section

 

interrupt void ILLEGAL_ISR(void)

{

asm("            ESTOPO");

for(;;);

}

please help me

thanks