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.

TMS320F28335: TMS320F28335

Part Number: TMS320F28335


Dear All,

Due to this error," program will not fit into available memory" for .ebss, I've allocated on-chip flash: FLASHC instead of RAML4. It debugs without any problem but no outputs are available. But when I combined all the available RAM blocks, I have the correct outputs. So, I cannot any of on-chip FLASH blocks to store .ebss on it! what am I missing?

I appreciated all your suggestions in advance

  • The .ebss section is used for variables, so it needs to be placed in memory which can be both read and written to as the program runs, which means RAM.  Flash memory cannot be written to in this way; you would normally use flash to store your program, typically the .text section.

    If you're running out of RAM there are a few things you can do.

     - Look at the placement of initialized sections such as .text and .const.  If you have these in RAM you can map them into flash.

     - If you really need a lot of RAM memory, the device your using has an external memory interface which allows you to add external memory.

    The RAM <-> flash mapping concept is well described in this application note:

    http://www.ti.com/lit/an/spra958l/spra958l.pdf

    Hope this helps.

    Regards,

    Richard

  • Dear Richard,

    Thanks for your reply,

    Now I see why I have no outputs.

    I would use an external memory.

    All the best