Tool/software: Code Composer Studio
Hi,
I am trying to implement MODBUS TCP Server (Slave) device using TM4C129ENCPDT Evaluation Kit. So for memory allocation, I just made the following reference table. The memory allocation for the four modbus data types has to be made as configurable in the program itself.
Based on the table, I inferred that we need 41.5kB (not sure correct or not) of memory to be allocated dynamically if we configure to use all the addresses for the modbus datatypes.
Since my controller has 256kB of RAM in it, can I directly go and put 42496 (41.5kB x 1024) bytes in the heap size in the project properties-->CCS BUILD-->ARM Linker-->Basic Option.
Does allocating 41.5kB of memory as the heap, affects the performance of the controller in any way?
Thank you for your time.