Proteus VSM for PIC24


Proteus Virtual System Modelling (VSM) combines mixed mode SPICE circuit simulation, animated components and microprocessor models to facilitate co-simulation of complete microcontroller based designs.
The ‘Proteus VSM for PIC24’ product includes the following main software modules:

  • Professional Schematic Capture module
  • ProSPICE professional Simulation Engine
  • All supported VSM microcotroller variants in the PIC24 Family.
  • All of the Proteus Embedded Simulation Peripheral Libraries.
  • VSM Studio IDE with automatic compiler configuration.
  • Over 10,000 standard simulation models.

Proteus VSM for PIC® Bundle products are ideal if you need to simulate more than one family of PIC micro-controllers.


The following is a current list of supported variants in the PIC24 family:

  • PIC24FJ32GA004, PIC24FJ48GA002, PIC24FJ48GA004
  • PIC24FJ64GA002, PIC24FJ64GA004, PIC24FJ16GA004
  • PIC24FJ64GA006, PIC24FJ128GA006, PIC24FJ64GA008
  • PIC24FJ128GA008, PIC24FJ64GA010, PIC24FJ96GA010
  • PIC24F16KA101, PIC24F08KA102, PIC24F16KA102
  • PIC24FJ128GA010, PIC24F04KA200, PIC24F08KA101
  • PIC24FJ96GA008, PIC24FJ96GA006, PIC24FJ16GA002
  • PIC24FJ64GA106, PIC24FJ192GA106, PIC24FJ256GA106
  • PIC24FJ128GA108, PIC24FJ192GA108, PIC24FJ256GA108
  • PIC24FJ64GA110, PIC24FJ128GA110, PIC24FJ256GA110
  • PIC24FJ32GA102, PIC24FJ32GA104, PIC24FJ64GA104
  • PIC24FJ32GA002, PIC24FJ64GA102, PIC24FJ192GA110
  • PIC24FJ64GA108, PIC24FJ128GA106, PIC24F04KA201


We believe our simulation models are the most accurate and the most complete on the market today. A summary of model capabilities is listed below:

  • Supports the entire instruction set.
  • Supports all port and other I/O pin operations.
  • Supports all timers including watchdog timer, sleep mode and wake-up from sleep.
  • Supports both Capture-Compare and PWM modules in all modes.
  • Supports Parallel Master Port (PMP) module including legacy PSP modes.
  • Supports all serial communication peripherals including SPI, I2C and UART.
  • Supports Analogue-to-Digital Conversion (ADC) module including support for voltage reference pins.
  • Supports Analogue Comparator modules including support for internal and external voltage references.
  • Supports the CTMU (Charge Time Measurement Unit) features.
  • Supports Real Time Clock including automatic initialisation from the PC time.
  • Supports 16-bit Programmable Cyclic Redundancy Check (CRC-16) Generator for appropriate variants.
  • Supports all interrupt modes including interrupt priorities.
  • Support for the Peripheral Pin Select module on low pincount devices.
  • Support for extended instruction set for appropriate variants.
  • Support for 256 words (512 bytes) EEPROM for appropriate variants.
  • Provides internal consistency checks on code (e.g. execution of invalid op-codes, illegal memory accesses, stack overflow checking, etc.).
  • Fully integrated in to the VSM source level debugging system.
  • Fully integrated into the Proteus Diagnostic Control System.


The following is a listing of known limitations in the current version of the PIC24:

  • The following “core” registers are either not modelled at all. Functionality enabled by these registers is therefore not available: DISICNT, ODCx, CLKDIV, OSCTUN, PMDx.
  • The OSCCON register not modelled except for the SOSCEN bit (which must be set to enable the secondary oscillator for use by either timer 1 or the Real Time Clock Module)
  • Brown-out detection is not modelled.
  • The A/D converted Cad capacitance is not modelled. Whether the effects of Cad have to be taken into the account for CTMU calibration purposes then an external capacitor must be used.
  • The SPI modules do not currently support either “enhanced” mode (FIFO buffering) or “framing” modes (essentially, any feature enabled via SPIxCON2).
  • The 32-bit Programmable Cyclic Redundancy Check (CRC-32) Generator is not modelled yet.


Supported Third Party Compilers

Proteus VSM models will fundamentally work with the exact same HEX file as you would program the physical device with. However, far more debugging information is available when using a compiler to write the firmware and providing these object files to Proteus in place of the HEX file provides a much richer working environment.

We recommend you use the free Labcenter VSM Studio IDE. This will greatly simplify the task as it will automatically configure supported compilers to work with a Proteus VSM simulation.

If you prefer to work inside your own IDE then you will need to set your compiler options manually. After compiling for debug, all you need to do is specify the debug file from the compiler as the program property of the microcontroller on the schematic.

VSM Studio supported toolchains

  • IAR
  • HI-TEC
  • Microchip XC8
  • Microchip XC16
  • Proton+
  • CCS
  • Source Boost
  • Byte Craft
supported compilers' logo montage