Keil Logo

IRLOG

For Cortex-M processor-based devices, the IRLOG command redirects all ITM channel outputs into one log file.

For ARM7 or ARM9 processor-based devices, the IRLOG command redirects the RTA channel output into a log file.

The log file gets closed automatically upon terminating the debugging session.

Syntax Description
IRLOG > path\fame Creates the file fname as a log file. ITM or RTA channel output is written to this file.
IRLOG >> path\fame Opens an existing log file fname for appending the output. The file is created, if fname does not exist.
IRLOG Displays the status of the log file.
IRLOG OFF Closes the log file.
Examples
>IRLOG >C:\TMP\irlog.log          /* Create a new log file                       */
>IRLOG >>C:\TMP\irlog.log         /* Append output to an existing log file       */

>IRLOG                            /* Query the log file status                   */
 ITM log file: C:\TMP\irlog.log   /* result for Cortex-M devices                 */
 RTA log file: C:\TMP\irlog.log   /* result for ARM7 or ARM9 devices             */

>IRLOG OFF                        /* Close the log file                          */

 

  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.