Quantcast
Channel: Tools
Viewing all articles
Browse latest Browse all 91752

Forum Post: CCS3.3 to CCS5.5 stack fill

$
0
0

All:

We have a C6713 project that, when it builds on CCS3.3, populates the stack with a value of 0x00c0ffee - when this was migrated to CCS5.5, the populated stack disappeared. In looking at the CCS3.3 settings, I could see no reference to the "c0ffee" - could this have been something that was migrated from CCS2.x to CCS3.3, and now disappears?

I have no problem in adding some code to the boot section to populate the stack with a value. (And "c0ffee" is as good a value as any - what happens when you run out of "c0ffee"?) It looks like this will need to be done. Can someone confirm that? Presently, the boot code populates the heap area with a value. There is code that checks to see what the worst case stack and heap usage is by looking for the prepopulated values in stack & heap.

Again, on CCS5.5, is there a way to have the compiler (or linker) populate the stack and heap, or is that something that should be done by a bootloader?

 


Viewing all articles
Browse latest Browse all 91752

Trending Articles



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