Hi Everyone,
At each boot up I will be running a STC/LBIST, I will be using the file below where the code will be called before main(); in sys_startup.c
I found the file on this forum and now that I understand how it works I will be editing it for my needs.
However I have a few questions on how to go about it.
1 - I would like to store the status of the STC registers before a reset eg STCCICR (interval no. of failure), STCGSTAT, STCFSTAT (what type of failure?) .
2 - I would also like to store the Golden MISR as well as the MISR when a failure occurs, I can see the last MISR can be found through STC_CADDR but I cant see how to get to the golden MISR.
As any mapping to the ESM is lost after a reset, I need some way of storing all this info and setting a flag to inform the TMS570 it needs to send this data to my system via SPI.
According to http://e2e.ti.com/support/microcontrollers/hercules/f/312/t/122665.aspx it looks like the RAM at >0x08000000 is the best place as long as it is dealt with asap.
Cheers,
Alex