Skip to content

Commit bdf023a

Browse files
committed
fmc_basic_peripheral: refresh readme for kicad 10 and m24c02 fru programming
Signed-off-by: Huang Rui <vowstar@gmail.com>
1 parent 4070161 commit bdf023a

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

fmc_basic_peripheral/README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ of the SoC.
88

99
## Preparation
1010

11-
Install kicad 8, cmake, ninja, frugy.
11+
Install kicad 10, cmake, ninja, frugy.
1212

1313
## Precautions
1414

@@ -48,9 +48,11 @@ Use a CH341A USB-to-I2C adapter (PID `1a86:5512`, EPP/MEM/I2C mode) with
4848
`VCC` (3.3V) and `GND` to the on-board M24C02, and pull `WP` to GND.
4949

5050
```bash
51-
ch341eeprom -v -s 24c02 -w build/fmc_fru_eeprom.bin
52-
ch341eeprom -v -s 24c02 -V build/fmc_fru_eeprom.bin
51+
ch341eeprom -s 24c02 -e
52+
ch341eeprom -s 24c02 -w build/fmc_fru_eeprom.bin
53+
ch341eeprom -s 24c02 -V build/fmc_fru_eeprom.bin
5354
```
5455

55-
The verifier reports a mismatch at offset 238 because the FRU image is 238
56-
bytes while the EEPROM is padded to 256 — the FRU data itself is correct.
56+
`ch341eeprom` truncates the 2 KiB bin to the 256-byte chip on write, and the
57+
verifier passes end-to-end. To inspect the FRU contents semantically,
58+
`ch341eeprom -s 24c02 -r /tmp/dump.bin && frugy -r -d /tmp/dump.bin`.

0 commit comments

Comments
 (0)