English Version Spanish Version French Version

A short MPLAB Guide


Note: The usage of MPASM is expired, all MIOS applications have to be compiled with GPASM now!


MPLAB IDE is a free available toolchain provided by Microchip, the manufacturer of the PIC microcontroller. Every time when you change the source code of a MIOS application, it has to be reassembled and converted to a .syx file. You can either use the minimal MPASM assembler like described here, or you can edit and assemble the project within the integrated development environment.

Link to the microchip.com Download the MPLAB IDE development environment if it isn't installed on your computer.
Link to the perl.com Download perl if it isn't installed on your computer.
Unix users: it comes mostly with your distribution.
Windows users: take Active Perl.
Mac users: take MacPerl
Start MPLAB and open a project.
Change to the directory where the application is located and click on the .mcp file.
The source code will appear in the project view (Note: the main parts of the code is located in various .inc files, which have to be added to this window manually.
You can use the integrated editor to make changes in the code.
Press the F10 key (or click on the the build icon at the toolbar) to build the project.
If the assembler notified no errors, the new .hex file can now be uploaded by using MIOS Studio (see also this page).


Note: The usage of MPASM is expired, all MIOS applications have to be compiled with GPASM now!




Last update: 2024-05-08

Copyright © 1998-2023, Thorsten Klose. All rights reserved.