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.

TMS320F28069: F28069 is fine in the debug mode, the release mode does not run the program,

Part Number: TMS320F28069
Other Parts Discussed in Thread: CONTROLSUITE

F28069 is fine  in the debug mode, the release mode does not run the program, online debugging into the illegal interrupt. In the initialization of ADC in DELAY_US (ADC_usDELAY); jumped into llegal operation TRAP interrupt, origin = 0x008008 can not find the source file. 

  • Hi Alvin,

    Why release mode? If you want to convert your RAM based code to flash based, you can simply follow these steps:

    Here are the steps:
    You need to add these two statements

    MemCopy(&RamfuncsLoadStart, &RamfuncsLoadEnd, &RamfuncsRunStart);
    InitFlash(); after InitPieVectTable();

    Add DSP2806x_MemCopy.c file to the project.

    Define extern variables above main() function.

    extern Uint16 RamfuncsLoadStart;
    extern Uint16 RamfuncsLoadEnd;
    extern Uint16 RamfuncsRunStart;

    Replace 28069_RAM_lnk.cmd with F28069.cmd
    Compile the code.
    Configure your GPIO's to boot to flash.

    Also, you can refer a direct example code present here:
    C:\ti\controlSUITE\device_support\f2806x\v151\F2806x_examples_ccsv5\flash_f28069

    Regards,
    Gautam