ARM-specific commands with ST-Link

Hello,

I’m debugging Cortex-M0/3/4 using the ST-Link (SWD mode) provided on the F0 and F4 Discovery boards and it has been working great! More recently, I want to be able to use some of the architecture-specific debug features, such as DWT and ETM for profiling and such, only to find that no such commands are available. When using the ST-Link, rather than a cortex_m3 target, we get an stm32_stlink target which doesn’t seem to have any architecture-specific commands available. I can get some of the required features through direct manipulation of related registers for now, but it’s not a terribly pleasant solution.

Is there something I’m missing here or is that still a work-in-progress?

I’m using a recent build from Git (May 22, 2011).

Thanks,

Ben