Microchip logo
  • All
  • Products
  • Documents
  • Applications Notes


Studio 7 is the integrated development platform (IDP) for developing and debugging all AVR® and SAM microcontroller applications. The Atmel Studio 7 IDP gives you a seamless and easy-to-use environment to write, build and debug your applications written in C/C++ or assembly code. It also connects seamlessly to the debuggers, programmers and development kits that support AVR® and SAM devices.

Additionally, Studio includes Atmel Gallery, an online app store that allows you to extend your development environment with plug-ins developed by Microchip as well as third-party tool and embedded software vendors. Studio 7 can also seamlessly import your Arduino sketches as C++ projects, providing a simple transition path from Makerspace to Marketplace.

LDRArules for MPLAB X is a perpetual license1 of LDRArules that is preconfigured for use with MPLAB XC Compilers’ language extensions, providing additional support within MPLAB X IDE via the provided Plug-In2. LDRArules provides the most comprehensive C/C++ coding standards enforcement available on the market today3. Additionally, it incorporates next-generation reporting capabilities to show code quality, fault detection, and avoidance measures. By providing transparency into source code, LDRArules allows managers, teams, and developers to monitor standards compliance, memory management errors, and security vulnerabilities more thoroughly, allowing for the effective enforcement of industry and company coding standards.

LDRArules enhances collaboration and communication across all members of the development team through an easy-to-use graphical user interface and sophisticated reporting mechanisms. Software teams can quickly view results in call graphs, flow graphs, and code-review reports in an easy-to-read, intuitive format, and users can easily see how source code performs in the areas of industry-specific and user-defined standards, security vulnerabilities, fault detection, and adherence to programming standards. Reports generated by LDRArules can also be submitted to auditors for standards compliance. Such information allows development teams to quickly identify and repair coding flaws, speed up the development cycle, and reduce overall development costs.

LDRArules for MPLAB X is subject to LDRA's Software License Agreement and customer is subject to approval by LDRA. The first year of annual support is included with the license fee, but after that, annual support can be purchased from LDRA direct.

The provided Plug-in provides static analysis directly within MPLAB X.

This license includes most MISRA rules. For full MISRA support, users can also license the TBmisra for LDRArules add-on from LDRA.

MPLAB Device Blocks for Simulink

Part Number: SW007023

No Longer Available

MPLAB® Device Blocks for Simulink are no longer available for sale, but are now offered completely free of charge. Download the full set of blocks below.

Scroll toward the bottom of this page and click on Documents and Software to download.

The MPLAB® Device Blocks for Simulink® provide a set of user interfaces and Simulink peripheral blocks for the dsPIC®30, dsPIC33 DSCs and PIC32MK MCUs.
Standalone applications can be created from a Simulink discrete time model by adding blocks provided by Microchip. Code for the application is generated, compiled and loaded on a target in a single, one-push-button step.
Also provided are many examples in the form of demo models, including a complete BLDC motor control application included in the package.

The latest versions now have support for single-shunt motor control algorithms and also includes Simulink® models for several additional examples.

MPLAB X IDE is a software program that runs on a PC (Windows®, Mac OS®, Linux®) to develop applications for Microchip microcontrollers and digital signal controllers. It is called an Integrated Development Environment (IDE) because it provides a single integrated "environment" to develop code for embedded microcontrollers.

MPLAB X Integrated Development Environment brings a host of features to enhance the debug experience during the design phase of your project. Based on the open source NetBeans IDE from Oracle, Microchip is able to add many frequently requested features very quickly and easily, while also providing a much more extensible architecture to bring you even more new features fast – including added support for AVR devices.
This PRO Plugin for MPLAB® X IDE works with the MPLAB® REAL ICE™ In-Circuit Emulator to display the percentage of time spent in each application function, enhancing the software debugging capabilities of MPLAB® X IDE. It is used to measure the percentage of time spent in each function in order to determine where your application may be spending the greatest portion of time over an average collected set of data. It adds pre- and post-amble code to all functions in debug sessions. It aids in debugging and code optimization by tracking the number of function calls, parent functions, child functions and execution time. Each license is intended for one user. Available for device families with data capture, namely: PIC18F, PIC24F, PIC24EP, dsPIC33FJ, dsPIC33E, and those PIC32MX that support data capture. To find out if your device has data capture, please see the Dev Tool Selector.

Installation instructions:
  1. Unzip the downloaded ZIP file to two .nbm files on your hard drive.
  2. Select Tools > Plugins from the IDE menu.
  3. Select the Downloaded tab in the Plugins window.
  4. Click the Add Plugins button to add the two .nbm files, one by one.
  5. Make sure the Install checkboxes for both Code Profiling and Plugin Update Services plugins are checked.
  6. Click the Install button and follow the instructions to finish installation.

This plugin operates with MPLAB X IDE v2.26 and MPLAB XC compiler v1.20 and later. To download a 30-day trial version go to Embedded Code Source.

Note: The use of this plugin requires an MPLAB® REAL ICE™ In-Circuit Emulator. Standard (ICSP) or Performance Pak (High Speed LVDS) connection from emulator to target board is required. No other connections are needed.

Click here for Developer's Help with this product.
The MPLAB X IDE Plugin - Halt Notifier provides an alert when a target is halted. These notifications can be customized with actions—such as issuing an audio alert, sending an email, or running a script.
This plugin is useful for debugging code in an efficient manner. Set the plugin, tend to other tasks and the plugin will send an alert when the debugging has halted (for example, a breakpoint).

From a script you can establish a text message to your cell phone, Yowsup, WhatsApp, tweet or run anything that collects data and archives it. Scripting gives you infinite possibilities.

This plug-in requires MPLAB X IDE version 3.30 or later.
Ever wanted to debug a target from another room, or even another country? Now you can. The MPLAB® X IDE Remote USB Debugging plug-in enables all of Microchip’s debugging tools (MPLAB® REAL ICE, MPLAB® ICD 3 and PICkit™ 3) to be used from a remote, Ethernet-connected location. Set up is simple -- connect your debug tool to your remote system (which must have wired or wireless Ethernet), run the MPLAB remote server, enable a remote connection through the plugin menu on your host laptop or PC that is running MPLAB X IDE, and go.

The MPLAB® Communications Library must be installed on the remote machine with which the MPLAB® X IDE on the host machine will be communicating. Once the plug-in is installed, see the MPLAB X IDE Help menu, Help Contents, for additional documentation. A trial version of this plugin can be found at Embedded Code Source.

Note: This plug-in requires MPLAB X IDE version 3.40 and later.