User Tools

Site Tools


Master Board Command Set

List of commands for the ICE Master Board.

<function=ICEfunc|0=#Slave&1=I:BOARD:3&2=3&3=-1> 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.

<function=ICEfunc|0=#Devices&1&2=1: Temp Controller\n2: None\n…&3=-1> Shows a list of all connected devices. <html></div></html>

<function=ICEfunc|0=#Enumerate&1&2=2 1 3 0 0 0 0 0&3=-1> Returns the device ID's of attached devices in a single line (useful for machine parsing). <html></div></html>

<function=ICEfunc|0=#Shutdown&1&2=Shutting down…&3=-1> Fully powers off ICE platform. Restarting requires physical intervention (power button press) by user. <html></div></html>

<function=ICEfunc|0=#Sleep&1&2=Sleeping…&3=-1> 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>

<function=ICEfunc|0=#PowerOn&1&2=Sytem Power ON&3=-1> Enables power to all attached ICE devices. <html></div></html>

<function=ICEfunc|0=#PowerOff&1&2=System Power OFF&3=-1> Disables power to all attached ICE devices. All devices are notified before shutdown to perform a safe power off. <html></div></html>

<function=ICEfunc|0=#RawMode&1=B:ENABLE:T&2=ON&3=-1> 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>

<function=ICEfunc|0=#Status&2=ON&3=-1> Returns state of power supplies to slave boards as either ON of OFF. <html></div></html>

<function=ICEfunc|0=#Version&1=I:ADDRESS:2&2=6.2 0.0 5.2 5998&3=-1> 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>

<function=ICEfunc|0=#Interactive&1=B:ENABLE:T&2=ON&3=-1> Switches serial interface between an interactive mode (featuring prompts and local echo) to a programmatic mode. Defaults to programmatic mode (false). <html></div></html>

<function=ICEfunc|0=#BulkRead&1=I:BLOCKS:1&2=f3 e2 14 a4 cc 7d d4 e3&3=-1> 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>

<function=ICEfunc|0=#Interlock&1=B:ENABLE:T&2=ON&3=-1> 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>

<function=ICEfunc|0=#SaveSettings&2=SUCCESS&3=-1> Saves all user settings to non-volatile memory. <html></div></html>

<function=ICEfunc|0=#UseInterlock&1=B:ENABLE:T&2=ON&3=-1> 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>

<function=ICEfunc|0=#ShadowUSART&1=B:ENABLE:T&2=ON&3=-1> If set to T (true), all serial commands on will be echoed on both serial (USB and TTL) interfaces. <html></div></html>

<function=ICEfunc|0=#AutoPower&1=B:ENABLE:T&2=ON&3=-1> 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>

<function=ICEfunc|0=#UseLCD&1=B:ENABLE:T&2=ON&3=-1> If set the T (true), then the LCD will be used. Otherwise, it will be powered off. <html></div></html>

<function=ICEfunc|0=#PauseLCD&1=B:ENABLE:T&2=ON&3=-1> 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.txt · Last modified: 2021/08/26 14:26 by