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...")
(No difference)

Revision as of 04:47, 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.