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. <html></div></html>
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. <html></div></html>
Status
Arguments:
No Arguments Taken
Example:
Status Busy
I2C Command Number: 5
Description
Returns the status (Ready, Busy) of the ICE board. <html></div></html>
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. <html></div></html>
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. <html></div></html>
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. <html></div></html>
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. <html></div></html>ice/commands/common.txt · Last modified: 2023/11/30 21:29 by 127.0.0.1