Difference between revisions of "Firmware-72 Command-034"

From I-CubeX Wiki
Jump to: navigation, search
(Created page with "==RESET (34, 22h)== The RESET command resets the USB-microDig, i.e. all internal circuitry and system variables stored in volatile memory are re-initialized. Non-volatile mem...")
 
 
(2 intermediate revisions by the same user not shown)
Line 9: Line 9:
 
The RESET command can also be initiated by sending a single-byte MIDI system reset (255, FFh). The single-byte MIDI system reset message can be sent anytime during any MIDI message.  
 
The RESET command can also be initiated by sending a single-byte MIDI system reset (255, FFh). The single-byte MIDI system reset message can be sent anytime during any MIDI message.  
  
Upon completion of the RESET command the RESET ACK message is sent out by the USB-microDig once (host mode) or twice (stand-alone mode) depending on the mode of operation of the USB-microDig.
+
Upon completion of the RESET command the [[Firmware-72_Message-035 |RESET ACK message]] is sent out by the USB-microDig once (host mode) or twice (stand-alone mode) depending on the mode of operation of the USB-microDig.
  
 
There is no [BODY] associated with this command.
 
There is no [BODY] associated with this command.
Line 15: Line 15:
 
Example (this is the same as sending this single byte: 255 (FFh)):
 
Example (this is the same as sending this single byte: 255 (FFh)):
  
240, 125, 0 {DEV}, 34 {RESET}, 247 (F0h, 7Dh, 00h, 22h, F7h)
+
:240, 125, 0 {DEV}, 34 {RESET}, 247 (F0h, 7Dh, 00h, 22h, F7h)
  
  
Line 22: Line 22:
 
Initial values for RESET executed with USB-microDig set to host mode:
 
Initial values for RESET executed with USB-microDig set to host mode:
  
Mode of operation: 0; host mode
+
{|
MIDI out activation status: retrieved from non-volatile memory (see MIDI OUT command)
+
|Mode of operation:
System exclusive ID: retrieved from non-volatile memory (see SET ID command)
+
|0; host mode
Sensor input muting: 0; off
+
|-
Sensor activation status: 0; off
+
|MIDI out activation status:
Sensor sampling resolution: 7 bit
+
|retrieved from non-volatile memory (see MIDI OUT command)
Sensor sampling interval: 10 ms (see SET INTERVAL command)
+
|-
Actuator activation status: retrieved from non-volatile memory (see SET OUTPUT INIT command)
+
|System exclusive ID:
Actuator PWM status: retrieved from non-volatile memory (see SET OUTPUT INIT command)
+
|retrieved from non-volatile memory (see SET ID command)
Actuator PWM interval: retrieved from non-volatile memory (see SET OUTPUT PULSE command)
+
|-
Actuator PWM width: retrieved from non-volatile memory (see SET OUTPUT PULSE command)
+
|Sensor input muting:
 +
|0; off
 +
|-
 +
|Sensor activation status:
 +
|0; off
 +
|-
 +
|Sensor sampling resolution:
 +
|7 bit
 +
|-
 +
|Sensor sampling interval:
 +
|10 ms (see SET INTERVAL command)
 +
|-
 +
|Actuator activation status:
 +
|retrieved from non-volatile memory (see SET OUTPUT INIT command)
 +
|-
 +
|Actuator PWM status:
 +
|retrieved from non-volatile memory (see SET OUTPUT INIT command)
 +
|-
 +
|Actuator PWM interval:
 +
|retrieved from non-volatile memory (see SET OUTPUT PULSE command)
 +
|-
 +
|Actuator PWM width:
 +
|retrieved from non-volatile memory (see SET OUTPUT PULSE command)
 +
|}
  
 
Initial values for RESET executed with USB-microDig set to stand-alone mode:
 
Initial values for RESET executed with USB-microDig set to stand-alone mode:
  
