vector.com|Contact
Search tips

apple banana
Find rows that contain at least one of the two words.

+apple +juice
Find rows that contain both words.

+apple macintosh
Find rows that contain the word 'apple', but rank rows higher if they also contain 'macintosh'.

+apple -macintosh
Find rows that contain the word 'apple' but not 'macintosh'.

+apple ~macintosh
Find rows that contain the word 'apple', but if the row also contains the word 'macintosh', rate it lower than if row does not. This is "softer" than a search for '+apple -macintosh', for which the presence of 'macintosh' causes the row not to be returned at all.

+apple +(>turnover >strudel)
Find rows that contain the words 'apple' and 'turnover', or 'apple' and 'strudel' (in any order), but rank 'apple turnover' higher than 'apple strudel'.

apple*
Find rows that contain words such as 'apple', 'apples', 'applesauce', or 'applet'.

"some words"
Find rows that contain the exact phrase 'some words' (for example, rows that contain 'some words of wisdom' but not "some noise words").

By continuing to use this site you agree to the use of cookies. For more information and to find out how to change this click here. Accept Cookies
Please enable cookies in your browser for this website.
Search:
Advanced search

How to Debug a Virtualized AUTOSAR Classic ECU in CANoe

Last updated: 2020-04-08
Question:
How can I debug a virtualized AUTOSAR Classic ECU in CANoe?
Answer:
  1. Build the virtual ECU/system under test in the debug configuration: 
     
    • In vVIRTUALTarget: Go to Build and enable CheckBox Generate Visual Studio solution and select the Visual Studio Configuration Debug.


       
    • …or: Open the generated Visual Studio Solution and select Debug configuration and rebuild the project.
       
  2. Add the generated SUT-DLL into CANoe (if the SUT-DLL is already added, this step can be skipped):
     
    • Integration use case (input file is a .dpa file)
    1. In your CANoe configuration, create a network node in the simulation setup.   
    2. Open the context menu of the created node by doing a right click on the node and select Configuration….
    3. Add the generated SUT-DLL from Visual Studio (<SUT directory>\<EcuName>.dll) in Components.
    4. Optional step: rename the node to the name of your ECU.
       
    • BSW Emulation use case (input file is a .arxml file)
    1. In your CANoe configuration, go to the communication setup and click Import vVIRTUALTarget SUT.
    2. Select the .vttsut file (<SUT directory>\<EcuName>.vttsut) which refers the relevant files to import.
       
  3. Attach to the RuntimeKernel.exe process with Visual Studio: 
    • Open the generated Visual Studio solution.
    • Insert desired break points.
    • Select Debug | Attach to Process....
    • Select Attach to: | Native code.


        
    • Select RuntimeKernel.exe (CANoe has to be started)
    • Click Attach
       
  4. Start Measurement in CANoe. The breakpoint should hit, if the application code will be reached.
     
 
Article Options
2020-04-08
Views: 113
Rate this article: