EasyManua.ls Logo

abaco systems CEI-520 - Ar_Loadslv

Default Icon
191 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Program Interface Library AR_LOADSLV
CEI-100/CEI-200/CEI-x20 User’s Manual 112
AR_LOADSLV
CEI_INT16 ar_loadslv (CEI_INT16 board, CEI_UINT32 base_seg,
CEI_INT32 base_port, CEI_UINT16 ram_size);
This routine loads the firmware into dual-port RAM (the interface runs it's
firmware out of dual-port RAM).
In general, this must be the first utility subroutine executed; only
AR_VERSION and AR_SET_PRELOAD_CONFIG may be called before
calling AR_LOADSLV.
This routine resets the slave then performs a memory check on dual-port
memory. If the memory test fails, the jumper configuration on the board
(if applicable) may not match up with current settings. If the memory test
passes, the firmware is loaded, but not started.
Upon successful completion of this routine, the following ARINC 429
defaults are in effect:
Transmit and receive bit rates are 100K.
Parity ODD.
SDI and label filters disabled.
Timer rate 5 milliseconds.
Each successful call to AR_LOADSLV must be matched with a call to
AR_CLOSE.
This routine does not re-initialize an already-open board when multi-
process mode is active. Refer to AR_SET_PRELOAD_CONFIG
documentation for details.
ARS_NORMAL Operation completed successfully.
ARS_WINRTFAIL Failed to load the board (WinRT error).
ARS_INVBOARD Invalid board number.
ARS_BADLOAD Memory test failed (board not loaded).
ARS_BOARD_MUTEX Failed to acquire/release the board lock.
ARS_CONFIG_MUTEX Failed to acquire/release the board
configuration lock.
ARS_MEMADERR Failed to map the device memory
regions.
Syntax
Description
Return Value
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

Table of Contents

Related product manuals