Memory, RTC & Bus Control

# Microchip AT24C256C digital twin

256-Kbit (32 KB) I2C serial EEPROM with 64-byte page writes.

standing: provisional I2C (I2C1 on nucleo-f767zi) 0x50–0x57 (default 0x50)

Vendor Microchip Memory, RTC & Bus Control

Interface I2C 0x50–0x57 (default 0x50)

Record Status 2026-11-21 rev 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)](https://github.com/libdriver/at24cxx) (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](https://circuittwin.ai/evidence/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.yaml
```

## Fault-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
```

## Compatible board twins

[Board: nucleo-f767zi](https://circuittwin.ai/boards/nucleo-f767zi) [Board: blue-pill-f103c8](https://circuittwin.ai/boards/blue-pill-f103c8) [Board: nucleo-f091rc](https://circuittwin.ai/boards/nucleo-f091rc) [Accuracy report](https://circuittwin.ai/docs/accuracy)

## More in Memory, RTC & Bus Control

[24LC256 (Microchip)](https://circuittwin.ai/twins/24lc256) [ATECC608A (Microchip)](https://circuittwin.ai/twins/atecc608a) [DS1307 (Analog)](https://circuittwin.ai/twins/ds1307) [DS3231 (Analog)](https://circuittwin.ai/twins/ds3231) [FM24CL64B (Infineon)](https://circuittwin.ai/twins/fm24cl64b) [MCP23017 (Microchip)](https://circuittwin.ai/twins/mcp23017)

> ## Inject AT24C256C bus faults in CI
>
> Wire AT24C256C onto your MCU board twin, drive physical stimuli and fail builds when your driver hangs on NACKs or frozen registers.
>
> [Start now](https://app.circuittwin.ai/try) [Inputs & fault injection docs](https://circuittwin.ai/docs/inputs) [Connect a coding agent](https://circuittwin.ai/docs/agents)
