Part Number: TMS570LS3137
Other Parts Discussed in Thread: HALCOGEN
Hi,
I am trying to implement timeout in HALCOGEN generated startup code for TMS570LS3137 based hardware. Below the while loop from afterSTC() i am referring:
pbistRun(0x08300020U, /* ESRAM Single Port PBIST */
(uint32)PBIST_March13N_SP);
/* Wait for PBIST for CPU RAM to be completed */
/*SAFETYMCUSW 28 D MR:NA <APPROVED> "Hardware status bit read check" */
while(pbistIsTestCompleted() != TRUE)
{
}/* Wait */
I initialized RTI module before CPU RAM test and tried reading RTI register value to implement timeout, but the execution is getting stuck in the timeout calculation. Reading RTI registers always reads the same value but i could see RTI register contents incrementing as expected. Can you please help me to understand this?
By the time CPU RAM is tested Initialization of copy table, global variables, and constructors not happened, i am using MIBSPI RAM to store the RTI register values.
Thanks,
Kalyan