User Tools

Site Tools


ice:commands:common

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ice:commands:common [2014/07/31 01:37] – external edit 127.0.0.1ice:commands:common [2023/11/30 21:29] (current) – external edit 127.0.0.1
Line 3: Line 3:
 This following commands are common to all slave boards: This following commands are common to all slave boards:
  
-<function=ICEfunc|0=EnumDev&2=0 1 1 1 25&3=0> +<function=ICEfunc?0=EnumDev&2=0 1 1 1 25&3=0> 
-Enumerate device. Returns the device ID, firmware revision (major and minor), hardware revision, command set revision, and number of supported commands. In general, this command is only used internally by the Master board.+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> <html></div></html>
  
-<function=ICEfunc|0=Reset&3=2> +<function=ICEfunc?0=Reset&1=I:SYSTEM:1&2=Success&3=2> 
-Resets the ICE board to initial power on conditions.+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> <html></div></html>
  
-<function=ICEfunc|0=Status&2=Busy&3=5>+<function=ICEfunc?0=Status&2=Busy&3=5>
 Returns the status (Ready, Busy) of the ICE board. Returns the status (Ready, Busy) of the ICE board.
 <html></div></html> <html></div></html>
  
-<function=ICEfunc|0=Abort&3=6>+<function=ICEfunc?0=Abort&3=6>
 Tells ICE board to abort the long-running command it is currently executing. Tells ICE board to abort the long-running command it is currently executing.
 <html></div></html> <html></div></html>
  
-<function=ICEfunc|0=ReadBlk&1=I:BLOCK:5&2=0x34 0x7A 0x2D 0xB4 0x83 0x1D 0xAE 0x29&3=8>+<function=ICEfunc?0=ReadBlk&1=I:BLOCK:5&2=0x34 0x7A 0x2D 0xB4 0x83 0x1D 0xAE 0x29&3=8>
 Reads the specified data block from the ICE board data buffer. Returns 8 bytes starting at BLOCK address. 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. See individua ICE board for structure of the data.
 <html></div></html> <html></div></html>
  
-<function=ICEfunc|0=Save&2=Success&3=10>+<function=ICEfunc?0=Save&2=Success&3=10>
 Saves the board’s current settings into EEPROM. Unsaved changes will be lost when the board is powered off. Returns SUCCESS or FAIL. 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> <html></div></html>
  
-<function=ICEfunc|0=Defaults&2=Success&3=11+<function=ICEfunc?0=Version&2=6 1 5 2 5 1 56 76&3=13
-Resets all the boards settings to the default valuesDoes not save these changes. If you want to board boot to the default values, after running **DEFAULT** run **SAVE** to store that default values. Returns SUCCESS or FAIL.+Returns various versions of the board (hardware, firmware) and serial number in raw formUse the Master's #Version BoardNumber command to return this information with nicer formatting
 <html></div></html> <html></div></html>
  
  
  
ice/commands/common.1406770657.txt.gz · Last modified: 2021/08/26 14:26 (external edit)