Sign in

username:

password:



Not a member?

Search adsp



Search tips

Subscribe to adsp



adsp by Keywords

AD1819 | AD7332 | ADSP-2106 | ADSP-21060 | ADSP-21065L | ADSP-2116 | ADSP-21160M | ADSP-2181 | ADSP-218x | ADSP-219 | ADSP-2199 | ADSP219 | BF531 | BF532 | BF533 | BF535 | Blackfin | FFT | JTAG | LDF | SDRAM | SHARC | SPORT | UART | VDSP++ | VisualDSP

Discussion Groups

Discussion Groups | Analog Devices DSPs | Enabling the Cache memory

Technical discussions related to Analog Devices DSPs (including Blackfin, TigerSHARC, SHARC and ADSP-21xx DSPs).

  

Post a new Thread

Enabling the Cache memory - Jaganathan Gnanavelu - Dec 22 10:58:48 2007



Hi,
  How do i enable cache memory from C code?
   
  Regards,
  Jagan

---------------------------------
Never miss a thing.   Make Yahoo your homepage.


(You need to be a member of adsp -- send a blank email to adsp-subscribe@yahoogroups.com )

RE: Enabling the Cache memory - George Kadziolka - Dec 24 22:28:29 2007

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



(You need to be a member of adsp -- send a blank email to adsp-subscribe@yahoogroups.com )