AnsweredAssumed Answered

Blackfin Instruction Watch Register Behaviour

Question asked by MikeSmithCanada on Jun 3, 2009
Latest reply on Jun 3, 2009 by kaushal

We are trying to use the Blackfin BF5XX Instruction Watch Registers as part of  "hardware instrumentation" to watch for possible data races between threads in VDK and our own co-operative scheduler.


Suppose you have set up the instruction watch registers to "watch a function" being executed by a thread. Why does the instruction watch counter decrement by 1 when watching a "nop" being fetched and executed, but decrement by 2 when watching "link" and "unlnk instructions"? Are there other instructions that change the watch counter register by 2?