The application of Model-Based Design (MBD) methodology to software development for automotive Electronics Control Units (ECUs) cannot be fully realized without auto-code generation. Auto-code generation does not lend itself directly to projects where carry-over designs and legacy code have to be utilized due to either budgetary limitations or customer requirements. In fact, the majority of existing ECUs still contain only manually-written embedded software and many projects only involve requirement changes and/or added functions. In this case, it is not practical to discontinue the usage of legacy code and create a full model for the purpose of auto-code generation. In this paper, we describe a methodology in which auto-code generation approach is leveraged by creating MATLAB® models just for new features and/or change requests. After the interface between auto-code and legacy code is carefully handled, the mixed code functionality is tested and validated by “wrapping” the auto-code and its surrounding interfaced legacy code in an S-function which can be simulated in a virtual test harness model. In this work, the MathWorks’ toolset including Simulink®, Real-Time Workshop Embedded Coder®, and Legacy Code Tool (LCT) was used. The methodology introduced in this paper has been successfully applied to production projects.


    Zugriff

    Zugriff prüfen

    Verfügbarkeit in meiner Bibliothek prüfen

    Bestellung bei Subito €


    Exportieren, teilen und zitieren



    Titel :

    Implementation of Auto-Code Generation in Legacy Code for Body Control Software Applications


    Weitere Titelangaben:

    Sae Technical Papers


    Beteiligte:
    Beydoun, Al (Autor:in) / Bauman, Jason (Autor:in) / Yang, Jinming (Autor:in) / Krishnan, Sumithra (Autor:in)

    Kongress:

    SAE World Congress & Exhibition ; 2008



    Erscheinungsdatum :

    2008-04-14




    Medientyp :

    Aufsatz (Konferenz)


    Format :

    Print


    Sprache :

    Englisch




    Implementation of Auto-Code Generation in Legacy Code for Body Control Software Applications

    Yang, J. / Krishnan, S. / Bauman, J. et al. | British Library Conference Proceedings | 2008


    Gene-Auto: Automatic Software Code Generation for Real-Time Embedded Systems

    Rugina, A.-E. / Thomas, D. / Olive, X. et al. | British Library Conference Proceedings | 2008


    Code Decay Analysis of Legacy Software through Successive Releases

    IEEE; Aerospace and Electronics Systems Society | British Library Conference Proceedings | 1999


    Using Model Transformation/Code Generation Technology to Migrate Legacy Software Assets to AUTOSAR

    Rosa, David / Murugesan, Mohan / Flores, Rick | SAE Technical Papers | 2011