SPRADK4 October 2024 AM263P2-Q1 , AM263P4 , AM263P4-Q1
Typically, in a high performance MCU, each CPU runs an independent application, but each application uses certain common software libraries and functions, for example, same RTOS, drivers, networking stack. This results in the same code or read-only (RO) data getting duplicated multiple times once for each core, and will soon start to run out of memory. The OptiShare tool aims to solve this by finding common code/data segments across multiple CPU images and convert it to a single shared copy, to avoid duplication of code/data and reduce the amount on chip SRAM. This tool is used along with the RAT engine placed in front of each CPU core, which performs address translation to map the common code to the shared address in the system.