Skip to content

MEM checks

The MEM checks of the check catalogue. Each check has a page of its own: what it catches, why it matters, an example, how better_erc finds it, the usual fix and where to read more, with the test schematics that show it firing.

References used throughout:

  • SD PLS · SD Association, Physical Layer Simplified Specification, Ver. 9.10 (December 2023). The SD bus standard (pull-ups, card detect, signal voltage switch, power-up). Listed on the simplified specifications page; the PDF sits behind a click-through licence (page fetched through a headless browser). sdcard.org/downloads/pls
  • JESD84-B51 · JEDEC, Embedded MultiMediaCard (e•MMC) Electrical Standard (5.1). The eMMC standard (VCC, VCCQ, RST_n and its RST_n_FUNCTION register).
  • JESD79-3, JESD79-4 · JEDEC, DDR3 SDRAM Standard and DDR4 SDRAM Standard. Pin functions, ZQ, VREF, RESET_n and CKE at power-up.
  • SPRABI1 · TI, DDR3 Design Requirements for KeyStone Devices, SPRABI1D (January 2018, revised July 2022). ZQ, reset, VREF tolerance, VTT termination and which pins may be swapped; section and table numbers below refer to it. ti.com/lit/pdf/sprabi1
  • AN5692 · ST, DDR memory routing guidelines for STM32MP13x product lines, Rev 1 (January 2023). A compact schematic checklist for DDR3/3L and LPDDR⅔ (fetched 21 Oct 2026 through a headless browser, st.com refuses plain HTTP clients). st.com AN5692
  • AN5200 · ST, Getting started with the STM32H7 MCU SDMMC host controller, Rev 3 (June 2025). VDDMMC, the UHS-I voltage switch transceiver (fetched through a headless browser). st.com AN5200
  • ESP-IDF SD pull-ups · Espressif, SD Pull-up Requirements, ESP-IDF Programming Guide v6.1. docs.espressif.com
  • W25Q128JV · Winbond, W25Q128JV 3V 128M-bit serial flash memory with Dual/Quad SPI, Rev F (March 2018). /WP, /HOLD, /RESET and the Quad Enable bit. winbond.com
  • CAT24C256 · onsemi, EEPROM Serial 256-Kb I2C, Rev. 16 (February 2022). An EEPROM whose WP pin has an internal pull-down (fetched through a headless browser). onsemi.com
  • MEM2061 · GCT, MEM2061 Micro SD Memory Card Connector, 1.88mm Profile (drawing). The micro-SD socket of B125A, with its card-detect switch circuit. gct.co/files/drawings/mem2061.pdf
  • RP2350 HW design · Raspberry Pi, Hardware design with RP2350, release 3 (2026). Chapter 3, the QSPI flash. datasheets.raspberrypi.com
  • U-Boot mmc · mmc command, U-Boot documentation: mmc rst-function and the write-once RST_n_FUNCTION field. docs.u-boot.org
  • Wikipedia, SD card · overview with the bus speed modes, UHS-I at 1.8 V and the pinout. en.wikipedia.org/wiki/SD_card
  • Wikipedia, DDR3 SDRAM / DDR4 SDRAM · overviews; the DDR4 page lists what changed against DDR3 (VrefDQ inside the DRAM). DDR3, DDR4
  • Bogatin · Eric Bogatin, Signal and Power Integrity, Simplified, 3rd ed. (Prentice Hall, 2018): reflections and termination (chapter 8, transmission lines and reflections).

Checks

Check Severity Status
MEM-1 SD / eMMC CMD and DAT lines without pull-ups (10k-100k) warning runs
MEM-2 DDR pin swap across bytes and other errors error planned
MEM-3 SD / eMMC CLK with a pull-up, or CD / WP switch pins without one warning runs
MEM-4 SPI / QSPI flash WP#, HOLD# or RESET# floating: writes blocked or the part held at random error planned
MEM-5 SD card detect wired to the wrong pins (shell instead of the switch pins, or to ground on a socket that signals to VDD) warning planned
MEM-6 eMMC VCCQ on a different voltage than the host's IO bank, or RST_n without a pull-up error planned
MEM-7 SD host IO voltage vs card mode: UHS needs 1.8 V signalling, a 3.3 V-only host stays at high-speed warning planned
MEM-8 DDR ZQ pin without its 240 Ω to VSS error runs
MEM-9 DDR VREF (CA, DQ) not at VDD/2, or VTT termination missing on a fly-by topology error planned
MEM-10 DDR RESET_n without a pull-down and CKE without a defined level at power-up warning runs
MEM-11 EEPROM or flash write-protect pin floating warning planned
MEM-12 SD card power not switchable: a card that hangs cannot be re-initialised without a board power cycle ≈ SEQ-3 suggestion planned