beautypg.com

Coffload, Mailboxes, 14 mailboxes – Sundance SMT6025 v.2.9 User Manual

Page 18

background image

Version 2.9

Page 18 of 45

SMT6025 User Manual

network to be loaded. It is important that the file you specify be a multiple of 4
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

Load a COFF file to the Root DSP.

Prototype

void IFHw::CoffLoad(

const char *pcszFilename,

const char *timtype,

PrgssInd *pProgress = 0 )

Parameters

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

Root DSP.

timtype

The type of TIM as define in the file - Sundance.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 signal each other with information.
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. These mailboxes are
combined to form two independent 32-bit, bi-directional mailboxes. These
mailboxes are numbered 0 and 1.

User Manual (QCF42); Version 2.9, 22/02/02; © Sundance Multiprocessor Technology Ltd. 2002

This manual is related to the following products: