C-RUN is a runtime analysis tool which works as an add-on to IAR Embedded Workbench for ARM. C-RUN can detect possible errors such as overflow, boundary errors and memory usage errors.
The error messages are displayed in the debug window. However, C-RUN messages can be redirected to any communication channel, and messages can be captured in the field test and checked after the test.
Redirect the C-RUN message to Terminal I/O
C-RUN messages are transferred to PC via semi-hosting which is a hidden process. Source code for C-RUN message is provided under <EWARM>\arm\src\lib\crun . Before make C-RUN works in a stand-alone, let’s see the messages in Terminal I/O.
Add ReportCheckFailedStdout.c to your workspace
Copy ReportCheckFailedStdout.cunder \crun to your workspace.
The file can be read-only attribute. Then remove the attribute from the Windows property.…