User`s guide
High-Speed Simultaneous Transfer
Host-Side Client Interface
276
Targeting MC56F83xx/DSP5685x Controllers
hsst_set_log_dir
A host-side client application uses this function to set a log directory for the specified
communication channel.
This function allows the host-side client application to use data logged from a previous
High-Speed Simultaneous Transfer (HSST) session rather than reading directly from
the board.
After the initial call to hsst_set_log_dir, the CodeWarrior software examines
the specified directory for logged data associated with the relevant channel instead of
communicating with the board to get the data. After all the data has been read from the
file, all future reads are read from the board.
To stop reading logged data, the host-side client application calls
hsst_set_log_dir with NULL as its argument. This call only affects host-side
reading.
Prototype
HRESULT hsst_set_log_dir (
size_t cid,
const char* log_directory );
Parameters
cid
Specifies the channel ID of the communication channel from which to log data.
log_directory
Specifies the path to the directory in which to store temporary log files.
Returns
S_OK if the call succeeds or S_FALSE if the call fails.
HSST Host Program Example
In Listing 9.1 the host is the IDE plugin (DLL) to the interface with the HSST target
(DSP56800E) project. This establishes data transfer between the host (your computer)
and the target (the DSP56800E board).