MxVMC - The Virtual MicroController

MxVMC_Blue@4x

The MxVMC is used when you want to simulate the behavior of a microcontroller on the PC.  It provides the following capabilities:

EEPROM emulation

Input and Output ports

A Scheduler and an OSEK operating system

CAN buses

Pseudo-interrupts

The MxVMC runs C or C++ code. Visual Studio is required. You can use one or more VMCs in a project.

The MxVMC is a Transform, but unlike other Transforms, it runs as a independent process, so an issue in your source code cannot take down MxVDev.

The µC Library provides an interface for using the simulated microcontroller functions.

In this Section:

Setting up your code

Using VMCs

Linking your code with the MxVMC

Harnessing Application Code for Testing

Tips on Stubbing

Tips on Porting

Accessing the Scenario State

µC library

Overview

EEPROM

CAN Sub-System

DIO Sub-System

OSEK Library

Execution Model

Testing with the MxVMC

Debugging SUT Applications Using MxVDev and Visual C++

Debugging Access Violations and Other Memory Overruns

Handler Function Transforms

Visual Studio and MxVDev

AUTOSAR Testing

Harnessing an AUTOSAR Software Component

Automated Testing (COM Interface)

AUTOSAR Reference

AUTOSAR Sample

AUTOSAR Cruise Control Composition

 

Related Topics:

MxVMC C/C++ API

C Portability Guidelines

Token Charges