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...
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.
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?
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.
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.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.