System Controller Firmware: Difference between revisions
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
| 0x0 || 1 || Header Index Magic || 01/02/10/20 | | 0x0 || 1 || Header Index Magic || 01/02/10/20 | ||
|- | |- | ||
| 0x1 || 1 || Header Size || 0x10 | | 0x1 || 1 || Header Size || 0x10 / 0x18 | ||
|- | |- | ||
| 0x2 || 2 || Block Size || 00 00 or 04 00 or 08 00 | | 0x2 || 2 || Block Size || 00 00 or 04 00 or 08 00 |
Revision as of 13:49, 10 June 2020
Structure (Header)
Offset | Size | Description | Notes |
---|---|---|---|
0x0 | 1 | Header Index Magic | 01/02/10/20 |
0x1 | 1 | Header Size | 0x10 / 0x18 |
0x2 | 2 | Block Size | 00 00 or 04 00 or 08 00 |
78K0R/Kx3: 0x800 78K0R/Kx3-L: 0x400 RL78/G13: 0x400
Structure (Header Content Index 0x01)
Offset | Size | Description | Notes |
---|---|---|---|
0x4 | 4 | Ernie Version | 05 05 03 01 |
0x8 | 4 | Hardware Info | 38 50 80 00 |
0xC | 4 | Padding | 00 00 00 00 |
Structure (Header Content Index 0x02)
Offset | Size | Description | Notes |
---|---|---|---|
0x4 | 4 | Unknown 1 | 00 00 00 00 |
0x8 | 4 | Encryption Type? | 02 00 00 00 for RL78 / 01 00 00 00 for 78K0R / 00 00 00 00 for 78K0R Proto (0.931 has this) |
0xC | 4 | Padding | 00 00 00 00 |
- Encryption type 00 supported since at least 0.931 (0.902 doesn't support this) until 1.692
- Encryption type 01 supported since 1.00
- Encryption type 02 supported since 2.50
Structure (Header Content Index 0x10)
Offset | Size | Description | Notes |
---|---|---|---|
0x4 | 4 | Block Index | 00 00 00 00 / 01 00 00 00 / etc |
0x8 | 4 | Block Size | 00 04 00 00 or 00 08 00 00 |
0xC | 4 | Padding | 00 00 00 00 |
78K0R/Kx3: 0x800 78K0R/Kx3-L: 0x400 RL78/G13: 0x400
Offset | Size | Description | Notes |
---|---|---|---|
0x0 | 4 | Unknown | 20 18 00 00 |
0x4 | 0x14 | Sha-1 Hash of Decrypted Blocks Concatenated |