I haven't been able to get a watchpoint to work.
I'm playing with an STM32F4 series device and I'm using Atollic TrueSTUDIO for debugging.
I'd like to use a function for setting up a watchpoint, and I guess the debug events are handled right, because the breakpoints set via the IDE work fine,
but I haven't been able to get a watchpoint to work.
What am I missing?
(I seem to have problems with code-tags. I'll try to put the code tnto the next posting.)
BTW, reading DWT_CTRL gives 0x40000000. Does this mean that the DWT is not locked?
And setting the TRACENA is refused for some other reason?