Skip to content

Add support for Shanghai Fudan Microelectronics (FMSH) FM25Q series NOR Flash#32796

Open
gengchi-fuan wants to merge 3 commits intoArduPilot:masterfrom
gengchi-fuan:master
Open

Add support for Shanghai Fudan Microelectronics (FMSH) FM25Q series NOR Flash#32796
gengchi-fuan wants to merge 3 commits intoArduPilot:masterfrom
gengchi-fuan:master

Conversation

@gengchi-fuan
Copy link
Copy Markdown

This PR adds support for Shanghai Fudan Microelectronics (FMSH) FM25Q series NOR Flash (64M/128M/256M).

Key changes:

AP_FlashIface: Added JEDEC manufacturer ID (0xA1) for hardware detection.

AP_Logger: Defined JEDEC IDs and added capacity configurations for FM25Q64/FM25Q128A/FM25Q256.

AP_Filesystem: Configured LittleFS block counts for the FMSH series.

The implementation is based on vendor specifications and follows the existing driver structure for SPI flash devices.

@rmackay9
Copy link
Copy Markdown
Contributor

Hi @gengchi-fuan,

Thanks for this. It's been tested on real hardware of course?

@gengchi-fuan
Copy link
Copy Markdown
Author

Yes, it has been verified on real hardware. Our RD team has tested these FM25Q series chips with ArduPilot firmware on actual flight controller boards. We've confirmed that the JEDEC ID is correctly recognized and that DataFlash logging and LittleFS filesystem operations work as expected. Thank you.

@rmackay9
Copy link
Copy Markdown
Contributor

rmackay9 commented Apr 17, 2026

Hi @gengchi-fuan,

We don't accept merge commits so I've rebased on master, txs!

Added JEDEC ID (0xA1) for Shanghai Fudan Microelectronics (FMSH) NOR Flash (FM25Q64/128/256).
Added JEDEC ID definitions and capacity configurations for Shanghai Fudan Microelectronics (FMSH) FM25Q64, FM25Q128A, and FM25Q256.
Configure block counts for Shanghai Fudan Microelectronics (FMSH) FM25Q64, FM25Q128A, and FM25Q256 for LittleFS storage.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants