With WRITE command you can write one or more location/s in the Apple MFI Coprocessor fitted on Carberry.

Synopsis

MFI WRITE <ADDR> <DATA>[<DATA>]

WRITE accepts at least two parameters as:

ParamDescriptionRange
<ADDR> MFI location address in HEX notation where start to write.0x00 - 0x58
<DATA> Data byte to write 0x00 - 0xFF
[<DATA>] Other optional bytes to write in sequence 0x00 - 0xFF

Notes

  1. In the command parameters, if you write more than one byte you must omit “0x” before data parameters.
  2. Multiple data bytes must be always represented by two characters, whithout spaces from each other.

Return

WRITE command returns OK.

Examples

Writing one byte

MFI WRITE 0x50 0xAA
OK

Writing eight bytes

MFI WRITE 0x50 1122334455667788
OK  

Verify

MFI READ 0x50 0x08
1122334455667788
OK