Replacing the Server

Top  Previous  Next

In some circumstances it may be necessary to dispense with the server interface altogether and control a Diamond application completely from user code on the host. In order to achieve this you need to do the following:

1.

Build your application out of stand-alone tasks; as there is no host server, the application must not attempt to communicate with one. If you really do want to interface to the (complex) protocol used by the Diamond server, contact 3L for further details.

2.

Specify the -A option when you configure the application to prevent the loader from asking for a go-ahead message from the server; this is used to pause the application when debugging.

3.

Each processor can communicate with the processor next closest to the host using the library functions, _host_in and _host_out. The root can use these functions to talk directly to the host PC.

 

The host needs access to the link connected to the root processor; this is usually made available through a DLL supplied by the 3L or the board supplier. This DLL usually includes a function to load a Diamond application into the DSP network.