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.

Enable ECC in TCM wrapper of core

Hi,

I am doing Flash SEC testing for a TMS570 device.

But while enabling flash ECC(enabling ATCM in auxiliary control register) , It's making all flash contents including ECC space bad and causing pre-fetch abort.

Is there anything else needs to be configured before enabling Flash ECC for TCM wrapper of core? ?

I am not getting any problem while enabling ECC for flash wrapper.

I am using CCS3.3 for this project.

Any suggestion would be a great help for me.

Best Regards,

Padmrish

  • Padmrish,

    You need to have programmed the ECC values into the ECC area of the flash.

    If you are using CCSv3.3 we don't have any tools that can help with this that are publcally available.  Please upgrade to CCSv6 if you can;  otherwise if you are on a big project and have to stay with CCSv3.3 then you probably have an FAE working with you and please ask them to request special help.

    With the CCSv6 tool - your ECC can be calculated and programmed into flash at the same time you do a 'load program' automatically.   Or you can use the linker to add ECC sections explicitly to your .out file.   Nothing like that for CCSv3.3.   The Hercules products were launched beginning with CCSv4.

     

  • Hi Anthony,

    Thanks for your suggestion.

    I added -r4 command in ECC section of linker file  for  ECC calculation and now it's working.

    thanks,

    Padmrish