When I use the RT1024 on my project, the error showed as following
The RAM setting of my project is follwong,
I check an example of RT1024 EVK, the NACHE_REGION set through the external SDRAM and location is "0x81e0000', size is "0x200000".
Undoturanlly, there is no an external SDRAM on my project.
How can I set the 'NACHE_REGION' in the RAM setting on my board?
Thanks
Hi @chhsu0229
Many thanks for your patience. Here is how.
Lets say that you start with default memory map.As shown in the Properties> MCU settings of your project.
If SDRAM is not being used, you can delete this region. To use NCACHE region, you can split the a section of available SRAM. Below an example where I splited OCRAM and rename the new region as NCACHE_REGION.
This way the compiler can use NCACHE. If you want to verify that this works you can temporally tell the compiler to place global data to NCACHE region
Then build your application and see that global data is getting placed to NCACHE region address.
Please note, that this is demonstration, I can not guaratee could work on your side. Beware of the size limitation of the internal SDRAM, it may not fit your application. Also, there are more ways to place data in NCACHE region. Btw, here is an interesting application note that could help you Using the i.MXRT L1 Cache
I hope this could be of help,
Diego