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.

L2 is not enough



My pragram is >500kb,but the L2 of 6713's is not enough .How can I storage it in external memory. when I reset the board,flash can load program into external memoty?

need your help...

  • Grtns,

    From Spectrum Digital TMS320C6713 Tech Ref,

    "512 Kbytes of non-volatile Flash memory (256 Kbytes usable in default configuration)" on page 10.

    "The DSK uses a 512Kbyte external Flash as a boot option. It is visible at the beginning

    of CE1 (address 0x90000000). The Flash is wired as a 256K by 16 bit device to support

    the DSK's 16-bit boot option. However, the software that ships with the DSK treats the

    Flash as an 8-bit device (ignoring the top 8 bits) to match the 6713's default 8-bit boot

    mode. In this configuration, only 256Kbytes are readily usable without software

    changes." on page 21.

    That is your limit.  If you have tables stored in your code that can be generated dynamically at run time, line Sine/cosine, you will want to do such.

    Good Luck,

  • HI Quote,

    What I mean is that Dsps achieve their highest performance when running code from on-chip program RAM.If your program will fit into the on-chip program RAM,use the DMA or the Boot_loader to copy it there during system initialization. This method of using DMA or a Boot-laoder is powerfull, but if requires the system designer to set everything up manually.

    My system code cannot fit on chip ,How can I do?

  • Grtns,

    As Randy said in the other thread, this legacy device boot ROM get the first 1k from EMIF ROM into RAM, and give it control.  Then this 1K long boot loader should init your chip and SDRAM interface, copy remaining run-time into internal/external volatile memory and once done then you can transfer control to the main run-time in internal or external memory, part of this will be init your L1P/L1D and L2 to the cache model you want to use, and run.  Your run-time from then on will be cached in for the chip to operate your at full performance.

    Good Luck,

  • It's hard to believe that your actual program text (instructions) can be that large.  If much of that size is used for data arrays, not instructions, then you can easily allocate the data storage in external SDRAM using an appropriate linker command file.  In that case, nothing further needs to be done.