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.
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 reference | Zephyr atmel,at24 / Microchip 24xx driver |
|---|---|
| Evidence standing | provisional (register and bus behavior derived from vendor datasheet or driver oracle; not yet hardware-unit verified on two physical samples). |
| Published record | Generate or inspect locally via ct twin generate (see /docs/twin-generation). |
Key registers & reset values
| Address / Field | Register | Reset / Expected | Purpose |
|---|---|---|---|
0x0000-0x7FFF | EEPROM_ARRAY | 0xFF erased | 16-bit big-endian addressed non-volatile storage |
64-byte page | PAGE_BUFFER | Wraps at 64B | Writes 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.yamlFault-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