Skip to main content
Explorer II
January 17, 2025
Solved

What parameters to use for the external MX661G45... Flash on the STM32H7S78-DK

  • January 17, 2025
  • 1 reply
  • 779 views

Datasheet for the Macronix flash is not available on-line. Can someone tell me about the correct parameters needed for the Macronix MX66UW1G flash?

The number of sectors (used 32), sector size (used 4096), page size (used 0x100), chip select high time (used 2), delay hold quarter cycle (enabled) and any other useful information to get the external memory loader to work?

I'm getting a failure to erase flash sector0

    This topic has been closed for replies.
    Best answer by Tesla DeLorean

    MX66 means it's a stacked-die, so 1Gb (128MB), 2x 512Mbit

    Can you pull a SFDP? And get the parameters from there?

    Instrument the loader, understand what exactly is failing

    I suspect the parameters will look materially the same as the LM/UM models, with the benefit of have some concurrent READ/WRITE/ERASE on uninvolved die

    https://github.com/STMicroelectronics/stm32-mx66uw1g45g

    https://github.com/STMicroelectronics/stm32h7s78-dk-bsp/blob/58902b169f56a9aa064970f63567d93ab219bf21/stm32h7s78_discovery_xspi.c

    1 reply

    Graduate II
    January 17, 2025

    MX66 means it's a stacked-die, so 1Gb (128MB), 2x 512Mbit

    Can you pull a SFDP? And get the parameters from there?

    Instrument the loader, understand what exactly is failing

    I suspect the parameters will look materially the same as the LM/UM models, with the benefit of have some concurrent READ/WRITE/ERASE on uninvolved die

    https://github.com/STMicroelectronics/stm32-mx66uw1g45g

    https://github.com/STMicroelectronics/stm32h7s78-dk-bsp/blob/58902b169f56a9aa064970f63567d93ab219bf21/stm32h7s78_discovery_xspi.c

    Graduate II
    January 17, 2025

    Loader Source for .FLM the older step-brother of the .STLDR, the .pack is a ZIP file

    https://github.com/STMicroelectronics/STM32CubeH7RS/blob/main/Utilities/PC_Software/Keil.STM32H7RSxx_DFP.1.0.0.zip

    Keil.STM32H7RSxx_DFP.1.0.0.pack\CMSIS\Flash\STM32H7S78_DK_OSPI\OSPI - ZIP archive

    This data sheet is likely to be sufficiently informative, the .C / .H in the BSP and PACK likely covering any gaps

    https://www.macronix.com/Lists/Datasheet/Attachments/8742/MX66U1G45G,%201.8V,%201Gb,%20v1.4.pdf