2008-11-10 09:06 PM
access to external NOR flash and external SRAM
2011-05-17 03:51 AM
Hello,
On a STM32, is it possible to access an external NOR flash on bank 1 address 0x64000000 and an external SRAM on bank 1 address 0x68000000 without to have to reconfigure the FSMC everytime I want to access one of the memories. Let's say I want to copy data byte per byte from the external NOR flash to the external SRAM. Do I have to configure FMSC to read one byte in external Flash, then reconfigure FSMC to write the byte in external SRAM, then reconfigure FSMC to read the next byte in external Flash and carry on ...... Or can I just configure only once the FSMC to read any time the external Flash and write any time the external SRAM? Thanks2011-05-17 03:51 AM
there is one register set for each memory device, so you have to program the FSMC
controller only once. The mapping: memory address -> chip select -> address of register set is hard-wired (see RM0008 page 368 (table 66) and page 393).2011-05-17 03:51 AM
understood
thank you.