Getting Started

This is a quick introduction to GrmonRCP. More help is available from the Table of Contents and through search.

The Workbench

When the application starts the default Workbench is presented (see below).

The Workbench

The workbench consists of several Views. The views can be rearranged and resized to custumize the interface. Views that aren't used can be closed, and new views can be opened from the "Window → Show View" menu. The layout is automatically saved on exit and will be restored the next time the application is started. To reset the Workbench to the default layout again select "Window → Restore default layout".

Connecting

Connect to a target system by selecting "Action → Initialize..." or clicking the init-button The init-button. From this dialog several target configurations can be created and saved.

Initdialog

All configured targets are available as shortcuts by clicking the black arrow to the right of the button.

Connect to a serial target

This will show how to connect to a serial target. For other interfaces and more information se Connecting.

Define a new target by clicking the Add button. Change the name if desired and then select Serial as interface. If the target is not connected to the default serial-port (Com1 on Window or /dev/ttyS0 on Linux) change to the correct port under Device. The default baudrate is 115 200. Check UART Loopback if output from the system should go to the Console. Make sure the target system is connected with a serial cable and then click OK. GrmonRCP will connect to the target system and when the system is connected all views will refresh and show the current status of the system.

Downloading code

The load-buttonTo download code to the target select "Action → Load file..." or click the load-button. From the filebrowser a binary file can be located and selected. Confirm the selection with OK. A progress dialog will show the progress as the file is downloaded to the system.

All recent files are available as shorcuts by clicking the black arrow to the right of the button.

Debugging

When the system is connected and loaded with a binary. All debugging tools are available. The most common will be described below. For more information see Debugging.

Breakpoints

Breakpoints can be set from the Breakpoints View. Use the plus-sign and enter a address or symbol. Select Software or Hardware breakpoints or Watchpoints. Breakpoints can also be added from the Symbols View by right-clicking a symbol and selecting Add Breakpoint.

Breakpoints can be disabled by clicking the checkmark next to it. Disabled breakpoints will be skipped when running the target.

Running

To run the target select "Action → Run", or click the run-button The run-button. To pause the target select "Action → Break" or click the break-button The break-button. When the target is stopped or a breakpoint is reached the interface will refresh to show the current status. Continue the target by selecting "Action → Continue" or clicking the continue-button The continue-button

Views

To read more about the available views goto Views