mirror of
git://projects.qi-hardware.com/antorcha.git
synced 2025-04-21 12:27:27 +03:00
make firmware upload protocol less secure but lean; boot loader works
This commit is contained in:
10
PROTOCOL
10
PROTOCOL
@@ -7,14 +7,8 @@ Protocol
|
||||
|
||||
1 0 0 Pong (maybe return version string in the future)
|
||||
|
||||
2 0 3 Unlock salt A (64 bytes payload)
|
||||
2 1 3 Unlock salt B
|
||||
2 2 3 Unlock hash A
|
||||
2 3 3 Unlock hash B
|
||||
|
||||
3 n 0 Unlock ACK
|
||||
|
||||
4 0..N-1 N Firmware binary (64 bytes payload)
|
||||
4 0 N Unlock secret (64 bytes payload)
|
||||
4 1..N-1 N Firmware binary (64 bytes payload)
|
||||
4 N N First half of hash
|
||||
|
||||
5 n N Firmware ACK
|
||||
|
||||
Reference in New Issue
Block a user