 | ULINK2 User's Guide |  |
|
|
| Testing the Real-Time AgentAfter the project has been configured to use the Real-Time Agent, it is easy to verify that it is working properly. - Build the project, download it to the target hardware, start the debugger, and click the Run button.
- Enable View - Periodic Window Update.
- Open a Watch Window.
- Open the Symbols Window, and search for wr_idx. This variable is the write index (wr_idx) of the Real-Time Agent output buffer and changes its value often.
- Click on the wr_idx icon, then drag and drop it into the Watch Window.
- If the variable in the Watch Window is changing, then the Real-Time Agent has been integrated successfully into the application.
Note - If issues arise while integrating the Real-Time Agent, refer to the Keil MCB21XX boards examples, which are located in the folder ...\ARM\RT Agent\MCB21xx.
- The I/O retargeting option must be enabled (see Configuring the Real-Time Agent) when using the RTA_printf() and RTA_scanf() macros.
|
|