Keil Logo

Testing Measure

Debug Button The MEASURE sample program is designed to accept commands from the on-chip serial port. If you have actual target hardware, you can use a terminal simulation to communicate with the ARM CPU. If you do not have target hardware, you can use µVision3 to simulate the hardware. You can also use the serial window in µVision3 to provide serial input.
Once the MEASURE program is build, you can test it. Use the Start/Stop Debug Session command from the Debug menu to start the µVision3 debugger.

Remote Measurement System Commands

The serial commands that MEASURE supports are listed in the following table. These commands are composed of ASCII text characters. All commands must be terminated with a carriage return. You can enter these commands in the Serial Window #1 during debugging.

Command Serial Text Description
Clear C Clears the measurement record buffer.
Display D Displays the current time and input values.
Time T hh:mm:ss Sets the current time in 24-hour format.
Interval I mm:ss.ttt Sets the interval time for the measurement samples. The interval time must be between 0:00.001 (for 1ms) and 60:00.000 (for 60 minutes).
Start S Starts the measurement recording. After receiving the start command, MEASURE samples all data inputs at the specified interval.
Read R [count] Displays the recorded measurements. You may specify the number of most recent samples to display with the read command. If no count is specified, the read command transmits all recorded measurements. You can read measurements on the fly if the interval time is more than 1 second. Otherwise, the recording must be stopped.
Quit Q Quits the measurement recording.
  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.