Learn Top 50 AUTOSAR, UDS, and Model-Based Development (MBD) Question-Answer

1. What are the main goals of AUTOSAR?

  • Standardize ECU software
  • Improve software reusability
  • Reduce development time and cost
  • Support safety and security

2. What is a Software Component (SWC) in AUTOSAR?

It is a functional block that contains algorithms and communicates with other components through ports.


3. What is a Port in AUTOSAR?

  • A port is an interface that connects software components.
  • Required ports receive data and provided ports send data.

4. What is a Runnable in AUTOSAR?

A Runnable is a small executable function inside a Software Component triggered by timing or events.


5. What are the types of communication in AUTOSAR?

  • Sender-Receiver communication
  • Client-Server communication

6. What is Basic Software (BSW)?

It is the lower layer in AUTOSAR that handles hardware communication, memory, and diagnostics.


7. What are examples of Basic Software modules?

  • Communication stack (CAN, LIN, FlexRay)
  • Diagnostic stack (DCM, DEM)
  • Memory stack
  • OS services

8. What is the DCM module?

Diagnostic Communication Manager (DCM) handles UDS communication and diagnostic requests from testers.


9. What is the DEM module?

Diagnostic Event Manager (DEM) manages Diagnostic Trouble Codes (DTCs) and fault memory.


10. What is the role of COM stack?

It handles message sending and receiving between ECUs using CAN, LIN, or FlexRay.


11. What is the purpose of the ECU Extract (ECUEX)?

It defines the configuration and communication setup for each ECU in a system.


12. What is a PDU?

A Protocol Data Unit is a data packet exchanged between AUTOSAR modules.


13. What is the role of PduR in AUTOSAR?

PDU Router routes data between upper and lower layers of the communication stack.


14. What is the role of CAN Interface (CanIf)?

It provides services to send and receive CAN frames and interacts with the CAN Driver.


15. What is the role of the CAN Driver?

It directly controls the CAN controller hardware for message transmission and reception.


16. What is COM Manager (ComM)?

It manages the communication modes (Full, Silent, No Communication) of an ECU.


17. What is NM (Network Management)?

It ensures the bus is active only when needed and saves power when inactive.


18. What is the role of RTE in AUTOSAR?

It connects the Application layer (SWCs) and Basic Software, enabling data exchange and function calls.


19. What tools are used for AUTOSAR configuration?

  • Vector DaVinci Developer
  • EB Tresos
  • Arctic Studio
  • Elektrobit Configurator

20. What is ARXML?

AUTOSAR XML files contain configuration data, system descriptions, and software architecture details.


21. What is the role of the BSW Scheduler?

It schedules the execution of Basic Software tasks.


22. What is the role of OS in AUTOSAR?

It handles task scheduling, timing, and interrupt management for software components.


23. What is a BSW module configuration parameter?

It defines how a module behaves, such as message IDs, baud rate, or memory size.


24. What is the purpose of calibration in automotive systems?

Calibration adjusts software parameters to achieve optimal performance without changing the source code.


25. What is the difference between variant coding and parameter coding?

Variant coding selects software features at runtime, while parameter coding tunes numerical values.


26. What are common automotive communication protocols?

CAN, LIN, FlexRay, Ethernet, and MOST.


27. What is the difference between CAN and LIN?

CAN is fast and used for critical systems. LIN is slower and used for body electronics.


28. What is CAN FD?

CAN Flexible Data Rate (CAN FD) allows higher data rates and larger message sizes compared to classical CAN.


29. What is the main use of UDS protocol?

UDS is used for vehicle diagnostics, ECU reprogramming, and testing.


30. What is the physical layer used in UDS?

UDS typically runs over CAN, LIN, or Ethernet depending on system design.


31. What is Diagnostic Session Control (0x10)?

It switches the ECU between diagnostic modes like default, extended, or programming sessions.


32. What is Read Data by Identifier (0x22)?

It allows reading specific ECU data such as VIN, software version, or sensor values.


33. What is Write Data by Identifier (0x2E)?

It allows writing configuration or calibration data to ECU memory.


34. What is Clear Diagnostic Information (0x14)?

It clears stored Diagnostic Trouble Codes (DTCs) from ECU memory.


35. What is Security Access (0x27)?

It protects ECUs from unauthorized access using a seed and key authentication mechanism.


36. What is Routine Control (0x31)?

It triggers internal ECU routines such as actuator tests or self-checks.


37. What is Communication Control (0x28)?

It enables or disables communication channels during testing or diagnostics.


38. What is Tester Present (0x3E)?

It keeps the diagnostic session active to prevent timeout.


39. What is Request Download (0x34)?

It prepares the ECU to receive new software data during flashing.


40. What is the difference between Request Download and Transfer Data in UDS?

Request Download starts the process, while Transfer Data sends actual software blocks to the ECU.


41. What is negative response code in UDS?

It indicates an error or rejected request. Example: 0x7F with reason code like 0x31 (Request Out of Range).


42. What is Model-Based Design workflow?

  • Define system requirements
  • Model system in Simulink
  • Simulate and test
  • Generate code
  • Validate on hardware

43. What is the purpose of requirement linking in Simulink?

It connects each model block or subsystem to its corresponding system requirement for traceability.


44. What is the use of Signal Builder in Simulink?

It creates custom input signals to test different system behaviors.


45. What is Back-to-Back Testing in MBD?

It compares model results with generated code results to check consistency.


46. What is Polyspace used for?

It checks code for runtime errors and MISRA compliance without executing it.


47. What is the advantage of using MATLAB scripting with Simulink?

It automates simulation, data logging, and report generation for faster testing.


48. What is a Lookup Table used for in models?

It stores pre-calculated values and gives quick output for given inputs, reducing computation load.


49. What is signal logging in Simulink?

It records signal values during simulation for analysis and verification.


50. What is the benefit of integrating AUTOSAR with MBD?

It allows automatic code generation and configuration for AUTOSAR-compliant ECUs, reducing manual work and errors.