This is the mail archive of the ecos-bugs@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug 1001606] Enable the cache on Kinetis in RAM startup mode


Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001606

--- Comment #10 from Ilija Kocho <ilijak@siva.com.mk> 2012-06-14 13:32:14 BST ---
Jifl

I am applying changes and I have some doubts.

Considering that Kinetis have 2 unified caches:
    - Is it OK to independently disable/enable them by DCACHE_ENABLE/
DCACHE_DISABLE respectively (with appropriate documentation in CDL descriptions
and SGML)? The present state treats them as unified cache.

    - What would be appropriate setting for DCACHE_SIZE / ICACHE_SIZE and
DCACHE_WAYS / ICACHE_WAYS (Each Kinetis cache size is 8KiB with 2 ways)?

Current setting is:
#define    DCACHE_SIZE (2*8192)
#define    DCACHE_WAYS (2*2)

#define    ICACHE_SIZE (2*8192)
#define    ICACHE_WAYS (2*2)

Ilija

-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]