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.

Memory ECC for the TMSx70 Microcontrollers

Other Parts Discussed in Thread: HALCOGEN

I'm new to these concepts and I'm wondering if someone could please send me sample C code that performs a memory ECC for the TMSx70 Cortex R4 chips?

I've read a few documents but what would really help me understand is actual C code with comments explaining the process.

Any help would be greatly appreciated.

Regards,

Chris

  • Hi Chris,

    Do you have Halcogen tool installed on your PC?

    If not, i recommend you to install on your PC.   This tool is completely free and it gave you example codes on how to do what you are looking for.

    Link for tool: http://www.ti.com/tool/halcogen

    once you have installed it, click on SAFETY INIT tab and you can see a lot of check boxes for self-test of different IP, your case would be Enable ESRAM ECC Check.  Click on File -> Generate Code.

    Look at sys_selftest.c.  Look for checkB0RAMECC() checkB1RAMECC(), checkFlashECC() functions.

    Other checking like PBIST, efuse can be found too.

    Hope this helps.