Skip to main content
FrankNatoli
Associate III
June 27, 2022
Question

Micron flash versus Macronix flash

  • June 27, 2022
  • 3 replies
  • 9246 views

STM32H7B3I EVAL hosts a Macronix flash.

stm32h7b3i_eval_ospi.c and mx25lm51245g.c implement functions to initialize, erase, read and write the Macronix flash.

Unfortunately, Macronix flash is unavailable in commercial quantities and we're planning to use Micron MT35X.

Macronix OCTAL functionality covers apparently all flash operations, almost 50 separate functions, each with a two byte function code.

Micron OCTAL functionality is far more limited, only supporting "read" and "page program" and then with single byte function codes.

Does STM make available driver software for the Micron MT35X part?

This topic has been closed for replies.

3 replies

Tesla DeLorean
Guru
June 27, 2022

May be you should consider QUAD parts, or dual banking

MX66L1G45GMI-08G 32K parts at DigiKey, around 15K of the 512Mb

>>Does STM make available driver software for the Micron MT35X part?

Generally ST assumes your own embedded engineer(s) will take some responsibility for coding things that ST doesn't deliver on it's own boards. The FAE for your account might have access to other resources as they are at the sharp-end of customer related coding, and collectively code things to solve their issues. They might be able to recommend contractors too.

Getting parts to actually run in Memory-Mapped mode shouldn't require a vast amount of code.

Programming parts, gets to be more of a challenge, but there's usually half-a-dozen ways of achieving that goal without implementing them all.

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
Tesla DeLorean
Guru
June 27, 2022
Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
Pavel A.
Super User
June 29, 2022

ST has a collection of flash drivers here.

Scroll down to "STM32Cube BSP QSPI/OSPI Components Drivers"

Tesla DeLorean
Guru
June 29, 2022

Yeah, it's not exactly a stellar mix, and generally revolves around parts ST has used themselves rather than some altruistic attempt to expand support more generally. ST has a historic relationship with Micron in the flash domain.

Winbond has a very large user base, as does Giga Devices.

Plus a lot of people don't want to be doing BGA's the costs of PCB/PCBA ramp excessively, whereas single-sided SMD/SMT at reasonable pitches is accessible and board densities and layers are manageable. Not everyone is building iPhones..

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
FrankNatoli
Associate III
June 29, 2022

Thanks. That list appears to offer support for 12 items, 5 being Macronix [MX25], 3 being Micron [N25Q], 2 being Cypress [S25FL] and two others. Will check the Microns, many thanks.

FrankNatoli
Associate III
June 29, 2022

After review with my hardware guy, it would appear the MT25QL512ABB is an STM driver for a Micron quad part.

We are planning to use Micron MT35XL512ABA octal part.

I had originally used the STM driver for Macronix MX25LM51245G octal part as the model for a Micron MT35XL512ABA but in retrospect that was a mistake.

I'll instead use the STM driver for Micron MT25QL512ABB quad part as the model for the Micron octal part and modify accordingly.

Many thanks.

Tesla DeLorean
Guru
June 29, 2022

I ended up getting a bunch of MT35XL512ABA1G12-0SIT from the NEWARK side of AVNET, FARNELL, ELEMENT14, UKRAINIUM, et al..

NEW2022 code give 20% off, and enough to get free shipping..

0693W00000Nt4b8QAB.jpg

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..