Mode of operation: 1; stand-alone mode
+
{|
MIDI out activation status: retrieved from non-volatile memory (see MIDI OUT command)
+
|Mode of operation:
System exclusive ID: retrieved from non-volatile memory (see SET ID command)
+
|1; stand-alone mode
Sensor input muting: 0; off
+
|-
Other sensor input settings: retrieved from non-volatile memory (see EDIT CONFIG command)
+
|MIDI out activation status:
Actuator activation status: retrieved from non-volatile memory  (see SET OUTPUT INIT command)
+
|retrieved from non-volatile memory (see MIDI OUT command)
Actuator PWM status: retrieved from non-volatile memory (see SET OUTPUT INIT command)
+
|-
Actuator pulse interval: retrieved from non-volatile memory (see SET OUTPUT PULSE command)
+
|System exclusive ID:
Actuator pulse width range: retrieved from non-volatile memory (see SET OUTPUT PULSE command)
+
|retrieved from non-volatile memory (see SET ID command)
 +
|-
 +
|Sensor input muting:
 +
|0; off
 +
|-
 +
|Other sensor input settings:
 +
|retrieved from non-volatile memory (see EDIT CONFIG command)
 +
|-
 +
|Actuator activation status:
 +
|retrieved from non-volatile memory  (see SET OUTPUT INIT command)
 +
|-
 +
|Actuator PWM status:
 +
|retrieved from non-volatile memory (see SET OUTPUT INIT command)
 +
|-
 +
|Actuator pulse interval:
 +
|retrieved from non-volatile memory (see SET OUTPUT PULSE command)
 +
|-
 +
|Actuator pulse width range:
 +
|retrieved from non-volatile memory (see SET OUTPUT PULSE command)
 +
|}
  
  

Latest revision as of 17:10, 3 November 2015

RESET (34, 22h)

The RESET command resets the USB-microDig, i.e. all internal circuitry and system variables stored in volatile memory are re-initialized. Non-volatile memory remains unchanged. The RESET command is always executed following a power-up. The RESET command does not change any stand-alone mode settings stored in non-volatile memory but reloads them in volatile memory for operational use (when in stand-alone mode).

When the USB-microDig is in host mode, the RESET command sets internal parameters stored in volatile memory to initial values as specified below.

When the USB-microDig is in stand-alone mode, the RESET command retrieves the settings as stored in non-volatile memory and sets other internal parameters as specified below.

The RESET command can also be initiated by sending a single-byte MIDI system reset (255, FFh). The single-byte MIDI system reset message can be sent anytime during any MIDI message.

Upon completion of the RESET command the RESET ACK message is sent out by the USB-microDig once (host mode) or twice (stand-alone mode) depending on the mode of operation of the USB-microDig.

There is no [BODY] associated with this command.

Example (this is the same as sending this single byte: 255 (FFh)):

240, 125, 0 {DEV}, 34 {RESET}, 247 (F0h, 7Dh, 00h, 22h, F7h)


Initial Values

Initial values for RESET executed with USB-microDig set to host mode:

Mode of operation: 0; host mode
MIDI out activation status: retrieved from non-volatile memory (see MIDI OUT command)
System exclusive ID: retrieved from non-volatile memory (see SET ID command)
Sensor input muting: 0; off
Sensor activation status: 0; off
Sensor sampling resolution: 7 bit
Sensor sampling interval: 10 ms (see SET INTERVAL command)
Actuator activation status: retrieved from non-volatile memory (see SET OUTPUT INIT command)
Actuator PWM status: retrieved from non-volatile memory (see SET OUTPUT INIT command)
Actuator PWM interval: retrieved from non-volatile memory (see SET OUTPUT PULSE command)
Actuator PWM width: retrieved from non-volatile memory (see SET OUTPUT PULSE command)

Initial values for RESET executed with USB-microDig set to stand-alone mode:

Mode of operation: 1; stand-alone mode
MIDI out activation status: retrieved from non-volatile memory (see MIDI OUT command)
System exclusive ID: retrieved from non-volatile memory (see SET ID command)
Sensor input muting: 0; off
Other sensor input settings: retrieved from non-volatile memory (see EDIT CONFIG command)
Actuator activation status: retrieved from non-volatile memory (see SET OUTPUT INIT command)
Actuator PWM status: retrieved from non-volatile memory (see SET OUTPUT INIT command)
Actuator pulse interval: retrieved from non-volatile memory (see SET OUTPUT PULSE command)
Actuator pulse width range: retrieved from non-volatile memory (see SET OUTPUT PULSE command)


MIDI system reset

The I-CubeX USB-microDig can also be reset using the single byte MIDI system reset command (255, FFh) in exactly the same way as when using the RESET command (34,22h). A RESET ACK (35,23h) will be sent after completion of the reset command. The MIDI system reset command can be sent anytime during any message. Any other MIDI system real-time messages that are received in the USB-microDig MIDI input are ignored.