Help with : External QSPI loader how to - QSPI driver - CubeMX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-09-18 3:20 AM
Hi all,
I have a custom board with STM32F767ZIT and an external QSPI flash MT25QL128ABA.
My QSPI mapping is :
- CLK : PB2
- CS : PB6
- IO0 : PF8
- IO1 : PF9
- IO2 : PF7
- IO3 : PF6
I made my own custom external loader for my QSPI with these ST tutorial :
- https://www.youtube.com/watch?v=alzv6qg4lH0&list=PLnMKNibPkDnHIrq5BICcFhLsmJFI_ytvE&index=3
- https://www.youtube.com/watch?v=XqCq0xtQmbI&list=PLnMKNibPkDnHIrq5BICcFhLsmJFI_ytvE&index=5
It seems worked perfectly, but I have an offset in my memory Flash.
I should have 0x00 at address 0x90000000 and not 0x01.
I have the same clock configuration.
I don't have the same QSPI memory so I made the modification below :
- I changed my QSPI configuration (FlashSize = 23)
- I changed the MEMORY_FLASH_SIZE from 0x4000000 to 0x1000000
I tried to modify the writing QSPI function in these example CSP_QSPI_WriteMemory but when I did it the last byte is not written in memory.
I just changed "sCommand.Address = current_addr" by "sCommand.Address = current_addr + 1"
Does anyone use this example to create external loader or has the same error ?
Thanks,
Tom,
- Labels:
-
QSPI
-
STM32CubeIDE
-
STM32F7 Series
