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.
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 reference | Zephyr jedec,spi-nor / LittleFS / cross-vendor W25Q oracle |
|---|---|
| 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 | accuracy/cross-vendor-matrix-2026-11-21.json (SHA-256 f66e87cae1a4) |
Key registers & reset values
| Address / Field | Register | Reset / Expected | Purpose |
|---|---|---|---|
0x9F | JEDEC_ID | 0xEF 0x40 0x18 | Winbond manufacturer, memory type and 128-Mbit capacity ID |
0x05 | READ_SR1 | Bit 0 BUSY, Bit 1 WEL | Write-in-progress busy flag and Write Enable Latch |
0x06 / 0x02 | WREN / PAGE_PROG | 256-byte page | Write enable latch and page program (0->1 requires erase) |
0x20 / 0x03 | SECTOR_ERASE / READ | 4 KB -> 0xFF | 4 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.yamlFault-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