Click here to Skip to main content
15,879,348 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello,
I have a Cortex M3 based SOC and I need to test the response to a RAM ECC error. To do that I would need to simulate the interrupt in some way, problem is it is an internal interrupt, so no pins to drive manually, and apparently there is no way to force it to happen - I can't force a parity error externally and the registers that manage the interrupt are not writable by software (with the exception of the request to clear it fo course).

Does anyone know some kind of magic to test it? I repeat for clarity: I need a way to force the microcontroller to react to an error on the RAM ECC at my request.

Thank you all,
Denis

What I have tried:

Surfing through a lot of poor documentation on the actual SOC, will try delving deep into ARM Assembler next checking opcodes one by one.
Posted
Updated 11-Jan-21 23:55pm
v2
Comments
Peter_in_2780 12-Jan-21 21:41pm    
I know nothing about the Cortex chips, but systems I worked on half a lifetime ago had special instructions to write "bad" data to memory, so that the factory and service people could test the ECC data paths, hardware error logging and so on.
den2k88 13-Jan-21 3:56am    
This is a good angle I didn't think of, thank you!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900