2017-02-06 07:48 AM
I am working with the STM32F045-microcontroller and I write my source code in Eclipse and I build with GNU ARM C/C++ Cross Compiler and I debug using GDB OpenOCD Debugging with ST-LINK/V2. Is it possible to write a text string, for example 'Hello World', from the microcontroller code and make that text string appear in some of the windows in Eclipse when debugging? For example:
int main(int argc, char* argv[]) {
printToEclipseWindowViaDebugger('Hello World'); // Write Hello World to one of the windows in Eclipse
}
2017-02-06 08:16 AM
Cortex-M0 devices don't support the SWV debug channel (ie SWO PB3, via ITM_SendChar, etc)