Hello experts,
My c6745 application is expanding, as they tend to do, so that it soon will not fit to L2 RAM and I need to generate a plan B. In my system I have:
-256M of SDRAM in EMIFB
-32G of FLASH (NANDflash with PATA- inteface) in EMIFA
-I2C boot from EEPROM
So it would be quite easy to write a secondary bootloader booting from I2C-EEPROM, fetching application from FLASH and putting it to SDRAM - no problems, just work. L1 RAMs can be tuned to be caches, L2 as a cache and heap/stack. My concern is the cache handling, I don't have resources to study caching in details and I would be happy to use some optimized handler like SYS/BIOS to do the dirty work, most likely in much more efficient way than my own "cachier" would do.
So I would like to ask your opinion: should I transfer my C++ code to run under SYS/BIOS or try to optimize cache myself. Time-critical functions of the application would fit to L1/L2 but I still would like to let the OS to handle them by caching.
BR, Risto