ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
sdram_demo_diag_t Struct Reference

First-mismatch diagnostic captured by sdram_demo_read_check. More...

Data Fields

uint32_t count
 Total mismatched words in the pass.
uint32_t first_idx
 Word index of the first mismatch.
uint32_t expected
 Value that should have been read back.
uint32_t got
 Value actually read back at first_idx.

Detailed Description

First-mismatch diagnostic captured by sdram_demo_read_check.

Populated only when a read-back pass finds at least one corrupt word, so a HIL operator can see the corruption signature (aliasing, stuck bits, row-boundary) without a debugger.

Definition at line 77 of file main.c.

Field Documentation

◆ count

uint32_t sdram_demo_diag_t::count

Total mismatched words in the pass.

Definition at line 78 of file main.c.

Referenced by sdram_demo_format_fail(), and sdram_demo_read_check().

◆ expected

uint32_t sdram_demo_diag_t::expected

Value that should have been read back.

Definition at line 80 of file main.c.

Referenced by sdram_demo_format_fail(), and sdram_demo_read_check().

◆ first_idx

uint32_t sdram_demo_diag_t::first_idx

Word index of the first mismatch.

Definition at line 79 of file main.c.

Referenced by sdram_demo_format_fail(), and sdram_demo_read_check().

◆ got

uint32_t sdram_demo_diag_t::got

Value actually read back at first_idx.

Definition at line 81 of file main.c.

Referenced by sdram_demo_format_fail(), and sdram_demo_read_check().


The documentation for this struct was generated from the following file:
  • examples/ek_ra8d2/hw_validated/hil/sdram_benchmark/src/main.c