I am puzzled about the stack and heap requirements when compiling code in CCSv5. Under project>properties>C6000 Linker>Basic Options there is
Set C system stack size (--stack_size, -stack)
Heap size for C/C++ dynamic memory allocation (--heap_size, -heap)
Question 1: What is the unit attached to the numeric value placed in this field? (bits, bytes, kilobytes, megabytes...)
Question 2: How does this map into a phyiscal c66x EVM? When I initially coded my algorithm and ran it in simulation under CCS it would not work until I increased the stack and heap size to 128000 and 1024000 respectively. The c66x evm boards have 512MB DDR3 and 128MB nand Flash memory. based on this what determines the max heap and stack size available and how much memory is availible to store the code? and given my current algorithm how can I see in the simulator how much memory is being occupied by the algorithms execution.
Thanks,
Aaron