SRAM WRITE
With WRITE command you can write one or more location/s in the Carberry SRAM.
Synopsis
SRAM WRITE <ADDR> <DATA>[<DATA>]
WRITE accepts at least two parameters as:
Param | Description | Range |
<ADDR> | SRAM location address in HEX notation where start to write. | 0x00 - 0x3F |
<DATA> | Data byte to write | 0x00 - 0xFF |
[<DATA>] | Other optional bytes to write in sequence | 0x00 - 0xFF |
Notes
- Multiple data bytes must be always represented by two characters, whithout spaces from each other.
Return
WRITE command returns OK.
Examples
Writing one byte
SRAM WRITE 10 AA OK
Writing six bytes
SRAM WRITE 20 AABBCCDDEEFF OK
Verify
SRAM READ 20 06 AABBCCDDEEFF OK