Quantcast
Viewing all articles
Browse latest Browse all 36216

Re: Crashing CCES after setting user heap

MikeSmithCanada wrote:

 

Still working along the same lines of putting some data in a specific memory location

 

...

 

which means that bank("bank_internal") and bank("bank_external") are either both in or both outside the processor -- which does not make sense

 

The bank names are used to assist the optimizer, they don't actually control the placement of variables. Use of, for example, "bank_external" tells the Compiler Optimizer that you have taken steps somewhere else (e.g. through use of the section pragma, or heap/stack placement) to ensure that variable is placed in external memory, and therefore it should be considered to have the performance characteristics that go with that, which can be used to plan the optimizations.

 

Regards,

Craig.


Viewing all articles
Browse latest Browse all 36216

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>