Hello
My customer has some general questions about the operation of cpu cores and memory as part of their HAZOP process.
The Tech Ref Manual is a great start but have some additional questions to confirm their understanding.
I have made a few comments and suggestions but would appreciate your confirmation.
Having a quick read of the TRM, (not all 1600 or so pages) Each processor provide a compare bus which the CPU Compare module uses to detect a difference between the two processor states. Different areas of memory can have different memory check performed. For the flash memory the user needs to write the contents with a pre-generated ECC code. For the RAM, ( although not specifically clear) the ECC codes are generated on the fly. Therefore errors in Ram will be detected and to some degree corrected.
Is it correct that each processor uses a different sector of RAM or do they use the same Ram ? the reason for the question is where there is a single area of memory used by both processors :-
1 The master core writes to the Processor RAM. Both master and slave processors read the RAM.
2 If memory in the Master processor Core gets corrupted and then writes to RAM with the ECC an incorrect but valid parameter is written to memory, and will not be detected.
3 If both processors act on the same RAM contents, and the Ram is corrupt due to previous actions, both cores will behave in the same way because they are reading the same previously corrupted data. Error undetected although the error is very specific and therefore extremely remote.
Is this correct ? As I said it helps when determining where errors will be detected during the HAZOP process.
Is there a description of what the Processor compare bus conveys to the CPU Compare Module ?
Many Thanks
Bob