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.

RAM size

Other Parts Discussed in Thread: TMS320F28335

Hi All,

I got my code to execute in TMS320F28335 micro both in flash and RAM but i am not able to use all available ram.

According to data-sheet RAM size for given processor is 68KB but when i allocate data,

e.g. Uint16 myVariable[4000]; or as small block of Uint16 myVariable1[1000];Uint16 myVariable2[1000]; .....

i cannot allocate more than around 3500 data size which is approximately 7KB.

I am under impression that in 68KB, B is Byte and not bits.

Can someone suggest how to utilize full RAM capacity.......

 

Regards,

Sandesh Joshi

  • Sandesh Joshi said:

    I got my code to execute in TMS320F28335 micro both in flash and RAM but i am not able to use all available ram.

    According to data-sheet RAM size for given processor is 68KB but when i allocate data,

    e.g. Uint16 myVariable[4000]; or as small block of Uint16 myVariable1[1000];Uint16 myVariable2[1000]; .....

    i cannot allocate more than around 3500 data size which is approximately 7KB.

    I am under impression that in 68KB, B is Byte and not bits.

    Can someone suggest how to utilize full RAM capacity.......

    Sandesh,

    The linker command file (.cmd) specifies how memory will be allocated for the project.   Please see this post for a similar issue to yours:

    http://e2e.ti.com/support/microcontrollers/tms320c2000_32-bit_real-time_mcus/f/171/t/40714.aspx

    -Lori