v2n-xspi-flash-readwrite
Erase + write + verify on the on-module xSPI NOR flash. Reads the manufacturer / device ID, erases a 4 KiB sector, writes a 64-byte ramp pattern, reads it back, compares.
Source: examples/v2n/v2n-xspi-flash-readwrite/.
board.yaml
schema_version: 2
som:
sku: E1M-V2N101
carrier:
name: E1M-X-EVK
cores:
a55_cluster:
os: yocto
app: ./linux
image: alp-image-edge
peripherals: [storage]
diagnostics:
log_level: info
What it shows
- Opening the xSPI NOR via
<alp/storage.h>. - Reading manufacturer + device ID via JEDEC RDID.
- Erasing the test sector (4 KiB at a known offset).
- Writing a 64-byte ramp pattern.
- Reading it back and confirming byte-for-byte.
See also
<alp/storage.h>referencev2n-emmc-block-stat— eMMC variant- Examples overview
Questions about this page? Discuss in Community Forum