Search the Community
Showing results for tags 'stack'.
Found 2 results
Hi, I have a problem setting heap and stack sizes for my application on a CMOD A7 35T. Briefly, through the linker script, I set heap and stack sizes to be placed into the axi_emc_0_S_AXI_MEM0_BASEADDR (64 MB), the emc controller of the onboard SRAM. So a bootloader copies the program from flash to this memory. First of all, I set the emc to 64 MB in the VIvado address editor, but the size of the onboard SRAM is 512kB. What does it mean? Is the actual available size of the memory 64MB or 512KB? Moreover, if I increase the two sizes, heap and stack, from 800kB to 1 or 2 or 4 MB the program doesn't work anymore (even if the "axi_emc_0_S_AXI_MEM0_BASEADDR" memory is set to 64MB). How can it be explained? How can I solve it? Thank you in advance, Antonio