1.3.123 run

Starts running the target.

Bare-metal

This command sets the PC register to the entry point address previously recorded by the load, loadfile, or file command and starts running the target. Subsequent run commands also reload the executable image if it follows a previous load operation.

Linux application

This command sends a request to the server to restart the application and then start running it.

Note:

Control is returned as soon as the target is running. You can use the wait command to block the debugger from returning control until either the application completes or a breakpoint is hit.

Syntax

run [args]

Where:

args

Specifies the command-line arguments that are passed to the main() function in the application using the argv parameter. The name of the image is always implicitly passed in argv[0] and it is not necessary to pass this as an argument to the  run  command.

Example 1-126 Examples

run                                   # Start running the device
Non-ConfidentialPDF file icon PDF versionARM DUI0452Z
Copyright © 2010-2016 ARM Limited or its affiliates. All rights reserved.