Arm Cortex Texas Instruments TMS570: ECC functionality

30-Jul-2024

Flash on TMS570 devices features an ECC functionality. The ECC area can be programmed automatically with values corresponding to downloaded data or you can provide your own ECC download data.

The option for automatic ECC generation is located in Hardware | TI TMS570 | Configure | FLAGS Configuration:

  • AutoGenerateECC - When checked ECC area can be programmed automatically with values corresponding to the downloaded data. Automatic ECC generation is suggested for a faster download. You can still provide your own ECC download data, and enable Verify in Debug | Configure Session | SoCs | Startup to ensure that data written to the ECC area matches the downloaded data.
  • ExtendedOperationDuration - Extends the timeout for flash operations on some devices.

     



    Reads from ECC

    To read from the ECC area, use 16-bit accesses via Debug | Configure Session | SoCs | Memory Regions



    CPU Clock

    The internal flash programming monitor is made with the flash programming library from TI. The library must be initialized with the correct CPU frequency for proper timing generation. The value for the CPU frequency can be set in Hardware | CPU Options | Debugging | CPU clock.

    During the debug session the same value is used for download operations and for the memory writes through memory window. Use a initialization sequence to set the CPU clock to the final value before download, to be enable to make flash writes anytime.


    More resources in winIDEA Help

    Was this answer helpful?