Image note: Original logical concept. Not a product photograph, physical pinout, actual parameter layout, or test result.

During NAND bring-up, a controller may read a recognizable ID and the driver may log the device before the team moves on to configuration. If the geometry or ECC settings then do not match, the investigation can start in the wrong place.

For a raw NAND device confirmed to support ONFI discovery, keep two observations separate from the start: the device ID and the ONFI signature. Then check the parameter transfer, verify the ONFI parameter page CRC, and decode geometry and ECC only from a supported, validated NAND flash parameter page. This sequence locates the first unresolved step before you accept a controller configuration.

1. Confirm the interface and preserve the device identity

Start with the complete part code, controller, board revision, and software build. Preserve the raw ID bytes and the transaction that produced them. Our NAND and eMMC part identification guide helps organize identity checks. It does not establish ONFI support for your installed part.

Check the matching device documentation before choosing a discovery sequence. Do not apply a parallel raw NAND procedure to every SPI NAND. Infineon AN91206 concerns ONFI-compatible nvSRAM and describes differences from NAND. A familiar interface name does not establish the memory architecture.

The output is an identified device and an applicable discovery procedure. If either is missing, keep the configuration undecided.

2. Separate the ONFI signature from the parameter transfer

An ONFI signature and a valid NAND flash parameter page provide different evidence. Micron's ONFI overview describes parameter discovery of organization, features, and timing information. Reading a recognizable signature does not verify those fields.

Compare the actual command sequence and transfer conditions with the applicable device and controller documentation. Preserve the received bytes and the first failure. The Agilex 5 device discovery documentation separates identification, parameter acquisition, and subsequent configuration. Its sequence is specific to that platform.

Table 1 — Identify the first unresolved stage
ObservationEvidence to keepNext check
ID reads but ONFI signature is absentID and signature transactionsInterface support and the exact query
Signature reads but no copy passes ONFI parameter page CRCEach copy and its CRC resultTransfer and validation procedure
A copy validates but configuration disagreesValidated record and host settingsField decoding and controller support

This record keeps an identification problem separate from a transfer failure or a configuration mismatch.

3. Validate the ONFI parameter page CRC before decoding fields

Check the ONFI parameter page CRC before trusting plausible values. Use the documented record length, CRC coverage, and byte order. Keep copy indexes with the captured bytes. Keep the earlier failed captures even after a later copy validates.

The cited fixed Linux raw NAND implementation checks up to three copies. It calculates CRC over the first 254 bytes and compares the stored value in little-endian form. If none of the three copies passes CRC, its majority-recovery path still checks the recovered result against CRC. Failure stops that detection path. This is an implementation example, not a universal recovery instruction.

Do not disable validation or insert guessed dimensions to make initialization continue. The output here is a validated record, or an explicit stop with the original captures preserved.

4. Match geometry and ECC requirements to the controller

For NAND page size detection, keep main data and spare bytes separate. The matching Linux ONFI field definitions also separate pages per block, blocks per logical unit (LUN), LUN count, and ECC information. Decode fields according to the supported revision. Total capacity alone cannot uniquely establish this organization.

Table 2 — Compare device evidence with the host
Device informationEvidence to retainHost comparison
Main data bytes per pageValidated page-data fieldMain-area configuration
Spare bytes per pageSeparate spare or OOB fieldECC and metadata placement
Pages per block and LUN organizationPhysical fields and their unitsDriver and controller representation
ECC strength and codeword sizeApplicable requirement and its stepSupported ECC method and layout

An ECC strength without its data step is incomplete. Where the applicable revision and record require extended ECC information, validate that record before using it. An unavailable requirement does not mean zero ECC is required.

Compare the device requirement with the controller's documented capabilities and spare-area layout. A CRC-valid record does not prove that the host can implement those requirements. Nor does it establish the health of the memory array.

5. Record a conditional configuration decision

Keep the full part code, document revisions, driver version, raw captures, and decoded fields together. List the supported settings and unresolved conditions. Mark the configuration as a candidate for further validation, or hold it pending evidence. Do not report board acceptance from discovery alone.

Our NAND read program and erase guide uses a separate SPI NAND example. Its commands are not an ONFI discovery recipe. Keep identification work separate from program or erase operations.

Use the NAND product directory to locate listed candidates. Then obtain the exact documentation for each candidate. A catalogue listing cannot resolve missing interface or ECC evidence.

Verifying raw NAND discovery?

Include the complete part code, controller build, and raw discovery captures with your project requirements. Compare candidate parts against the same interface, geometry, and ECC evidence before approving a BOM change. For a SUNTEC quotation, provide the quantity and identify any unresolved discovery or controller constraints.