Unlocking Efficiency: Understanding ATI Dynamic Overlay Support in ECU Development

January 29, 2025 03:48 PM - By Rachael

Understanding ATI Dynamic Overlay Support in ECU Development 

In the realm of ECU Development one key element in the process is having the ability to make live calibration changes on an ECU. This is a requirement for complex real-time systems, such as powertrain control systems. The ability to calibrate a control system live can significantly reduce development time. 

One method of accomplishing live calibration with modern microcontrollers is the concept of Dynamic Overlay. This blog explores the concept of dynamic overlay support, its significance, and its practical application. 

What is Dynamic Overlay support? 

Dynamic Overlay support in a microcontroller allows flash sectors to be remapped to RAM. Moving a flash sector containing calibration parameters to RAM allows VISION to make calibration changes while the control system is operating. A key benefit to this approach is that it does not require microcontroller software to support it, however it does require that the microcontroller supports Dynamic Overlay. 

How It Works 

Dynamic overlaying involves: 
  1. Partitioning Memory: Dividing Flash memory into fixed regions that can be remapped to RAM dynamically. 
  2. Overlay Management: This is a dynamic process that keeps track of what memory is currently remapped and if new regions need to be remapped. 

In a practical, real-world application, ATI’s A9 high-speed serial interface can manage the overlay process making it transparent to the user. This approach yields numerous benefits: 
  1. Optimized Resource Usage: The A9 only re-maps what is needed for the current calibration session. 
  2. Transparent: The A9 manages the overlay process in the background without the need for user intervention. 
  3. Cost Efficiency: Saves time and increases the efficiency of the calibration process. 

Application in A9 Serial Interface 

This is a high-level flowchart of the Dynamic Overlay management with the A9 and ATI VISION. 

The system consistently monitors requested calibration changes to determine if additional overlays are needed. It is possible that the address space for the requested calibration items exceeds the size of the available Overlay RAM. When this occurs, the user is prompted to Flash the ECU. All available Overlay RAM is freed up once the flash is completed. 

Conclusion 

Dynamic Overlay support is a key feature to reduce the time needed to calibrate an embedded control system. Having the process operate transparently in the background frees up the calibrator to concentrate on their tasks. 

Rachael

Rachael