Add support for Shanghai Fudan Microelectronics (FMSH) FM25Q series NOR Flash#32796
Open
gengchi-fuan wants to merge 3 commits intoArduPilot:masterfrom
Open
Add support for Shanghai Fudan Microelectronics (FMSH) FM25Q series NOR Flash#32796gengchi-fuan wants to merge 3 commits intoArduPilot:masterfrom
gengchi-fuan wants to merge 3 commits intoArduPilot:masterfrom
Conversation
Contributor
|
Hi @gengchi-fuan, Thanks for this. It's been tested on real hardware of course? |
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. |
Contributor
|
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.