Reading from external Flash with QSPI not working.
I am working with STM32F&508-DISCO, which is said to have external Flash of size 16MB connected through QSPI. I am trying to read from it, but it is not working.
I tried running this: https://github.com/STMicroelectronics/STM32CubeF7/blob/master/Projects/STM32F7508-DISCO/Examples/QSPI/QSPI_ReadWrite_IT/Src/main.c
With the code as it is, it works fine. However, it is reading from address = 0, which is not the external Flash connected through QSPI (I wonder why is the example like that? Isn't address 0 internal Flash and not through QSPI?).
Anyway, I wanted to access external Flash which I think is located at 0x9000_0000 (I couldn't find the memory address in the user guide, so I just googled it).
However, when I simply change the above code from address = 0 to address = 0x9000_0000, it simply does not work.
I also tried with BSP libraries, but the result is the same.
Is there an external Flash at 0x9000_0000 for my board? If so, what additional steps do I have to take to make it work?
Also, I am super confused; why is all the example for QSPI accessing memory region 0x0 or 0x50? Isn't that internal Flash? Is internal flash also going through QSPI?
Thank you!
