Forum Discussion
Altera_Forum
Honored Contributor
14 years agoTASK_STACKSIZE setting in Simple Socket Server
I just got the Nios II Simple Socket Server example app working on a custom board with a Cyclone III and 512KB SRAM (no other RAM). the original elf file was almost 900kbytes, with a significant por...
Altera_Forum
Honored Contributor
14 years ago --- Quote Start --- A method for monitoring stack utilization I sometimes used is initializing stack with a known data pattern, run the application for a while and then peek into the stack area in order to see the maximum usage. --- Quote End --- What a clever idea. I will try this as my design progresses to see how the stack usage changes. Right now it the low stack size seems to be okay, but maybe it will eventually need to increase. Thanks so much, I appreciate your comments.