Memory, RTC & Bus Control

Winbond W25Q128JV digital twin

128-Mbit (16 MB) SPI / Dual / Quad NOR Flash with 4 KB sector erase and 256-byte page program.

standing: provisionalSPI / QSPISPI Mode 0/3 (up to 133 MHz); JEDEC ID 0xEF4018
VendorWinbondMemory, RTC & Bus Control
InterfaceSPI / QSPISPI Mode 0/3 (up to 133 MHz); JEDEC ID 0xEF4018
Record Status2026-11-21rev 287d49a4a (clean tree)

Driver oracle & capability record

Exercised across 9 cross-vendor MCU families in accuracy/cross-vendor-matrix-2026-11-21.json (spi-w25q and qspi-w25q passing across AVR, SAM E54, ESP32-C3, LPC55S69, nRF52840, RP2350 and S32K144).

Driver referenceZephyr jedec,spi-nor / LittleFS / cross-vendor W25Q oracle
Evidence standingprovisional (register and bus behavior derived from vendor datasheet or driver oracle; not yet hardware-unit verified on two physical samples).
Published recordaccuracy/cross-vendor-matrix-2026-11-21.json (SHA-256 f66e87cae1a4)

Key registers & reset values

Address / FieldRegisterReset / ExpectedPurpose
0x9FJEDEC_ID0xEF 0x40 0x18Winbond manufacturer, memory type and 128-Mbit capacity ID
0x05READ_SR1Bit 0 BUSY, Bit 1 WELWrite-in-progress busy flag and Write Enable Latch
0x06 / 0x02WREN / PAGE_PROG256-byte pageWrite enable latch and page program (0->1 requires erase)
0x20 / 0x03SECTOR_ERASE / READ4 KB -> 0xFF4 KB sector erase and sequential flash read

Attach with ct CLI

Shell - run firmware with W25Q128JV
# Run compiled firmware with W25Q128JV attached on nucleo-h743zi2
ct run --json --board nucleo-h743zi2 --device w25q128jv build/app.elf

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

Fault-injection test snippet (suite.yaml)

tests/w25q128jv-fault.suite.yaml
version: 1
board: nucleo-h743zi2
firmware: build/app.elf
tests:
  - name: w25q128jv-spi-disconnect-and-fault
    faults:
      - at_ms: 40
        part: w25q128jv
        kind: bus_disconnect
        duration_ms: 25
    expect:
      console_contains: "SPI_FAULT_HANDLED"
      exit_code: 0

Compatible board twins

More in Memory, RTC & Bus Control