AUTOSAR

AUTOSAR

Posts 1-4 of 4
  • User photo
    Henning Riedel
    The company name is only visible to registered members.
    AUTOSAR component for monitoring
    Hi,

    I believe, each automotive ECU has some component, which usually handles the monitoring system and environmental resources, like voltages, current, stack usage, RAM/ROM problems ...

    Is there a component defined by AUTOSAR to actually configure/observe that resources, and report problem to DEM?

    Or do I have to do that within:
    * a SW-C above the RTE
    * a BSW/ComplexDriver?

    Regards,
    H. Riedel
  • Oliver Meili
    Oliver Meili
    The company name is only visible to registered members.
    Re: AUTOSAR component for monitoring
    Hello,

    depends on the check you actually want to perform.

    There are modules for RAM check, flash test and core test. Stack monitoring can be performed by the OS.

    Any more specific test would have to be implemented in a specific module, either as a complex device or an SW-C depending on the use-case. From a SW-C you would never access hardware resources.

    Generally diagnostics operations may be performed anywhere in an AUTOSAR ECU, as the DEM may be used via AUTOSAR interfaces (ports) as well as directly via its C-API.

    Hope this helps

    Oliver Meili
  • Post visible to registered members
  • Oliver Meili
    Oliver Meili
    The company name is only visible to registered members.
    Re^3: AUTOSAR component for monitoring
    Hello,

    the CorTst module (and other BSW test modules as well) does not provide an interface to be used from the application.

    However, the module provides a MainFunction which is scheduled by the BSW scheduler (up to AUTOSAR 3.1) or the RTE (starting from AUTOSAR 4.0). The BSW scheduler allows to trigger a MainFunction either periodically or (in the case of the CorTst module) also on mode switches. A mode switch can either be provoked by a mode change of a ModeDeclarationGroup in your application or by a mode switch in your BSW.

    To solve your particular problem, you could define a testing mode in your application, and upon entering the testing mode, the main function (performing the background testing) can bew scheduled.

    Regards

    Oliver