Forum : ARM
Original Post
Post Information | Post |
---|---|
September 21, 2009 - 6:05pm
|
Does RIDE7 support Cortex-M3 CMSIS ITM Debug Channels? If so, how does it need to be configured? Is there any code that needs to be added to an application? Are there any limitations dependent upon the SWD JTAG interface? Thanks. |
The current RLink version does not support SWV/ITM. Under development.
I'm wondering what the status of this is now, since it's 3 years later....
I found information in GettingStartedARM_Ride7.pdf (18 October 2012, pg. 38) about SWV and ITM channel use. I also found the Debug -> Advanced Commands -> SWV Software Trace Configuration and SWV Software Trace View, etc. So far so good.
But, it doesn't actually do anything, at least on the STM32F103RET6 using RLink and the latest Ride7 etc. I try sending output using ITM_SendChar(), but nothing appears in the SWV Software Trace View window.
I'm sure I have ITM Channel 0 enabled for printf output via the SWV Software Trace Configuration window.
If my configuration does not support this, it would be nice if the Ride debugger would not allow me to be deceived into thinking it does. If it does support this, what can I do to troubleshoot it?
Hi,
This feature is available since version 1.30 of RKit-ARM, released in December 2010.
However, as the first line of the page you reference mentions, SWV/SWO is only available with OP4:
"6.3 Cortex Serial Wire Viewer (SWV) debugging features (Open4 RLink only)"
See also section "6.3.2 Hardware requirements", on the same page. (and others)
If you have an Open4 or EVO primer, you probably just forgot to click "Start Trace", in Debug->"Advanced Commands"->"SWV Global traces view". (see section 6.3.8 of the doc)
If you have a standard RLink, you cannot use this feature. (see section 6.3.2) The software will give you an error message stating this if you click Start Trace while connected using a standard RLink. (or REva or Primer1/2 or ...)
Best Regards,
Vincent