Quantcast
Channel: Active questions tagged autosar - Stack Overflow
Viewing all articles
Browse latest Browse all 101

How to use EcuMWakeupSource which is not related to a ComM

$
0
0

I have defined wakeup sources in EcuMWakeupSource for which the parameter EcuMComMChannelRef is empty (=> there is no relationship to any ComM channel).Now I am trying to set such a wakeup source by calling EcuM_SetWakeupEvent() but it won't add the wakeup source to the internal variable for validated wakeup Sources (which can be retrieved by calling EcuM_GetValidatedWakeupEvents()).Even using a EcuMValidationTimeout won't improve the situation as EcuM_ValidateWakeupEvent() will still never set the (internal) flag for validated wakeup.

This behavior/implementation is actually correct, as it satisfies the requirements:

[SWS_EcuM_02790] EcuM_ValidateWakeupEvent shall return without effect for all sources except communication channels when called while the ECU Manager module is in the RUN state.(SRS_ModeMgm_09145)[SWS_EcuM_02791] EcuM_ValidateWakeupEvent shall have full effect in any ECU Phase for those sources that correspond to a communication channel (see [SWS_EcuM_02645]).(SRS_ModeMgm_09145)

Now, my Question is: How can I use wakeup sources in EcuM which are NOT related to any ComM channel (so that they get marked as validated wakeup)?


Viewing all articles
Browse latest Browse all 101

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>