Getting Started with EM Starter Kit
Creating Hello World project for ARC EM Starter Kit
Select File >New >C Project
Enter a project name
Building the project
Right click on the Hello World project and select Build Project from the pop-up menu
Review the build output log in the Eclipse console tab to confirm success:
Debugging the project
Once the project is successfully compiled by ARC GCC, you can debug the resulting executable on the EM Starter Kit board.
Note
If you are using Windows platform, please configure drivers for your EM Starter Kit before you begin debug process. For the instructions see How to use OpenOCD on Windows.
To debug the project, create a new debug configuration.
Select Debug Configurations from the Run menu or by clicking on the down arrow next to the bug icon:
Double click on the ARC C/C++ Application or click on the top left icon to create a new debug configuration for the project:
Select a name for the new debug configuration (by default, it equals the project name followed by “Debug”).
Click the Debugger tab and select Gdbserver Settings page.
Click the Debug button in the Debug configurations dialog to initiate debug session.
This action automatically launches the Serial terminal and OpenOCD applications in the background and connects to the UART on the EM Starter Kit board.
Click Yes in the confirmation dialog to switch to the Debug perspective