STM32H7 Memory Overlap with External QSPI
I have a QSPI Flash connected to the STM32H70 and it's all been terrific until I realised I can't address the FLASH's (a W95Qxx with 8M) full capacity with my current settings...
How can I (or is it even possible to) change the memory address of the external QSPI to allow for the larger memory?
In the stm32h7b0xx.h.
#define OCTOSPI1_BASE (0x90000000UL) /*!< Base address of : OCTOSPI1 memories accessible over AXIIn the loader...
MEMORY
{
ITCMRAM (xrw) : ORIGIN = 0x00000000, LENGTH = 64K
FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 64K
QSPI (xrx) : ORIGIN = 0x90000000, LENGTH = 4M //works aok but 8M overlaps DATA
DATA (xrw) : ORIGIN = 0x90400000, LENGTH = 4M
DTCMRAM1 (xrw) : ORIGIN = 0x20000000, LENGTH = 64K
DTCMRAM2 (xrw) : ORIGIN = 0x20010000, LENGTH = 64K
RAM (xrw) : ORIGIN = 0x24000000, LENGTH = 512K
RAM_NOCACHE (xrw) : ORIGIN = 0x24080000, LENGTH = 512K
RAM_CD (xrw) : ORIGIN = 0x30000000, LENGTH = 128K
RAM_SRD (xrw) : ORIGIN = 0x38000000, LENGTH = 32K
}