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.

Out of memory on TMDXEVM5505

I am developing a product on the TMDXEVM5505 and nearing my deadline, and running into a memory problem.

I have run out of the 320K of onboard memory, even after balancing things between DARAM and SARAM and optimizing for size. I am afraid that if I write my program to EEPROM I will lose the ability to use the debugger anymore.

I've looked around for a "Memory Daughter Card for C5505 EVM" but they are not available in time for me to finish up by my deadline. Does anyone have any advice on how to proceed? Can I install my own memory on the EVM? Can I debug even when loaded into EEPROM? Any tricks or options for me?

Thank you!!!

  • Hi,

    In this situation, the memory daughter card is your best bet.  Since you cannot get it in time, here is a trick you can use. Put the code that you do not need to debug (such as CSL) into release version (no debug, code optimization at -o2 or -o3). It will reduce the binary code size significantly. Only keep the code that you will need to debug in debug mode.

    You may also put your data in the SD card, SPI EEPROM or I2C EEPROM, but you may have to write the read/write function to shuffle the data around.

    Good luck!

    Ming

  • Thanks!  That helped a lot.  That freed up about 19K for us.   That should hold us off until our daughter boards arrive.

    Cheers,

    David

  • Your tip helped us get through our show.  Thanks.

    Now we're trying to use the memory daughter card to finish all the development and our app has been behaving strangely ever since.

    I'd like to ask a few questions just to make sure I'm using it correctly.    (I'm using CCS 3.3)

     

    1. I set the "base" of our EXTMEM to 0x780000  and the "len" to 0x80000, correct?
    2. Are there any things that I should or shouldn't put into the EXTMEM section?  like BIOS stuff, or .sysstack, or .text, etc.
    3. We are using the DSP/BIOS from the C5509 because we couldn't find a C5505 specific one.  Is this ideal?
    4. What is the recommended version of CSL and DSP/BIOS?
    5. Where can I find documentation for proper use of the extended memory?

     

    Thanks,
    David