SPRADK4 October   2024 AM263P2-Q1 , AM263P4 , AM263P4-Q1

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Introduction
  5. 2OptiFlash Technology
  6. 3OptiFlash Hardware Accelerators
    1. 3.1 RL2_OF Accelerators
      1. 3.1.1 RL2-Flash Cache
      2. 3.1.2 FLC - Fast Local Copy (Image Download Acceleration)
      3. 3.1.3 Region-Based Address Translation (RAT)
    2. 3.2 FSS Accelerators
      1. 3.2.1 On-the-fly-Safety Engine
      2. 3.2.2 On-the-fly-Security Engine
      3. 3.2.3 FOTA HW Engine
  7. 4OptiFlash SW Tooling
    1. 4.1 Smart Placement
    2. 4.2 Smart Layout
    3. 4.3 Optishare
    4. 4.4 Dynamic Overlay
  8. 5Benchmarks and Performance Data
  9. 6Usecases for OptiFlash Accelerators
  10. 7Getting Started With OptiFlash
  11. 8Conclusion

Getting Started With OptiFlash

Getting started with OptiFlash is quite easy. All OptiFlash SW features are provided as part of TI Arm Clang Compiler tool-chain to enable easy and seamless development by the user. Developing an application for an MCU with integrated OptiFlash Technology is quite similar to the standard application development flow, as shown in Figure 7-1, with added options to enable OptiFlash tooling as part of code compilation and build, and modifying the SBL to configure the required OptiFlash HW accelerators during system startup, as shown in Figure 7-2 Few tools, such as smart placement and smart layout, would require an initial test run to collect code coverage statistics that would be fed to the tool to generate a linker command file with optimal placement of code and data. Next step would be to configure various parameters of OptiFlash HW components as part of SBL system initialization. For example, when using the OptiShare tool in a multi-core application, there is a separate binary created by the tool for shared code and RO data, mapped to a common shared memory address space. Now, the SBL needs to be configured to load the shared code and RO data once into the OCSRAM, and set up the RAT engine for each CPU such that the shared code and RO data map from shared memory address space to CPU unique address space. Finally, in the last step, the SBL and application is downloaded to Flash and the system will boot after power ON.


 Standard Application
                    Development Flow

Figure 7-1 Standard Application Development Flow

 Enhanced Application
                    Development Flow With OptiFlash

Figure 7-2 Enhanced Application Development Flow With OptiFlash