You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As mentioned here: #77 (comment), I managed to get QSPI working via direct access. Just have to add CONFIG_FLASH=y to the associated configuration files.
Using that same approach threw together a library to write directly to address associated with qspi that I used before for FRAM and on the T4 QSPI
the partition size comes from calling flash_get_size(flash_dev, &size); while the expected size is DT_SIZE_K(15872) which is in the dtsi file for the stm32h747. There is a difference, not sure why and wondering if this could affect things later on.
Right now #define SPI_FLASH_SECTOR_SIZE 4096 wondering if this is the correct setting.
Cheers - at least one more thing is working.
The text was updated successfully, but these errors were encountered:
which seems to indicate that the nor flash is a n25q128a1 but on the data sheet for the giga it looks like its a AT25SF128A. Now in a alot of cases the commands tend to be pretty much the same from what I remember of the datasheets on the nor-flash chips we tested on teensy but there can be differences.
So in case does it matter? I do see for the IMXRT1010 it has
As mentioned here: #77 (comment), I managed to get QSPI working via direct access. Just have to add
CONFIG_FLASH=y
to the associated configuration files.Using that same approach threw together a library to write directly to address associated with qspi that I used before for FRAM and on the T4 QSPI
extRAM_h7.zip
The example outputs:
Now there are a couple questions I need to have.
storage
flash sizes I getthe partition size comes from calling
flash_get_size(flash_dev, &size);
while the expected size isDT_SIZE_K(15872)
which is in the dtsi file for the stm32h747. There is a difference, not sure why and wondering if this could affect things later on.#define SPI_FLASH_SECTOR_SIZE 4096
wondering if this is the correct setting.Cheers - at least one more thing is working.
The text was updated successfully, but these errors were encountered: