User Tools

Site Tools


ice:commands:common

Common Commands to all ICE Slave Boards

This following commands are common to all slave boards:

EnumDev

Arguments:

No Arguments Taken

Example:

EnumDev  
0 1 1 1 25

I2C Command Number: 0


Description

Enumerate device. Returns the device type ID, feature set, command set revision, number of supported commands and an internal number. In general, this command is only used internally by the Master board. </div>

Reset

Arguments:

[Int] SYSTEM

Example:

Reset 1 
Success

I2C Command Number: 2


Description

Resets the ICE board to initial power on conditions. If SYSTEM is 0, resets to the saved EEPROM settings. If SYSTEM is 1, resets to factory default settings. </div>

Status

Arguments:

No Arguments Taken

Example:

Status  
Busy

I2C Command Number: 5


Description

Returns the status (Ready, Busy) of the ICE board. </div>

Abort

Arguments:

No Arguments Taken

Example:

Abort  

I2C Command Number: 6


Description

Tells ICE board to abort the long-running command it is currently executing. </div>

ReadBlk

Arguments:

[Int] BLOCK

Example:

ReadBlk 5 
0x34 0x7A 0x2D 0xB4 0x83 0x1D 0xAE 0x29

I2C Command Number: 8


Description

Reads the specified data block from the ICE board data buffer. Returns 8 bytes starting at BLOCK address. See individua ICE board for structure of the data. </div>

Save

Arguments:

No Arguments Taken

Example:

Save  
Success

I2C Command Number: 10


Description

Saves the board’s current settings into EEPROM. Unsaved changes will be lost when the board is powered off. Returns SUCCESS or FAIL. </div>

Version

Arguments:

No Arguments Taken

Example:

Version  
6 1 5 2 5 1 56 76

I2C Command Number: 13


Description

Returns various versions of the board (hardware, firmware) and serial number in raw form. Use the Master's #Version BoardNumber command to return this information with nicer formatting. </div>

ice/commands/common.txt · Last modified: 2015/04/29 16:18 by jtshugrue