Memory, RTC & Bus Control
Microchip AT24C256C digital twin
256-Kbit (32 KB) I2C serial EEPROM with 64-byte page writes.
VendorMicrochipMemory, RTC & Bus Control
InterfaceI2C0x50–0x57 (default 0x50)
Record Status2026-11-21rev 287d49a4a (clean tree)
Driver oracle & capability record
Driver oracle PASS: 6/6 stages passed on nucleo-f767zi; generator 0.1.0+policy.12.
| Driver reference | libdriver/at24cxx driver (commit aa2a2a393) (MIT) |
|---|---|
| Evidence standing | provisional (register and bus behavior derived from vendor datasheet or driver oracle; not yet hardware-unit verified on two physical samples). |
| Datasheet accuracy basis | exact (memory array: read-back equals write) |
| Negative control | part at address 0x51 instead of 0x50 -> oracle FAIL |
| Published record | accuracy/driver-oracles-2026-11-21.json (SHA-256 dd20a19b84c9) |
Measured driver round-trip results
| Quantity | Measured | Expected | Error | Datasheet Tolerance |
|---|---|---|---|---|
NEIGHBOUR_BYTES | 510 sum | 510 sum | 0 sum | ±0 sum |
Key registers & reset values
| Address / Field | Register | Reset / Expected | Purpose |
|---|---|---|---|
0x0000–0x7FFF | MEM_ARRAY | 0xFF erased | 16-bit addressed non-volatile byte array |
64-byte page | PAGE_BUF | Wrap boundary | Page write buffer; wraps within 64-byte alignment |
Attach with ct CLI
Shell - run firmware with AT24C256C
# Run compiled firmware with AT24C256C attached on nucleo-f767zi
ct run --json --board nucleo-f767zi --device at24c256c build/app.elf
# Run fault-injection suite and emit JUnit XML
ct test run --json --junit results/at24c256c.xml tests/at24c256c-fault.suite.yamlFault-injection test snippet (suite.yaml)
tests/at24c256c-fault.suite.yaml
version: 1
board: nucleo-f767zi
firmware: build/app.elf
tests:
- name: at24c256c-i2c-nack-and-bad-id
faults:
- at_ms: 30
bus: I2C1
kind: nack
address: 0x50
count: 2
- at_ms: 150
part: at24c256c
kind: frozen_reading
expect:
console_contains: "DRIVER_FAULT_DETECTED"
exit_code: 0