2013-03-29 05:03 AM
Hi, i'm a new user of this board and i have a (maybe trivial) question. Searching on the web i found that there is a ''ITM_SendChar()'' instruction that could be very useful for me, but i can not view its result on my Eclipse IDE. Is there a way to configure eclipse in order to correctly use this function?
thanks in advance.2013-03-29 05:56 AM
It would presumably depend on the debugger that you've integrated, and if that supports the SWV (Serial Wire Viewer).
2013-03-29 06:31 AM
I'm using the gdb debugger and sincerely i don't know if the SWV is supported...
2013-03-29 06:56 AM
I was thinking of the hardware and the drivers. You're posting under the STM32 Discovery forum, but it's not clear what board, or debug hardware, you have.
Atollic is Eclipse/GCC/GDB based, and supports SWV so looking at how it does it, and what pieces it needs might be instructive. I've used SWV under Keil on a couple of targets, but the support depends a lot of the debug pod being utilized, and SWV doesn't lend itself to streaming, in that regard a serial port works a lot more effectively. I'm pretty sure some of the older JLink and ULink pods don't support SWD/SWV particularly well.