Board state, Resettims, Resetboard – Sundance SMT6025 v.2.9 User Manual
Page 36: Read and write carrier board registers, Read32, Read16, 16 board state, 17 read and write carrier board registers

Version 2.9
Page 36 of 45
SMT6025 User Manual
16 Board state
You usually need to reset the TIMs on the carrier board before downloading your
application.
16.1 ResetTIMs
Reset the TIMs on the carrier board.
Prototype
void IFHw::ResetTIMs(void)
16.2 ResetBoard
Reset the carrier board. This function resets the TIMs and the JTAG controller.
Prototype
void IFHw::ResetBoard(void)
17 Read and write carrier board registers
The
SMT6025 gives you access to the carrier board’s registers to enable you to
perform any low level accesses that you might require.
Refer to the carrier board’s user manual for a description of the carrier board
registers and BAR address mapping.
The register access is specified by a BAR address and offset values.
For the following functions, the number at the end of the function name indicates
the number of bits that are to be read or written. For each function:
nBar BAR to use.
nOffset
Offset into the BAR to access.
17.1 Read32
Read 32 bits from the address specified.
Prototype
DWORD IFHw::Read32( UINT nBar, UINT nOffset )
17.2 Read16
Read 16 bits from the address specified.
Prototype
DWORD IFHw::Read16( UINT nBar, UINT nOffset )
User Manual (QCF42); Version 2.9, 22/02/02; © Sundance Multiprocessor Technology Ltd. 2002