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](images/microchip.gif) |
![](images/1x1dot.gif) |
Download the MPLAB IDE development environment if it isn't installed on your computer. |
![Link to the perl.com](images/lcamel.gif) |
![](images/1x1dot.gif) |
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 |
![](howto_tools/mplab1.gif) |
![](images/1x1dot.gif) |
Start MPLAB and open a project. |
![](howto_tools/mplab2.gif) |
![](images/1x1dot.gif) |
Change to the directory where the application is located and click on the .mcp file. |
![](howto_tools/mplab3.gif) |
![](images/1x1dot.gif) |
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. |
![](howto_tools/mplab4.gif) |
![](images/1x1dot.gif) |
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. |
![](mios/mios_studio8_small.gif) |
![](images/1x1dot.gif) |
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!
![](images/1x1dot.gif)
Last update: 2024-05-08
Copyright © 1998-2023, Thorsten Klose. All rights reserved.
|