This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

EK-TM4C1294XL: EK-TM4C1294XL

Part Number: EK-TM4C1294XL

Dear TI Support,

I have a EK-TM4C1294XL evaluation kit. I downloaded SPMA072 source code (Serial to Ethernet Converter for TM4C129x).

I have CCS 11.2.0. installed on my machine.  I am able to compile original code. After I modified the code I am still able to compile without errors. However, when I open Stack Usage window, I see TelnetReceive function is at its limit. I guess this is because I added some variables to it. I tried to increase stack size in enet_s2e_ccs.cmd file from 4096 to 6000 but saw no improvement. I also tried to increase stack size and hap size in CC Build/ARM Linker but no effect. Is there a way to improve this?

I appreciate your help.

Felix V.

  • This is the stack usage 

  • Hi Felix,

      I'm not sure what the problem is? Despite what the stack usage says in CCS, do you have problems running the code?  For experiment, can you increase the stack size further and what does it show? I just wanted to make sure this is not a tool issue in displaying the stack usage for TelnetReceive. 

  • Hi Charles, the code runs fine. I run a test that executes TelnetReceive and seems to be working fine. I just wanted to minimize risk. I increased stack size further but still saw no difference in stack usage. Perhaps as you think is just the tool. I know Stack Usage runs in static mode. Is there a way to check the stack dynamically? For now I will assume that stack is fine since code runs fine.

    Thanks a lot for your quick and helpful response, Felix