
98
DesignWare ARC AXC003 CPU Card User Guide
MQX Package
Synopsys, Inc.
Version 6323-018
May 2017
Building the grtc Application for HS38x2
set MQX_ROOT=C:\AXS103\software\mqx<version>
set MQX_CONFIG=%MQX_ROOT%\build\axs103\hs38x2_config.mk
cd %MQX_ROOT%\examples\axs103\hs38x2\grtc
gmake all
See the DesignWare MQX RTOS Getting Started manual for more information on how to build
MQX applications
Hardware Setup for Debugging
See
on page 85 for details.
Running MQX Applications in the MetaWare Debugger
The easiest way to run MQX applications in the MetaWare debugger is using the batch files
in the
%MQX_ROOT\build\axs103
directory:
gohs34.bat
for ARC HS34
gohs36.bat
for ARC HS36
These batch files invoke the MetaWare debugger with the required options either to run the
application or to start the GUI for debugging
4. Add the
%MQX_ROOT\build\axs103
to the
PATH
variable in your environment:
set PATH=%PATH%;%MQX_ROOT%\build\axs103
5. To run an application built for HS34 or HS36 configuration without starting the GUI enter
the following command on the command line:
gohs34.bat
test
or
gohs36.bat test
The application makefiles specify
test
as the name of the executable file
6. To start GUI for debugging of HS34 or HS36 application, execute the following command
on the command line:
gohs34.bat
test
debug
or
gohs36.bat test
debug
Note
To run HS38x2 dual-core application examples located in the
%MQX_ROOT%\examples\axs103\hs38x2
directory, use the
run.bat
file from the
application subdirectory. When this file is invoked with no arguments it launches