2025-01-17 10:36 AM
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
2025-01-17 03:12 PM
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
2025-01-17 03:24 PM
Loader Source for .FLM the older step-brother of the .STLDR, the .pack is a ZIP file
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