User manual

MIDI KEYBOARD CMK-2 APPENDIX-A SYSEX MESSAGES
44 2009 CLASSIC ORGAN WORKS CMK-2 Manual 1.5.doc
CMK-2 – Special layouts
[7]
Config Memory
The config memory contains a number of 256-byte blocks. Each contains CMK-2 configuration information.
The message formats are:
F0 00 20 1C dd 04 01 03 aa aa aa ss ss F7
Request Config Memory data. This message should be sent by an external sequencer or by the CMK-2 config
application.
dd: identifies the device which is responding.
aa aa aa: starting offset (21-bit address) of the config block (packed 7 bits).
ss ss: number of bytes of original data to be retrieved (packed 14 bits)
F0 00 20 1C dd 04 01 04 bb bb ss <data, 8-for-7 format> F7
Transfer Config Memory data. This message should be sent from the CMK-2 in response to a request message.
dd: identifies the device which is responding.
bb bb: block-count within the sequence of saved data blocks' memory data, low-order 7 bits first. The
first message in a restore sequence must have a block-count of 00 00.
ss: number of bytes of original data transferred in this block.
data: 8-for-7 coded bytes of data.
F0 00 20 1C dd 04 01 08 bb bb aa aa aa ss <data, 8-for-7 format> F7
Update Config Memory data. The message with subcommand 08 will be generated by the external CMK-2
config application.
dd: identifies the device which is responding.
bb bb: block-count within the sequence of saved data blocks' memory data, low-order 7 bits first. The
first message in a restore sequence must have a block-count of 00 00.
aa aa aa: starting offset (21-bit address) of the config block (packed 7 bits).
ss: number of bytes of original data transferred in this block.
data: 8-for-7 coded bytes of data.
F0 00 20 1C dd 04 01 20 F7
Soft reboot CMK-2. The message with cause the CMK-2 to resume operation and reload the PIC's EEPROM
with the contents of the FLASH ROM indicated by the DIPSWITCH.
dd: identifies the device which is responding.
F0 00 20 1c dd 04 02 ii F7
Provides an identification number for each keyboard to identify the number of keyboards and configure each
one separately. The first device is set to 0 and increments this number before passing the message to the next
device.
dd: not used in this command.
ii: device identification.