Software
basicCAN 61 PLUS – User Manual
4-3
4.2
UserCode Programming
basicCAN 61 PLUS
devices can execute user programs direct on their
PowerPC processor. This requires the
UserCode
run-time module
being enabled.
The
UserCode
run-time module is an option for
basicCAN 61 PLUS
devices (plus other
GOEPEL
devices) and requires one license per
unit.
Executing programs directly on the PowerPC improves the real-time
performance remarkable and frees up PCI bandwidth on the host
system.
Therefore
GOEPEL electronic
has ported and enhanced by additional
on-board functionality their C-programming user interface called
G-API
from Windows
®
to the QNX Neutrino real-time operating system.
The QNX Neutrino real-time operating system is based on a micro
kernel architecture, providing clear separation between the kernel and
each individual application.
This allows user applications to run in a separate virtual memory
space, which ensures safe test execution and improves reliability.
The
UserCode
run-time module uses a superset of the
G-API
commands for Windows
®
ensuring an easy migration of existing
program source code. Additional functions will provide access to event
notifications, timer tasks, the FLASH file system and other RT OS
resources as well as standard C libraries.
The PowerPC processor uses big-endian byte order which must be
taken care of when writing or porting code for the
UserCode
run-time
module
.
For smooth migration from little to big-endian, a library of conversion
macros is provided with the
Net2Run IDE
development system.
With the
Net2Run IDE
development system,
GOEPEL electronic
provides a complete tool chain for creating
UserCode
programs and
for their direct execution on
basicCAN 61 PLUS
devices.
The
Net2Run IDE
development system is based on Eclipse IDE and
contains the QNX Neutrino Command Line Tools (CLT), including
PowerPC-Compiler, Linker and Debugger.
UserCode
programs can be downloaded and debugged direct from
Net2Run IDE
via an Ethernet connection.