Content originally posted in LPCWare by mariusz.mpicosys on Thu Apr 21 15:22:08 MST 2016
Hello,
Thanks for the confirmation. This is somewhat inconvenient. On some boards the SWD pins are not available (their function changed) and MTB is very useful in investigating unexpected software behavior. The CoreSight MTB document describes four signals - DBGEN, NIDEN, HSELSFR and HSELRAM - that potentially could influence the MTB block activation/functioning. Specially the two last ones:
Quote:
The memory regions are selected by the
HSELSFR and HSELRAM inputs respectively. Only one of these select inputs can be HIGH
at a time. If they are both HIGH at the same time the behavior is UNPREDICTABLE.
Enabling proper MTB activation from software would be very nice feature.
Help regarding this topic is greatly appreciated.
Thanks,
Mariusz