by Fritzoid » Fri May 10, 2013 4:13 pm
by Fritzoid
Fri May 10, 2013 4:13 pm
Mohit,
There is a "super secret" servo command called SYSTEM_WRITE (code 0x0D). It can write to any address in the EEPROM. The packet should look something like this...
0x0D, 0xF0, 0x55, 0x0F, 0xAA, offset, byte
...where 0x0D is the command code 0xF0550FAA is an authorization code, 'offset' is the EEPROM offset and 'byte' is the single byte of data to be written. As usual, you will need a 0xFFFF header and a termination checksum to complete the packet.
You may also want to look into DIGITAL_RESET (code 0x07) which can re-initialize the EEPROM to the factory defaults. Very useful for the case where you mess up using the above command.
Mohit,
There is a "super secret" servo command called SYSTEM_WRITE (code 0x0D). It can write to any address in the EEPROM. The packet should look something like this...
0x0D, 0xF0, 0x55, 0x0F, 0xAA, offset, byte
...where 0x0D is the command code 0xF0550FAA is an authorization code, 'offset' is the EEPROM offset and 'byte' is the single byte of data to be written. As usual, you will need a 0xFFFF header and a termination checksum to complete the packet.
You may also want to look into DIGITAL_RESET (code 0x07) which can re-initialize the EEPROM to the factory defaults. Very useful for the case where you mess up using the above command.