AnsweredAssumed Answered

Why is there a __NCACHE_REGION_START and __noncachedata_start__ in the SDK loader files?

Question asked by Ed Sutter on Jun 17, 2020
Latest reply on Jun 30, 2020 by Ed Sutter


I'm trying to understand what appears to be major over-complexity in the loader (*.ld) files that come with the SDK.

I realize there is some need for memory section labels so that the MPU can be configured by using those labels, but it seems like it is a lot more complicated than need-be.



Can someone explain the use of __NCACHE_REGION_START & __NCACHE_REGION_SIZE  vs __noncachedata_start__ & __noncachedata_start__?


The BOARD_MPUConfig() function uses teh __NCACHE_REGION_START/SIZE variables, but I've also used the "NonCachable" attribute for an Ethernet driver and it seems to work just fine; but doesn't make sense to me.