Memory, RTC & Bus Control

Microchip 24LC256 in the datasheet corpus

256-Kbit (32 KB) I2C serial EEPROM with 64-byte page buffer and 5 ms write-cycle ACK polling.

standing: provisionalI2C0x50-0x57 (A2:A0 pins, 400 kHz)
VendorMicrochipMemory, RTC & Bus Control
InterfaceI2C0x50-0x57 (A2:A0 pins, 400 kHz)
Record StatusCatalog profileDatasheet / behavioral twin

Driver oracle & capability record

Indexed in the CircuitTwin datasheet corpus; catches 64-byte page-boundary wrap bugs and missing ACK-polling loops.

Driver referenceZephyr atmel,at24 / Microchip 24xx driver
Evidence standingprovisional (register and bus behavior derived from vendor datasheet or driver oracle; not yet hardware-unit verified on two physical samples).
Published recordGenerate or inspect locally via ct twin generate (see /docs/twin-generation).

Key registers & reset values

Address / FieldRegisterReset / ExpectedPurpose
0x0000-0x7FFFEEPROM_ARRAY0xFF erased16-bit big-endian addressed non-volatile storage
64-byte pagePAGE_BUFFERWraps at 64BWrites crossing a 64-byte boundary wrap to start of same page

Attach with ct CLI

Shell - run firmware with 24LC256
# Run compiled firmware with 24LC256 attached on arduino-uno
ct run --json --board arduino-uno --device 24lc256 build/app.elf

# Run fault-injection suite and emit JUnit XML
ct test run --json --junit results/24lc256.xml tests/24lc256-fault.suite.yaml

Fault-injection test snippet (suite.yaml)

tests/24lc256-fault.suite.yaml
version: 1
board: arduino-uno
firmware: build/app.elf
tests:
  - name: 24lc256-i2c-nack-recovery
    faults:
      - at_ms: 30
        bus: I2C1
        kind: nack
        address: 0x50
        count: 2
      - at_ms: 140
        part: 24lc256
        kind: frozen_reading
    expect:
      console_contains: "DRIVER_FAULT_HANDLED"
      exit_code: 0

Compatible board twins

More in Memory, RTC & Bus Control