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.

TMS570LS0432 issue using ECC.

Other Parts Discussed in Thread: TMS570LS0432, NOWECC, HALCOGEN

Hi All,

I am trying to use the ECC (Error correction code) on Flash and Ram in TMS570LS0432 processor.
I have generated my .out file from Code Composer Studio and submitted it to nowEcc tool to
generate a new .out file containing the ECC data.
After downloaded this new .out file in my target via CCS, the console has displayed the following message:

CortexR4: GEL Output:  Memory Map Setup for Flash @ Address 0x0CortexR4: Loader:
One or more sections of your program falls into a memory region that is not writable.
These regions will not actually be written to the target.
Check your linker configuration and/or memory map.

If I launch my application despite this message, it works well  but I think without ECC support .

I suppose that something is wrong in my memory configuration or
I didn’t understand something in the procedure to generate and load the ECC data.

I didn't understand also the difference between appending the ECC data to the end of file or not.

Please could you help me about this issue or give me any suggestion to do better?

Here below some additional information about my development environment :

• CCS version Version: 5.3.0.00083
• nowEcc ver. 2.21.00
• HalCoGen used to enable Flash Ecc Check and ESRAM ecc Check ver : 03.05.02

• nowEcc tool commandand response :

C:\ti\Hercules\nowECC\2.21.00>
 nowecc -a -i PRJ_TMS570LS0432.out -o PRJ_TMS570LS0432_ECC.out -F021 16M_ADD -r4

This is nowECC Version 2.21
Mapping: F021-16MB
ECC calculation from 0x00000000 to 0x00013F8F
*** Appending ECC section to file -> PRJ_TMS570LS0432_ECC.out
No Errors

My memory mapping:

MEMORY
{
    VECTORS (X)  : origin=0x00000000 length=0x00000020
    FLASH0  (RX) : origin=0x00000020 length=0x0005FFE0
    STACKS  (RW) : origin=0x08000000 length=0x00001500
    RAM     (RW) : origin=0x08001500 length=0x00006B00

}

Just as additional info, In my application I use also the flash Bank7 for EEPROM emulation.

That's all.

Thanks in advance for your always precious support.

Regards

Claudio