mtd/w25: add Micron N25Q128 JEDEC manufacturer and memory type support#377
mtd/w25: add Micron N25Q128 JEDEC manufacturer and memory type support#377mor2code wants to merge 1 commit into
Conversation
The Micron/STMicro N25Q128 SPI NOR flash (JEDEC 0x20/0xBA/0x18) is used on several STM32H7 flight controllers as onboard dataflash. The existing driver only accepted Winbond (0xEF) and AMIC (0x37) manufacturers, causing silent chip-not-recognised failures. Add W25_JEDEC_MICRON (0x20) to the manufacturer check and W25Q_JEDEC_MEMORY_TYPE_D (0xBA) to the memory type check.
|
@engineer-dakefpv FYI — this NuttX patch is required for the DAKEFPV H743 PX4 port (PX4/PX4-Autopilot#27362). |
|
Gentle nudge on this one — it's been open since May 17 with no review or CI yet, and it's currently the hard blocker for the DAKEFPV H743 board port (PX4/PX4-Autopilot#27522). @dakejahl — given you reviewed/merged the adjacent Context: per @farhangnaderi's guidance on the board PR, the NuttX submodule bump has to land here as a standalone PR first, then the board PR gets rebased on top — so #27522 can't merge until this does. The change is intentionally minimal — +9 / -5 in a single file ( Happy to rebase or adjust as needed to get it green. 🙏 |
|
Where is the PR to upstream nuttx? You need to get this in upstream nuttx first and then backport it here. Please include the link to the PR and update the PR description with |
The Micron/STMicro N25Q128 SPI NOR flash (JEDEC 0x20/0xBA/0x18) is used
on several STM32H7 flight controllers as onboard dataflash. The existing
driver only accepted Winbond (0xEF) and AMIC (0x37) manufacturers,
causing silent chip-not-recognised failures.
Add W25_JEDEC_MICRON (0x20) to the manufacturer check and
W25Q_JEDEC_MEMORY_TYPE_D (0xBA) to the memory type check.
Tested on DAKEFPV H743 with Micron N25Q128 (JEDEC 0x20/0xBA/0x18).