2024-09-04 02:21 AM - last edited on 2024-09-04 04:18 AM by SofLit
2024-09-04 03:34 AM
FMC NOR Flash is by default accessed in memory mapped mode as you can access to any location without any extra command and no need for any extra configuration.
2024-09-04 04:08 AM
Hi,
I came across the suggested TouchGFX links , but the examples provided are based on using QSPI for read, write, and erase operations. In my case, I've been testing my FMC NOR flash without implementing those steps. I've successfully performed read, write, and erase operations in my testing sections using FMC NOR flash.
Now, assuming my FMC NOR flash works, the next step is to implement this functionality into my TouchGFX application. I would need to assign the image data to the linker’s assigned address (0x60000000) for the NOR flash.
Can you confirm if this is the correct step-by-step process to get a full frame displayed on my screen? I also assume that the external loader would help transfer the data. Is that correct?
2024-09-04 04:16 AM - edited 2024-09-04 04:19 AM
First, your first question is not related to TouchGFX specifically but it's a generic question. I will move it to MCU product forum. I suggest you to close this thread.
Second, I'm not a TouchGFX expert but you need to replace QSPI configuration by your FMC NOR config. Your linker file needs to be inline with your NOR start address and its size. If I didn't answer your last question I suggest you to open a new thread in TouchGFX forum.
2024-09-04 04:33 AM
Yes, I still have one question. Even though I didn't use the specifically mem-mapped mode section of the code, which seems to be required in the QSPI configuration, it uses a driver file (.c&.h) for that flash IC. But for parallel flash, it doesn’t need a specific driver, That's the difference between the two. By accessing the memory directly in FMC_NOR flash, it is still considered to be working in memory-mapped mode only, correct?
2024-09-04 04:48 AM
You need to configure your FMC NOR elsewhere before calling TouchGFX task (at the beginning of your main). CubeMx will do it for you.
Again a NOR Flash memory connected via FMC is by construction seen as memory mapped mode.
So you need to configure your FMC memory and that's it.
Hope I understood your question and answered it.