Tool/software: Code Composer Studio
Hi,
I was debugging a crash "Instruction fetch exception".
In debugging process I found that, there was a function pointer present in structure got corrupted. The issue was 100 % reproducible & the address for corruption was always same.
So I thought to attach a hardware watch point using CCS v7.1 at the same address.
I reproduced that issue several time but the watch point never hit. I tried sw breakpoint also, but it also didn't work.
Then I tried count access on write at the same address, it shows increment in count but no hit "watch point or breakpoint".
In further debugging I found that the issue was cause because of Task_sleep called by main function, which corrupting memory, but still I am not able to understand why HW watch point didn't work.
Can you please help me to understand, why the HW watch point didn't work.
Thanks & Regards
Gautam Shah