User Tools

Site Tools


ice:commands:master

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
ice:commands:master [2014/07/31 01:37] – external edit 127.0.0.1ice:commands:master [2014/11/21 23:29] – Updated commands jtshugrue
Line 11: Line 11:
 <function=ICEfunc|0=#Devices&1&2=1: Temp Controller\n2: None\n...&3=-1> <function=ICEfunc|0=#Devices&1&2=1: Temp Controller\n2: None\n...&3=-1>
 Shows a list of all connected devices. 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> <html></div></html>
  
Line 40: Line 44:
 <html></div></html> <html></div></html>
  
-<function=ICEfunc|0=#Version&2=1.0&3=-1> +<function=ICEfunc|0=#Version&1=I:ADDRESS:2&2=6.0.0 5.2 5998&3=-1> 
-Returns firmware version of master board.+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> <html></div></html>
  
Line 49: Line 53:
 <html></div></html> <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: 2023/11/30 21:29 by 127.0.0.1