![HOLT ADK-2130mPCIe Technical Manual Download Page 12](http://html1.mh-extra.com/html/holt/adk-2130mpcie/adk-2130mpcie_technical-manual_2146798012.webp)
Holt Integrated Circuits
12
11.
There are two ways to run the Demo (after loading the kernel module and rebuilding the Demo
project). The first method is to simply open a terminal window in the Holt directory and execute
the ‘run’ bash script. This will load the kernel module and execute the Demo program
automatically. This method was used in the QSG document.
12.
Run the Demo with the integrated debugger in Eclipse.
a.
First, ensure the kernel module was previously loaded.
b.
In Eclipse, click on the green (bug) debug icon near the top left side or top right side of
the screen. A simple window appears asking to select either C/C++ Controller
Application or Local C/C++ Application. Select Local C/C++ Application.
c.
The debugger should present main.c in a window with the first line of code highlighted
in green. The user can now press the Resume icon to run the program or press F8.
d.
The debugger allows breakpoints, single-stepping and other debugger capabilities typical
of a high end integrated source level debugger. See the Eclipse help to gain a better
understanding how to use Eclipse debugger.
e.
The Demo console menu appears in a Console window. Expand the window size by double
clicking on console tab. The full menu should be shown. When making code changes use
the Eclipse debugger. Executing the Demo from the terminal window (not using Eclipse)
presents a little better view and experience.