Hello everyone,
I'm on CCS 6.0.0.00098, using the EVMC6678 as a target. JTAG probe is XDS560v2 STM.
The issue was also reproduced with CCS 5.5.
In shared memory I have a global structure or variable.
In this structure I have a field I want to monitor as a hardware watchpoint to see which core writes to it and when.
In the breakpoint view I click on new -> hardware watchpoint and then I type :
mystruct.myfield and I select "Write".
The hardware watchpoint is valid at address 0x0C000000
When in my code I do mystruct.myfield = 123; (let's assume myfield is an unsigned int)
the watchpoint is not triggered.
Even with a simple variable it doesn't work.
Any idea why?
Thank you,
Clement
PS : find attached a project to reproduce the issue.
Set a 'write' hardware watchpoint on var or hi.word1 and see that it is not triggered on lines 21 or 25 but only on line 27 during the prinft (which is strange because it's a read).