stm32 qspi driver supports dual quad nor in Memorymapped mode#73027
stm32 qspi driver supports dual quad nor in Memorymapped mode#73027dleach02 merged 5 commits intozephyrproject-rtos:mainfrom
Conversation
|
|
|
Tried this on the Tried flashing with |
To Pass the samples/application_development/code_relocation_nocopy/ on the stm32h750b_dk disco kit, you need
|
|
adding the support of the stm32h750b_dk (dual quad-flash) for the samples/application_development/code_relocation_nocopy/ |
Restrictions : ---> Refer to #56221
The stm32CubeProgrammer (> v2.16.0) is used as a runner to flash zephyr.hex file |
10200d9 to
315afcd
Compare
|
Fixing conflict when rebasing on a15af0b |
Configure the quad-spi in DualFlash Mode This property of the stm32 boards will access simultaneously two identical quad-flash external memories connected to 2 quad-spi banks (pins). Dual Flash Mode is possible on stm32 series with QUADSPI_CR_DFM Signed-off-by: Francois Ramu <francois.ramu@st.com>
Configure the quad-spi in DualFlash Mode when enabling the MemoryMapped then reading is possible with memcopy. DUAL flash mode is possible on stm32 series with QUADSPI_CR_DFM Signed-off-by: Francois Ramu <francois.ramu@st.com>
Change the board.cmake to add the external loader option to the STM32CubeProgrammer to flash the external NOR flash and internal memory The address of the external flash is not needed when flashing a hex file. Signed-off-by: Francois Ramu <francois.ramu@st.com>
Change the board.cmake to add the external loader option to the STM32CubeProgrammer to flash the external NOR flash and internal memory The address of the external flash is not needed when flashing a hex file. Signed-off-by: Francois Ramu <francois.ramu@st.com>
Define the configuration to run the code_relocation application on the external memory dual quad flash of the stm32h745i/stm32h750b disco kits in XIP Signed-off-by: Francois Ramu <francois.ramu@st.com>
This PR is adding the support of the DFM (DualFlash Mode) to the stm32QSPI driver.
This mode activates two external quad-NOR memories simultaneously to double throughput and capacity
Especially on stm32h745i and stm32h747i disco kits where two MT25QL512 quad-NOR are mounted on 2 separated qspi IO banks.
Introducing a new property in the DTS of the "st,stm32-qspi" node.
Check the boolean property’s truth value (with DT_PROP) to set the DFM.
Requires #68377 to flash with STM32CubeProgrammer
Fixes #73025