cifDownloadCfg

cifDownloadCfg — downloads a Sycon configuration file to the specified card.

Synopsis

(cifDownloadCfg card_id cfg_filename)
  

Parameters

card_id

The target card ID (0..3).

cfg_filename

The pathname of a .dbm file created by the SyCon tool.

Returns

(cifDownloadCfg card_id cfg_filename)

or one of the following errors:

(error "cifDownloadCfg DR_ERR_CARD_INVALID (time) invalid card: card_id")
(error "cifDownloadCfg -1 (time) Failed to read file cfg_filename")
(error "cifDownloadCfg -1 (time) messageError message_error_code")
(error "cifDownloadCfg -1 (time) mailboxError device_error_code")
[Note]

The text string corresponding to the message_error_code and device_error_code can be obtained by issuing an errorDescription command, like this:

(cifErrorDescription error_code)

Description

This command downloads a configuration file created by the SyCon Configuration Tool. The configuration includes both bus and device parameters. Any existing configuration data on the card is deleted. The downloaded configuration is transferred to the FLASH memory and is maintained when the card is powered off.