Descriptions of the Use Cases
10/89
NXHX 52-JTAG | Getting Started
DOC131004GS02EN | Revision 2 | English | 2013-11 | Released | Public
© Hilscher 2013
2.2.3
Using cifX Toolkit
If you are using a customer-engineered host system not based on
Windows, you can, of course, also implement a customized download
function for firmware files via host interface in your own host application.
You can use the
cifX Toolkit
, which is provided on the product DVD in the
Driver and Toolkit\Driver Toolkit (NXDRV-
TKIT)\cifXToolkit
directory, to develop application programs and
drivers enabling communication between your host system and the Dual-
Port Memory of the netX 52 (parallel or serial DPM).
An example of a host application program demonstrating Toolkit hardware
functions is stored in the
Examples and API\Targets\LFW\1. LFW
netX Toolkit\cifXTKitHWFunctions
directory of the DVD.
A Visual Studio project based on the cifX Toolkit featuring an application
program for configuring and initializing the NXHX board as EtherCAT slave
device is also provided in the above mentioned directory.
For more detailed information about the cifX Toolkit, please refer to the
Toolkit Manual
cifX/netX Toolkit – DPM
, DOC090203TKxxEN, which is
stored in the
Driver and Toolkit\Driver Toolkit (NXDRV-
TKIT)\Documentation
directory of the product DVD.
2.3
Using the Application Examples on the Product DVD
2.3.1
Overview
The
Examples and API\Targets
folder of the product DVD contains
the following sub-directories:
LFW
: The
1. LFW netX Toolkit\Firmware\ETHERCAT
directory
contains a ready-made Loadable Firmware file for EtherCAT slave with
limited IO data exchange (2 Bytes), a Second Stage Bootloader, a
SYCON.net configuration project for EtherCAT and a device description file
for the NXHX board serving as EtherCAT slave.
The
1. LFW netX Toolkit\cifXTKitHWFunctions
directory
contains an example of a host application based on the cifX Toolkit for the
provided LFW file.
nonOS
: Contains embedded software programs without OS (rcX), typically
specialized for the particular netX hardware.
rcX
: Contains rcX based software examples with driver- and kernel
functionality for peripheral and interface support.
You can use the
Waf
framework or
Eclipse
for creating ELF files from the
nonOS
and
rcX
application examples. Both build systems use
Mentor
Code Sourcery GNU (GCC)
as tool for compiling C source code.