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.

AM5728: EtherCAT Master stack area

Guru 10235 points
Part Number: AM5728
Other Parts Discussed in Thread: TIDEP0079

Hello, TI Experts,

 

Our customer sent us a question about EtherCAT-Master reference design(TIDEP0079).

https://www.ti.com/tool/TIDEP0079

They want to know how to expand stack-area for EcMaster stack.

 

Their understanding is as below;

   - Proper way is modifying below description in xxx.cfg file to expand stack-area for EcMaster stack.

       - BIOS.heapSize = 0x500000;

 

Question:

   Is this understanding correct?

 

We would appreciate if you tell us the recommended way of expanding stack-area for EcMaster stack.

 

Best regards,

 

  • Hi matusan,

    BIOS.heapSize = 0x500000; will increase the heap size for memory requested dynamically including the EcMaster task which is dynamically created in the application.

    You may also refer to the amic11x_onchip.lds under EtherCAT slave protocols\ethercat_slave\ecat_appl for another approach with more detailed memory allocation for each sections:

    Regards,
    Garrett

  • Hi,

    Thank you very much for your kindness.

    I really appreciate your help.

    I understand to increase stack-area for EcMaster stack.

     

    Best regards,