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/TMS570LS0714: FEE memory write

Part Number: TMS570LS0714
Other Parts Discussed in Thread: HALCOGEN

Tool/software: Code Composer Studio

I am getting the following error when trying to write a binary file to memory in the FEE memory block,I am using CCS v6.2 and HALCoGen 04.05.02,and the device is TMS570LS0714 :

CortexR4: File Loader: Memory write failed: Flash algorithm returned an error during Flash programming. Note: Auto ECC generation is on, please make sure that the data sections are 64-bit memory aligned in your linker file; althernately, turn off Auto ECC generation in the On-Chip Flash settings
CortexR4: GEL: File: C:/Users/lusbyb/Desktop/wigwag_example.bin: Load failed.

  • Hello,

    The FEE is bank7, and very small. If you really want to program a small piece of code into FEE, you need to modify the cmd file for loading your project to the FEE.

    For example:

    MEMORY
    {
    VECTORS (X) : origin=0x00000000 length=0x00000020
    FLASH0 (RX) : origin=0x00000020 length=0x000BFFE0
    STACKS (RW) : origin=0x08000000 length=0x00001500
    RAM (RW) : origin=0x08001500 length=0x0001EB00
    FEE (RW) : origin=0xF0200000 length=0x00004000

    /* USER CODE BEGIN (2) */
    /* USER CODE END */
    }

    /* USER CODE BEGIN (3) */
    /* USER CODE END */

    /*----------------------------------------------------------------------------*/
    /* Section Configuration */

    SECTIONS
    {
    .intvecs : {} > VECTORS
    /* .text : {} > FLASH0
    .const : {} > FLASH0
    .cinit : {} > FLASH0
    .pinit : {} > FLASH0 */
    .text : {} > FEE
    .const : {} > FEE
    .cinit : {} > FEE
    .pinit : {} > FEE
    .bss : {} > RAM
    .data : {} > RAM
    .sysmem : {} > RAM
    }