2015-03-06 02:33 AM
Hello,
the STM32 datasheets do not mention any restictions on SWD or JTAG frequency. Some ''internet knowledge'' tells that older ARM cores had a HCLK/6 limitation on SWD/JTAG clock frequency. Has anybody hard facts for Cortex-M and/or STM32? Thanks #swclk-limits2015-03-06 02:54 AM
You'd need something pretty exotic to drive it. You might want to ask on an ARM silicon leaning forum. The pins top out at 100 MHz, I'd expect 40-50 MHz to be possible.
http://www.arm.com/products/system-ip/debug-trace/coresight-soc-components/serial-wire-debug.php
2015-03-06 03:43 AM
So you postulate that there is no miminum relation between HCLK and SWCLK?
2015-03-06 05:52 AM
You'd want to find yourself someone familiar with the debug unit implementation, either at ARM or ST, start by pushing in via an FAE.
I'd expect there to be a synchronizer somewhere, which will likely limit you to some fraction of the primary clock, that you're not synchronous with. The logic involved in the shifting is almost certainly capable of >200MHz in an F4. I don't think it would be that hard to determine where the gears start grinding.