Hi all ! I am having trouble using the L2 config register in the C6711 DSK. I try to EDMA data from SDRAM into L2, and do some processing on it. If I configure 16K of L2 to be Cache, and enable caching for the SDRAM (MAR0 = 1), the EDMA does not do the correct transfers anymore. I had to configure some of L2 to be cache since the code wont fit in the internal RAM. I am also sure there arent memory coherency issues since I dont directly write to or read from SDRAM, its only through EDMAs. I would really appreciate any leads or insights, Thank you ka |
|
L2 config
Started by ●May 15, 2002
Reply by ●May 15, 20022002-05-15
Have you studied up on the CACHE clean functions ? Double check what they do and when you should use them. From your email, it sounds like you might already have this part sorted out. Are you saying that you have 48 k SRAM 16 k cache How much data are you trying to process ? I would try doing 16 k SRAM 48 k cache And just process the data out of SDRAM. The L2 cache controller on the C6711 will take care of the cache for you. Andrew E. At 11:02 PM 5/14/2002 +0000, akalya wrote: >Hi all ! > >I am having trouble using the L2 config register in the C6711 DSK. I >try to EDMA data from SDRAM into L2, and do some processing on it. > >If I configure 16K of L2 to be Cache, and enable caching for the >SDRAM (MAR0 = 1), the EDMA does not do the correct transfers anymore. >I had to configure some of L2 to be cache since the code wont fit in >the internal RAM. I am also sure there arent memory coherency issues >since I dont directly write to or read from SDRAM, its only through >EDMAs. > >I would really appreciate any leads or insights, > >Thank you >ka > >_____________________________________ >Note: If you do a simple "reply" with your email client, only the author >of this message will receive your answer. You need to do a "reply all" if >you want your answer to be distributed to the entire group. > >_____________________________________ >About this discussion group: > >To Join: Send an email to > >To Post: Send an email to > >To Leave: Send an email to > >Archives: http://www.yahoogroups.com/group/c6x > >Other Groups: http://www.dsprelated.com >">http://docs.yahoo.com/info/terms/ |