Release Notes for MPLAB® C Compiler for PIC32 MCUs
v1.02
11 April 2008

Table of Contents
  1. Overview
  2. GNU General Public License
  3. Devices Supported
  4. Installation
  5. Compiler Documentation
  6. Migration Issues
  7. Fixed Issues
  8. Limitations
  9. Customer Support


  1. Overview

    The 32-Bit language tools consist of a compiler (pic32-gcc.exe), an assembler (pic32-as.exe), a linker (pic32-ld.exe), and an archiver/ librarian (pic32-ar.exe). Additional tools distributed with this release include a binary to Intel[intl] Hex converter (pic32-bin2hex.exe) and miscellaneous binary utilities (pic32-strip.exe, pic32-strings.exe, pic32-readelf.exe, etc).

    As described in the user's guides, all of the language tools are sensitive to case on the command-line, including the case of file names. In particular, the C compiler shell (pic30-gcc) requires that C source files be named on the command-line with a lower-case .c extension. If an upper-case .C filename extension is used, the compiler assumes that the file is a C++ file, which is not supported.

  2. GNU General Public License

    The MPLAB® C Compiler for PIC32 MCUs tools are written and distributed under the GNU General Public License (GPL) which means that its source code is freely distributed and available to the public.

    The source for the tools under the GNU GPL may be downloaded separately from the Microchip WWW web page. You may read the GNU GPL in the file named COPYING located the docs subdirectory of your install directory. A general discussion of principles underlying the GPL may be found at www.gnu.org/copyleft.

    Support code provided for the header files, linker scripts, and runtime libraries are proprietary code and not covered under the GPL. See the full MPLAB® C Compiler for PIC32 MCUs License Agreement for details.

  3. Devices Supported

    The following PIC32MX devices are supported:
    New items in green.

    Part Number Part Number
    PIC32MX320F032H PIC32MX320F064H
    PIC32MX320F128H PIC32MX320F128L
    PIC32MX340F128H PIC32MX340F128L
    PIC32MX340F256H PIC32MX340F512H
    PIC32MX360F256L PIC32MX360F512L
    PIC32MX420F032H PIC32MX440F128H
    PIC32MX440F128L PIC32MX440F256H
    PIC32MX440F512H PIC32MX460F256L
    PIC32MX460F512L PIC32MXGENERIC

    The PIC32MXGENERIC device is, as its name implies, a non-specific target that can be used to represent a generic core device.

  4. Installation

    If using MPLAB IDE, be sure to install MPLAB IDE v8.00 or later before installing these tools.

    To install the MPLAB® C Compiler for PIC32 MCUs tools, perform the following steps:

    1. Locate the setup program on the MPLAB® C Compiler for PIC32 MCUs CD ROM.
    2. Run the setup program.
    3. Follow the directions on the screen.
    4. If the installation program indicates that it is necessary, reboot your computer to complete the installation.
    5. When the installation is complete, verify that the executable directory has been correctly added to your PATH (i.e., if you chose to install the tools in the default directory, c:\Program Files\Microchip\MPLAB C32, then ensure that c:\Program Files\Microchip\MPLAB C32\bin has been added to your PATH).

      From a DOS prompt, type: c:\>PATH

  5. Compiler Documentation

    The following documents pertain to the MPLAB® C Compiler for PIC32 MCUs. They may be installed as part of the full product or downloaded from Microchip's Web-site:

  6. Migration Issues

    The following changes may affect migration from older versions of the compiler.

    Migrating to Version v1.02

  7. Fixed Issues

    The following issues have been resolved in this release

    C32-119:
    Pipeline interlock in ISR handling
    C32-141:
    Large malloc() calls generate a general exception vector instead of returning a NULL pointer.
    C32-144:
    Interrupt code does not set nomips16
    C32-145:
    Include C startup code source in standard distribution
    C32-151:
    IPL7 prologue code sets incorrect bits in status register
    C32-153:
    #pragma config sets wrong value
  8. Limitations

    The current limitations are as follows.

    Assembler

    None reported.

    Compiler

    C32-064:
    -Os -mips16 cannot correctly process a routine with a large number of common subexpressions.
    C32-118:
    No available method to place code at General Exception Vector 0xBFC00180.
  9. Customer Support

    Microchip provides online support via our home page at:
    http://www.microchip.com

    Technical support is available through the web site at:
    http://support.microchip.com

    A forum for discussion of Microchip products and tools is available at:
    http://forum.microchip.com