Getting Started with MCU Projects Using MPLAB® Code Configurator (MCC) Melody
MPLAB® Development Ecosystem for MPLAB Code Configurator (MCC) Melody
Get Started | Installing MCC Melody Toolchain |
MPLAB Software Components
When developing a microcontroller (MCU) application there are many software and hardware tool options. Microchip offers both hardware and software tools for developing PIC® family MCU-based applications. MPLAB® X Integrated Development Environment (IDE) is the main software tool and there are various hardware options for programming and debugging the application circuitry.
MPLAB X IDE
MPLAB XC Compilers
MPLAB Code Configurator (MCC)
MPLAB Code Configurator (MCC) is a free graphical programming environment that generates easy-to-understand C code to insert into your project. It consists of three embedded software development frameworks:
- MCC Melody (8-bit PIC and AVR® and 16-bit dsPIC)
- MCC Classic (16-bit PIC24)
- MPLAB Harmony (32-bit PIC and SAM)
This training will focus on getting started with the MCC Melody tool.
MPLAB Hardware Components
Microchip has a variety of ways to program and debug our microcontrollers.
The following are just a few options.
MPLAB PICkit™ 5
The MPLAB PICkit™ 5 in-circuit debugger/programmer enables quick prototyping and portable, production-ready programming for all Microchip devices and is controlled directly from the MPLAB X IDE.
The PICkit 5 requires a USB port on a laptop or desktop computer to communicate with MPLAB X IDE and a 6-pin connection to the development circuitry to perform programming and debugging.
![PICkit 5](/xwiki/bin/download/software-tools/frameworks/mcc-melody/getting-started/mplab-ecosystem/WebHome/1715888326998-286.png?width=100&rev=1.1)
![PICkit 5 on Development Board](/xwiki/bin/download/software-tools/frameworks/mcc-melody/getting-started/mplab-ecosystem/WebHome/1715888327008-248.png?rev=1.1)
MPLAB ICD 5
![ICD 5](/xwiki/bin/download/software-tools/frameworks/mcc-melody/getting-started/mplab-ecosystem/WebHome/1715888327018-953.png?rev=1.1)
On-board Programmers/Debuggers
![PIC18F56Q71 Curiosity Nano Board](/xwiki/bin/download/software-tools/frameworks/mcc-melody/getting-started/mplab-ecosystem/WebHome/1715888327021-601.png?rev=1.1)
![Programmer/Debugger on Curiosity Board](/xwiki/bin/download/software-tools/frameworks/mcc-melody/getting-started/mplab-ecosystem/WebHome/1715888327031-132.png?width=200&rev=1.1)
Now that many of the popular options for hardware and software tools have been introduced, this training will use the MPLAB X IDE, MPLAB XC8 compiler, MCC Melody plug-in and a PIC18F56Q71 MCU Curiosity Nano board for all the application examples.