Posted: Wed May 24, 2023 12:34 pm Post subject: Unusual situation where NOP'ing isn't stopping write
I've run into a strange situation where an address is still getting written to after I found the 2 instructions writing to it and NOP'ed them both. I've checked the neighboring addresses in both directions and they aren't getting written to by anything that might be overlapping or something.
With nothing else showing up to try and NOP, what could be causing an address to be constantly written to?
Not sure if it matters, but it's a 1 byte timer that counts down. It keeps counting down when I eliminate what's writing to it. I know I could probably check what "accesses" it and maybe get my desired result another way but the fact that I can't get it to stop being written to is really confusing me and I'd like to try and solve it.
You could break and trace to find out what function is calling the timer and then disable it fully rather than disabling the countdown portion of it.
Found it. I ended up finding out it was a 2 byte timer instead of 1 byte, and I guess somehow when I originally checked the neighboring addresses I missed what was writing it.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum