2020-07-30 12:02 PM
Hello,
I am interested to use the ITM/DWT over SWD to output trace data and observe structural coverage during test. My debug tool says that the microcontroller must support ITM and DWT. I am using STM32L433CC (LQFP48 package). In RM0394 section 46.14.1 it states that ITM packets can be optionally generated by Hardware trace (DWT). I know that different packages have different capabilities (example, ETM is only on the 100pin package). So I am trying to learn if this is supported in the LQFP48 package. Typically the datasheet would specify what is in each package but I can't seem to find this info in the STM32L433xx datasheet. I suspect that the TPIU/ITM/DWT is supported on all packages through the JTDO-TRACESWO pin but I want to know for sure.
Can anyone help me either by pointing me to how to tell in the documentation?
thank you,
Mike
2020-07-30 12:22 PM
All ST's CM3, CM4 and CM7 have the ITM/DWT optioned.
Usually you'd probe the ROMTABLE in the Core to see what units are present.
Perhaps find an ARM TRM, or one of ST's "Programming Manuals"
2020-07-30 12:25 PM
ETM is on the die, the pins just don't escape on the low pin count devices.
4-bit trace uses a couple of the high order FSMC address bits as I recall.
2020-07-30 12:39 PM
Debuggers like pyocd or bl*ckm*g*c PC-Hosted report available Debug units from the romtable.
2020-07-30 01:08 PM