cancel
Showing results for 
Search instead for 
Did you mean: 

Help with : External QSPI loader how to - QSPI driver - CubeMX

TGate.1
Associate II

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 :

It seems worked perfectly, but I have an offset in my memory Flash.

I should have 0x00 at address 0x90000000 and not 0x01.

0693W000004GPdzQAG.png

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,

0 REPLIES 0