MEM-11 EEPROM or flash write-protect pin floating¶
| Severity | Status | Implementation |
|---|---|---|
| warning | planned | mid, depends on NET-7 |
Looks at. WP pin by function, the part's internal pull.
What it catches. The WP pin of an I2C/SPI EEPROM or a parallel/serial flash left unconnected on a part without an internal pull, or a WP that is wired to a GPIO with no pull to its intended default.
Why it matters. A floating WP reads as whatever leakage makes it: writes work on the bench and fail on some boards, or a "protected" calibration EEPROM gets overwritten by a firmware bug. Some parts pull WP to "write enabled" internally and may float; others do not, and the datasheet asks for a tie. The difference is per part, which is why the check needs part data, not just an open pin.
Example. A board ID EEPROM on an add-on card (24LC256 or CAT24C256 footprint, both sourced): on the CAT24C256 WP has an on-chip pull-down and floating is harmless; a second source without that pull makes the same layout a gamble. The intent (read-only after production) is met only if WP is pulled high with a test-point to pull it low at programming.
How to check. Pins named WP, /WP, WC on memory parts: no connection, or only a GPIO, counts as floating unless the pin model (NET-7) says the part has an internal pull to the side the project wants.
Fix. Tie WP to the intended default with a resistor (to VCC for protected, to GND for writable), add a pad or GPIO to override it at programming.
References. CAT24C256 "Pin Description" (WP with on-chip pull-down) and "Hardware Write Protection" (floating or grounded WP has no impact); W25Q128JV §4.3, §7.1.1 (/WP with SRP: hardware protection).