Keil Logo

Introduction Testing the Real-Time Agent

After configuring your project to use the Real-Time Agent, it's easy to verify that it's working properly.

  1. Build your project, download it to your target hardware, start the debugger and click the Run button to execute your program.
  2. Symbol Window Selection Set a watch on a variable that is known to be changing. For this test, a good variable that changes continuously is the write index (wr_idx) for the Real-Time Agent output buffer.

    Symbol Window Button Click the Symbol Window button on the toolbar to open the Symbol Window then select RTA_Config — rta — out — wr_idx.
  3. Click on the wr_idx icon, then drag and drop it into the Watch Window.
  4. Enable Periodic Window Update from the View menu.
  5. If the variable in the Watch Window is changing, then the Real-Time Agent has been successfully integrated into your application.

Note

  • If you encounter any problems integrating the Real-Time Agent, working examples for the Keil MCB21XX boards can be found in C:\KEIL\ARM\RT Agent\MCB21xx.
  • To use the RTA_printf() and RTA_scanf() macros, the I/O retargeting option must be enabled(see Configuring the Real-Time Agent).
  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.