Memory, RTC & Bus Control

Winbond W25Q64JV in the datasheet corpus

64-Mbit (8 MB) SPI / QSPI NOR Flash for firmware OTA slots, LittleFS and boot images.

standing: provisionalSPI / QSPISPI Mode 0/3 (up to 133 MHz); JEDEC ID 0xEF4017
VendorWinbondMemory, RTC & Bus Control
InterfaceSPI / QSPISPI Mode 0/3 (up to 133 MHz); JEDEC ID 0xEF4017
Record StatusCatalog profileDatasheet / behavioral twin

Driver oracle & capability record

Indexed in the CircuitTwin datasheet corpus (memory class); shares JEDEC command semantics with our W25Q cross-vendor oracle.

Driver referenceZephyr jedec,spi-nor / MCUboot external flash
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
0x9FJEDEC_ID0xEF 0x40 0x17Winbond 64-Mbit SPI NOR identifier
0x05 / 0x35READ_SR1 / SR2BUSY, WEL, QEBusy, write enable and Quad Enable (QE) status bits
0x20 / 0xD8SE_4K / BE_64KErase to 0xFF4 KB sector erase and 64 KB block erase

Attach with ct CLI

Shell - run firmware with W25Q64JV
# Run compiled firmware with W25Q64JV attached on rpi-pico
ct run --json --board rpi-pico --device w25q64jv build/app.elf

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

Fault-injection test snippet (suite.yaml)

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

Compatible board twins

More in Memory, RTC & Bus Control