Skip to content

sushant-XD/MT25QL01_LIBRARY

Repository files navigation

Library/Driver file for MT25QL01GBBB8ESF-0SIT (1 Gbit) NOR Flash Memory.

This library/driver can easily be used for other Microcontrollers with very less modifications. Integration of file system such as littlfs and smartfs is also possible with minimal modifications. Example implementaion code available in Core/Src/main.c. Library implememtation available at Core/Src/MT25QL.c.

Please Read the MT24QL01 Flash Memory Datasheet before using the library for easy use.

Please make sure commands from datasheet match the commands defined in MT25QL01.h, Commands differ for different part numbers.

Check following before using the library:

  • Make sure you assign correct SPI to Flash Memory Functions
  • Be sure to assign Debug UART to seee the debug messages or comment out the myprintf functions to remove debug messages
    • assign proper UART to DEBUG_STREAM definition
  • Assign correct Chip Select line for corresponding SPI line. Make changes to FM_Enable() and FM_Disable() functions.
  • Erase the corresponding sector/subsector of Flash Memory before rewriting. Read datasheet properly for easy use.

About

Library/Driver file for MT25QL01GBBBES Flash Memory.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published