Hi Sir :
Our customer need the function of the ROM and RAM check, this function will be used in the product Initial stage. At first, we will check the RAM areas from 0x2000 to 0x3FFE . then check the ROM page, page A , B, C, D, E, F from the address of 0x8000 to the 0xC000. here we have some confusion about this ROM and RAM check.
(1) For the RAM check, if I check the RAM areas and find RAM error, if I reset the MCU, the error is whether will be disapper. and what does I want to know is that the reset action is necessary or not.
(2) for the ROM check , we use the System register FERSTAT_SFDIF and FERSTAT_DFDIF, to check if whether those register have a error flag have been set. then if we detect this is on error, we think we have finished the check aciton. so could you please illustrate this two system regiseter how to work and the principle. so we can analysis the algorithm and the logical that we use in ROM check is right.
I am looking forward to your reply! BR. /Tommy