Firmware upgrade commands
From OpenEZX
Here is bootloader command reference
ADDR
ADDR command specifies address for next BIN command. Includes address in hex-ascii and checksum in hex-ascii in this format:\x20ADDR\x1eA040000099
| \x03 | start of packet |
| ADDR | command name |
| \x1e | data separator |
| A0400000 | loading address in hex-ascii |
| 99 | address checksum in hex-ascii |
| \x03 | end of packet |
BIN
Bin sends data to address set by last ADDR command. Data should be padded to 4096. Format:\x20BIN\x1e\x10\x00\x00\x00\x00...\xFF
| \x03 | start of packet |
| BIN | command name |
| \x1e | data separator |
| \x10\x00 | data size in bin: 0x1000 |
| \x00\x00\x00... | data |
| \xFF - checksum of size and data | |
| \x03 | end of packet |