- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Our application size is around 120 KB.
I would like to know the general rules while fixing the cache sizes (both Instruction and Data cache). What parameter should I be taking into account? Thanks ...Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The size of the working set of your program, and how fast you need it to execute!
If you are using internal memory, then make it all 'tightly coupled' and remove the caches completely (you might need a minimal i-cache for boot/jtag debug). You'll need to fiddle with the linker script to get the readonly data out of the code memory. If you are using gcc4 you have a problem because any jump tables (for switch statements) get placed in the code area - this can only be fixed by rebuilding gcc.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page