cancel
Showing results for 
Search instead for 
Did you mean: 

How to induce a RAM parity error?

BGhaz.2
Associate II

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.

1 ACCEPTED SOLUTION

Accepted Solutions

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

JW

View solution in original post

2 REPLIES 2

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

JW

BGhaz.2
Associate II

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.