beautypg.com

Coffload, Mailboxes, 14 mailboxes – Sundance SMT6035 v.2.2 User Manual

Page 18

background image

Version 2.2

Page 18 of 39

SMT6035 User Manual

bytes in size. If this is not the case, the function will round the size down to the
nearest four bytes, and remaining bytes will not be sent to the DSP.

Prototype:

void IFHw::BinaryLoad( const char *pcszFilename, PrgssInd

*pProgress = 0 )

Parameters:

pcszFilename

The filename of the binary file to download to the Root
DSP.

pProgress

Pointer to a structure that will obtain progress reports
during the download. If this value is zero, no progress is
reported.

13.2 CoffLoad

Loads a COFF file to the Root DSP.

Prototype

void IFHw::CoffLoad(

const char *pcszFilename,

TIM_TYPE Tim=TIM_UNKNOWN,

PrgssInd *pProgress = 0 )

Parameters

pcszFilename The filename of the COFF file to be downloaded into the

Root DSP.

Tim

The type of TIM.

pProgress

Optional pointer to a progress indication object.

14 Mailboxes

The mailboxes provided by the PCI bridge chip allow the host and the Root DSP
to send signals to each other.
Note that mailboxes are intended as a signalling mechanism and not as a way of
passing large amounts of data.
The V3 bridge chip provides 16 x 8-bit mailboxes, which are combined to form
two independent 32-bit, bi-directional mailboxes numbered 0 and 1.

User Manual - Version 2.2, 04/01/07; © Sundance Italia S.R.L.