Other Parts Discussed in Thread: NOWECC, HALCOGEN
I am trying out ECC on my device and am having some issues. I use HALCoGen to generate the ECC code and nowECC to inject errors. When I inject a double bit error, everything works as I would expect; it gets into the prefetch abort once the 64 bit chunk with the error has been loaded. If I inject only a single bit error, no correction or exception seems to happen. This picture shows the issue happening. The upper highlighted part shows the push command at the beginning of a function. nowECC modified this line to push r5 when it should not. In the lower highlighted region, you can see it does not pop r5 off which causes some issues. From the registers displayed, it looks like it detects an uncorrectable ECC error, but it looks like it may not be referring to this section in flash.
Can anyone explain why this is happening?