AUTOSAR

AUTOSAR

Posts 1-2 of 2
  • User photo
    Faizal Rahim
    The company name is only visible to registered members.
    Concern in RTE
    Hi,

    I am new to RTE. Can AUTOSAR RTE handle the below given example :

    I have two applications APP 1 and APP2.

    In APP1 i have a float variables e.g float32 yy_temp.
    In APP 2 i have all integer variables eg. uint8 xx_temp

    Is it possible for the application APP2 to access the float data of APP 1.

    Any coversion support is there in RTE for this scenario?

    Thanks,
    Faizal R
  • Byoungsu Kim
    Byoungsu Kim
    The company name is only visible to registered members.
    Re: Concern in RTE
    First of all, you must be not complicated with the definitions,
    in autosar, there's nothing like application, you shall use the terms software components or runnables inside of it.
    and the runnable is scheduled by RTE task that is also scheduled by AUTOSAR OS(OSEK OS).

    If you like to access the variable in APP1, you need to make(adapt) the path using server/client or sender/receiver communication channel. In your design tool - I don't know what you have - you can design a software component ( that you actually calling them as an application) and their connections with the other software component. If you need to make some variable(resource) as a shared resource, be sure you need to design them to avoid the deadlock, that means you need to choose the synchronization mechanism for it. Basically, the OSEK OS supports it very naive style but you can use it for sync.


    - ahtz