User Tools

Site Tools


ice:commands:master

This is an old revision of the document!


Master Board Command Set

List of commands for the ICE Master Board.

Arguments:

No Arguments Taken

Example:

I2C Command Number:


Description

Sets that the Master board will communicate with ICE Slave number BOARD. If BOARD is not specified, returns the ICE Slave number it is currently communicating with. <html></div></html>

Arguments:

No Arguments Taken

Example:

I2C Command Number:


Description

Shows a list of all connected devices. <html></div></html>

Arguments:

No Arguments Taken

Example:

I2C Command Number:


Description

Returns the device ID's of attached devices in a single line (useful for machine parsing). <html></div></html>

Arguments:

No Arguments Taken

Example:

I2C Command Number:


Description

Fully powers off ICE platform. Restarting requires physical intervention (power button press) by user. <html></div></html>

Arguments:

No Arguments Taken

Example:

I2C Command Number:


Description

Puts ICE platform into a low power state from which it can be woken via serial connection. All power to attached ICE devices will be turned off during sleep. Note: This isn't currently implemented. <html></div></html>

Arguments:

No Arguments Taken

Example:

I2C Command Number:


Description

Enables power to all attached ICE devices. <html></div></html>

Arguments:

No Arguments Taken

Example:

I2C Command Number:


Description

Disables power to all attached ICE devices. All devices are notified before shutdown to perform a safe power off. <html></div></html>

Arguments:

No Arguments Taken

Example:

I2C Command Number:


Description

Switches command mode into raw mode. Argument is either 'T' for on or 'F' for off. Raw mode disables the use of ASCII command mnemonics, instead using integer command ID's. <html></div></html>

Arguments:

No Arguments Taken

Example:

I2C Command Number:


Description

Returns state of power supplies to slave boards as either ON of OFF. <html></div></html>

Arguments:

No Arguments Taken

Example:

I2C Command Number:


Description

If called with no arguments, returns the version information for the master board. If called with an integer argument, will return the version information for the slave board at that address. The format is the version of the PCB, the CPLD firmware, the microcontroller firmware, and finally the serial number of the board. <html></div></html>

Arguments:

No Arguments Taken

Example:

I2C Command Number:


Description

Switches serial interface between an interactive mode (featuring prompts and local echo) to a programmatic mode. Defaults to programmatic mode (false). <html></div></html>

Arguments:

No Arguments Taken

Example:

I2C Command Number:


Description

Reads block RAM from current slave. Takes number of blocks to read as an argument. Each block is 8 bytes, returned as hex. The master will return the requested number of bytes (BLOCKS x 8) separated by spaces and then finish with a line return. Requesting a large number of blocks takes processing and I/O time on the bus, so larger requests may take time to return. <html></div></html>

Arguments:

No Arguments Taken

Example:

I2C Command Number:


Description

Displays status of safety interlock if no argument is given. If master board is set to “OEM” mode by factory, then providing a T/F argument manually sets the interlock state. <html></div></html>

Arguments:

No Arguments Taken

Example:

I2C Command Number:


Description

Saves all user settings to non-volatile memory. <html></div></html>

Arguments:

No Arguments Taken

Example:

I2C Command Number:


Description

Sets whether the master board should check for interlock state. If set to F (false), then the interlock will always be disabled. This can only be set if OEM mode is on. Otherwise it is a read only command. <html></div></html>

Arguments:

No Arguments Taken

Example:

I2C Command Number:


Description

If set to T (true), all serial commands on will be echoed on both serial (USB and TTL) interfaces. <html></div></html>

Arguments:

No Arguments Taken

Example:

I2C Command Number:


Description

If set to T (true), then the unit will automatically turn on power to the slave boards after bootup. Otherwise, power to slave boards will remain off but the master board will accept commands. <html></div></html>

Arguments:

No Arguments Taken

Example:

I2C Command Number:


Description

If set the T (true), then the LCD will be used. Otherwise, it will be powered off. <html></div></html>

Arguments:

No Arguments Taken

Example:

I2C Command Number:


Description

If set to T (true), then LCD communication will be halted. This is useful to prevent the LCD from consuming I2C bus bandwidth during heavy I/O operations by the user. <html></div></html>

ice/commands/master.1416612540.txt.gz · Last modified: 2021/08/26 14:26 (external edit)