hello NXP,
i am using MIMXRT1170. i am planning to update the flash size up to 64MB(MT25QL512ABB).
i can write,read and erase the flash memory. but when I write to any address exceeding 16MB, it is also written to the address 0x30020000. and i cannot jump to any address exceeding 16MB.
I made the necessary changes in flexspi_nor_config.c. This allows me to write to flash and upload code. However, the issues mentioned above persist. Additionally, I am using the fsl_romapi_cm7 drivers.
Can you help identify the problem?
thanks...
Hi @mehmetkaradag ,
Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
As you know, the 24-bit address can access up to 16 MB of space, obviously, the size of your flash exceeds it.
And the default length of the address of MT25QL512ABB maybe 24 bit(didn't confirm it), so you need to enable the 4 Bytes address mode prior to accessing the space exceeding the 128M-bit data (16MB).
These posts should be useful to you:
1. https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/imxrt117x-Micron-Serial-NOR-MT25QL256ABA-Cannot-...
2. https://community.nxp.com/t5/i-MX-Processors/MT25QL256-Quad-SPI-Error-on-IMXRT1176/td-p/1509034
3. https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1052-W25Q512-QSPI-FLASH-not-getting-full-memor...
Best regards,
Gavin