Technical discussions related to Analog Devices DSPs (including Blackfin, TigerSHARC, SHARC and ADSP-21xx DSPs).
Hi, How do i enable cache memory from C code? Regards, Jagan --------------------------------- Never miss a thing. Make Yahoo your homepage.
Hi Jagan, I assume you have VDSP++ 4.5 or higher. When you create a project with the Project Wizard (or modify an existing one through Project Options), you want to add Startup Code (and LDF if you want to make mods to the default memory usage). The first page of the Startup Code options has several options related to Cache (eg instruction cache enabled or not, data cache enabled with 1 or 2 banks, or not, etc). The wizard then regenerates the startup code based on the options that you select. This would be the easiest, as the cache setup is done for you (ie setting registers appropriately like the CPLB's) and the defaults are usable for most applications. Hope this helps. Cheers, George Kadziolka Kaztek Systems <http://www.kaztek.com/> www.kaztek.com _____ From: a...@yahoogroups.com [mailto:a...@yahoogroups.com] On Behalf Of Jaganathan Gnanavelu Sent: Saturday, December 22, 2007 9:29 AM To: a...@yahoogroups.com Subject: [adsp] Enabling the Cache memory Hi, How do i enable cache memory from C code? Regards, Jagan