HELP! x86 host target system interaction???

Hi,

how can we monitor and interact with a program on a x86 target system
from another x86 pc


currently we are trying to implement a drive control using two generic
x86 PC. (Formerly a PC - DSP configuration).

Our cycle time is 125usec and we have the I/O cards integrated in our
system.
(A/D card that runs the show in terms of timing, DMA transfer, control
algorithm
and DO card to a FPGA timer devices that actually fires off the control
words autonomously)

We can get this to run on the target using the cross debugger,
but how can we interface that process ??

i.e. a monitor program enabling us to

start / stop
change setpoint (transfer of a number)
trigger transient recording during step change of setpoint
transfer recording to host PC (NOT IN REALTIME OF COURSE!)

Grateful for any hints and tips

Max

Use the resource manager framework to write you driver.
That will create a name in the path space. You then have
multiple choices:

  • Make you driver support IOCTL call and write a program
    that sends ioctl call to control the operation of the driver
  • Create extra name in the path space, name meant for debugging: ie
    make sure you can use typical command like cat cp etc to control
    the operation of you program or get status from it.

By having a separate thread at low prioirty handle the IOCTL or debug path
name
you can minimize the effect on the realtimeness of your driver.

What’s nice is if you run QNET you can access the device via
the network.

You could also add TCP/IP capability to your driver, but
that isn’t really clean.

“Kail” <kail@eaee.ruhr-uni-bochum.de> wrote in message
news:3B093E28.7E3E02DA@eaee.ruhr-uni-bochum.de

Hi,

how can we monitor and interact with a program on a x86 target system
from another x86 pc


currently we are trying to implement a drive control using two generic
x86 PC. (Formerly a PC - DSP configuration).

Our cycle time is 125usec and we have the I/O cards integrated in our
system.
(A/D card that runs the show in terms of timing, DMA transfer, control
algorithm
and DO card to a FPGA timer devices that actually fires off the control
words autonomously)

We can get this to run on the target using the cross debugger,
but how can we interface that process ??

i.e. a monitor program enabling us to

start / stop
change setpoint (transfer of a number)
trigger transient recording during step change of setpoint
transfer recording to host PC (NOT IN REALTIME OF COURSE!)

Grateful for any hints and tips

Max