I'm not able to see Debug messages in IAR. Where can i view them?
To view the debug messages in IAR Embedded Workbench, you can do the following :1. add ADI_DEBUG in (right click in project) Options... > C/C++ Compiler >Preprocessor >Defined Symbols
2. run your application in debug mode, then open the Terminal I/O by going to View > Terminal I/O
Thank you for the reply AOsama. But, I couldn't perfectly get it, can you please elaborate it.
When you want to view the debug messages in IAR, you must use the Terminal I/O (during debug mode).
The output of the function printf is redirected in the Terminal I/O in debug mode.
if you also use the function DEBUG_MESSAGE(), you must add the ADI_DEBUG in (right click in project) Options... > C/C++ Compiler >Preprocessor >Defined Symbols . you must also include common.h file to your source file to use DEBUG_MESSAGE function. The output of DEBUG_MESSAGE function is also to Terminal I/O
Retrieving data ...