Skip to main content
BGhaz.2
Associate II
October 20, 2022
Solved

How to induce a RAM parity error?

Hello,

I want to test some code (including the exception handler for parity error) that kicks in when a parity error gets detected by the micro. But how can I induce a parity error?

The processor is stm32f0x8.

This topic has been closed for replies.
waclawek.jan
waclawek.janBest answer
Super User
October 20, 2022

Read out unwritten data after powerdown/powerup. It's not guaranteed to throw parity error, but chances are that it will.

JW

2 replies

waclawek.jan
waclawek.janBest answer
Super User
October 20, 2022

Read out unwritten data after powerdown/powerup. It's not guaranteed to throw parity error, but chances are that it will.

JW

BGhaz.2
BGhaz.2Author
Associate II
October 21, 2022

Thank you for your reply JW, I will try it. If you or any one else know of any other method, please let me know.

Thanks.