Hi everyone,
Even though I can access a second QSPI in my RT1061 device via DMA (on the IP bus) perfectly well, I can't seem to see it mapped into the AHB memory range.
I'm trying to access the second QSPI at 0x61000000, but am not seeing anything there.
Is there some other setting that is needed to make the B1 QSPI readable in the AHB address space?
Alternatively, if you know what registers control how the AHB maps different flash devices onto the AHB 0x60000000+ address range, please say, because I've gone through the chapters in the Reference Manual looking for this but am none the wiser. Knowing what these registers are should at least help me debug this issue at a low level (and maybe even fix it).
Thanks, Nick Pelling
Hello Nick,
How did you connect both memories into the RT? Did you connect both of them to the same FlexSPI interface? Or did you connect each memory to a FlexSPI interface?
Regards,
Victor
I managed to sort the problem out on Friday. Once I figured out that the flash size (and hence the AHB memory layout) was defined by the FlexSPI instance's four FLSHCR0[port] hardware registers, it didn't take long to work out that the structs I was passing down to FLEXSPI_SetFlashConfig() were slightly incorrect. All sorted!
Cheers, Nick