Flash Cache Configuration on XMC4500 Relax Kit Lite #85475
-
Hi everyone, I am currently working with the XMC4500 Relax Kit Lite using Zephyr Version 4.0.99. While investigating, I noticed that the flash region is mapped to the non-cached flash region at 0x0C000000, as described in the XMC4500 Reference Manual. I attempted to enable caching using the CONFIG_DCACHE and CONFIG_ICACHE options but had no success. To work around this, I created an overlay for my board that maps the flash to the cached memory region at 0x08000000. After rebuilding, I observed the expected caching behavior in my code. I have a few questions regarding this:
I’d appreciate any insights. Martin |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hi Martin,
Your approach of using the devicetree overlay looks good to me. |
Beta Was this translation helpful? Give feedback.
-
@MartinMichelis, there is pull request to make this a default option: |
Beta Was this translation helpful? Give feedback.
Hi Martin,
Your approach of using the devicetree overlay looks good to me.