2024-09-19 12:46 AM
I want to test the code to handle SRAM2 parity errors, is there any way to force a parity error to test the code?
When a write is made the 36 (32+4) bits are updated, is there a way to update only the 32 bits or the 4 parity bits?
Or is it possible to deactivate parity check, write a value to SRAM2 (in this case it will not update the 4 parity bits, right?), activate parity check and then read the memory position?
Thanks!
Fernando
Solved! Go to Solution.
2024-09-19 08:51 AM
Hello @FGome ,
please refer to How to use SRAM Parity in your application - STMicroelectronics Community
in which you have a way to test the functionality .
Regards
2024-09-19 08:51 AM
Hello @FGome ,
please refer to How to use SRAM Parity in your application - STMicroelectronics Community
in which you have a way to test the functionality .
Regards
2024-09-19 05:11 PM
Hi STea
Thank you for your information. I have implemented the SRAM parity test leaving the last zone of the SRAM2 uninitialized, and when I want to generate a parity error I just read from that uninitialized location. That way I could trigger the error when necessary to test the implementation of the recovery process.
Best regards
Fernando