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.

About diagnostic method of "RAM3".

Other Parts Discussed in Thread: TMS570LS3137, HALCOGEN

I currently use TMS570LS3137.
(Reference document = "Safety Manual for TMS 570LS31x and TMS570L21x Hercules ARM-Based Safety Critical Microcontrollers User's Guide")

Please tell me about "RAM3" items.

"Safety Manual" contains the following.
>> 7.101 Primary SRAM Correctable ECC Profiling
>> When the error count exceeds a user programmed threshold, an error event is signaled to the ESM.

(1) When the threshold is exceeded, which channel on the ESM is notified of the error? (GROUP, CHANNELS)

>> Cortex-R4F PMU export of events must also be enabled for this function to operate.

(2) Which registers will enable this function?

Best Regards,

Sazabi

  • Hello Sazabi,

    The ECC error count threshold feature is part of the Flash Wrapper and would need to be enabled and the threshold configured. Once configured, it would trigger a GOUP1 Channel 6 ESM flag being set.

    The PMU event export is configured already as part of the normal startup in HalCoGen generated code as this is required even for uncorrectable ECC errors. The assembly function _coreEnableEventBusExport_(); is generated by Halcogen and has all the initialization needed.