Difference between revisions of "Remote System Explorer Setup for Eclipse"
(initial content) |
(finished transferring content) |
||
Line 23: | Line 23: | ||
# Select ''General -> SSH Only'' and click ''Next >''. [[File:EMAC_Eclipse_New_RSE_Connection.png|center|frame|Figure 2: Select Remote System Type]] | # Select ''General -> SSH Only'' and click ''Next >''. [[File:EMAC_Eclipse_New_RSE_Connection.png|center|frame|Figure 2: Select Remote System Type]] | ||
# Using Figure 3 as a guide, enter the following information: | # Using Figure 3 as a guide, enter the following information: | ||
+ | ## Enter the IP address or host name of the target board in the ''Host name:'' field | ||
+ | ## Optionally, enter a ''Connection name'' and ''Description'' | ||
+ | ## Leave all other options set to their defaults [[File:EMAC_Eclipse_New_Remote_Connection_Dialog.png|center|frame|Figure 3: Remote SSH Only System Connection]] | ||
+ | # Click ''Finish.'' Once the remote connection is created, the Eclipse workbench should appear as shown in Figure 4 below. [[File:EMAC_Eclipse_RSE_Intial_View.png|center|frame|Figure 4: Initial RSE Perspective With New Connection]] | ||
+ | |||
+ | == Initiate an RSE Connection == | ||
+ | To use the new connection to the remote machine: | ||
+ | # Right-click on the new connection in the Remote Systems View. The one created in the [[#Create a Remote Connection|above section]] is highlighted in red in Figure 4. | ||
+ | # Select ''Connect'' | ||
+ | # Set the User ID to the user you wish to use on the remote system. The default user for EMAC products is <code>root</code>. | ||
+ | # Set the Password for the user chosen in the previous step. The default password for the default EMAC user is <code>emac_inc</code>. | ||
+ | |||
+ | Once connected, the Properties View and the Remote System Details View will be updated to reflect the remote system's details. This is shown below in Figure 5. Note that the Remote System Details View also shows information about local host connections. | ||
+ | [[File:EMAC_Eclipse_RSE_Intial_View.png|center|frame|Figure 5: RSE Perspective With Active Connection]] | ||
+ | |||
+ | Figure 5 has the Properties View highlighted in red and the Remote System Details View highlighted in blue. The Properties View provides information about, but no control over, the remote system whereas the Remote System Details View provides control in the form of the same connection context menu available in the Remote Systems View. | ||
+ | |||
+ | == Next Steps == | ||
+ | Learn more about RSE by following the [[Remote System Explorer SFTP Setup for EMAC Eclipse|RSE SFTP setup guide]]. | ||
+ | |||
+ | [[Category:EMAC Eclipse]] |
Revision as of 09:55, 20 May 2013
The Remote Systems Explorer is a useful tool for implementing remote development on EMAC products. It does require some initial setup, however. This page will guide developers through the process of selecting the RSE perspective and using it to create a connection in the Remote Systems View.
This setup assumes that both Eclipse and the EMAC OE SDK have been installed. |
Contents
Open the RSE Perspective
The first step to any task involving remote application development, execution, or debugging is to open the RSE Perspective. Follow the steps below to begin this process.
Procedure
- Open the Eclipse application
- Select Window -> Open Perspective -> Other...
- Select Remote System Explorer as shown in Figure 1. The list of available perspectives may differ depending on which plugins are installed in Eclipse.
Create a Remote Connection
This set of configuration steps assumes that Eclipse has the RSE Perspective active.
Remote connections can be established and accessed from perspectives other than the RSE Perspective. It is used for this procedure because it opens all the necessary views by default. These views can be accessed in other perspectives using Window -> Show View -> Other... to activate a dialog with a categorized list of Eclipse views. |
Procedure
- Right-click the blank space in the Remote Systems view
- Select New -> Connection... in the context menu to bring up the Select Remote System Type dialog as shown in Figure 2.
- Select General -> SSH Only and click Next >.
- Using Figure 3 as a guide, enter the following information:
- Enter the IP address or host name of the target board in the Host name: field
- Optionally, enter a Connection name and Description
- Leave all other options set to their defaults
- Click Finish. Once the remote connection is created, the Eclipse workbench should appear as shown in Figure 4 below.
Initiate an RSE Connection
To use the new connection to the remote machine:
- Right-click on the new connection in the Remote Systems View. The one created in the above section is highlighted in red in Figure 4.
- Select Connect
- Set the User ID to the user you wish to use on the remote system. The default user for EMAC products is
root
. - Set the Password for the user chosen in the previous step. The default password for the default EMAC user is
emac_inc
.
Once connected, the Properties View and the Remote System Details View will be updated to reflect the remote system's details. This is shown below in Figure 5. Note that the Remote System Details View also shows information about local host connections.
Figure 5 has the Properties View highlighted in red and the Remote System Details View highlighted in blue. The Properties View provides information about, but no control over, the remote system whereas the Remote System Details View provides control in the form of the same connection context menu available in the Remote Systems View.
Next Steps
Learn more about RSE by following the RSE SFTP setup guide.