Introduction to the MPLAB® PM3 Environment The MPLAB PM3 Device Programmer uses a new concept called an MPLAB PM3 Environment. An Environment is a snapshot of the current programming settings for a specific device. It contains all the necessary information to recreate the current programming state, including a binary image of the device’s memory data, links to an optional SQTP file, and specific part information. When an Environment is saved, a folder is created on the selected drive on a PC or on the removable MPLAB PM3 Card, which is an SD-MMC memory card. The figure below illustrates the layout of an Environment. Environment PM3 File (*.pm3) Programmer Settings Device Memory Image (*.bin) Optional SQTP file (*.num) Software Update Procedure 1. Connect the MPLAB PM3 programmer to the PC either through the USB or serial port. If connecting to MPLAB PM3 via the serial port, ensure that FIFOs are turned off in the hardware properties of the serial port. Please refer to the MPLAB IDE online help for additional information on disabling system FIFOs. 2. Turn on the MPLAB PM3 programmer. 3. On the PC, start the MPLAB IDE v6.62 or later. 4. On the main MPLAB IDE menu, choose Configure>Select Device to select the device you wish to program. When you select a device, indicators next to the Microchip Programmer names show the level of support for that device. If the device is supported (green light) by the MPLAB PM3, click OK. 5. Select Programmer>Select Programmer>MPLAB PM3 to select MPLAB PM3 from the list of available programmers. 6. Select Programmer>Settings and click on the Communications tab. Ensure the proper communications port is selected. Click OK to close the Programmer dialog.Select Programmer>Enable Programmer to enable the MPLAB PM3 programmer. 7. When the Upgrade Available dialog box displays, select Yes to begin the download. 8. Wait for the “Download Complete” message to appear in the Output message box. Note: The MPLAB PM3 programmer may reset several times during this process depending on how many updates are required. You have now successfully completed updating the MPLAB PM3. Creating an MPLAB PM3 Environment on the PM3 Card 1. Open a workspace or import a hex file into MPLAB IDE. Refer to the MPLAB IDE online help for additional information. 2. If the MPLAB PM3 programmer is not already enabled, select Programmer>Enable Programmer to enable the programmer. 3. Select Programmer>Settings to configure the MPLAB PM3 programmer’s settings, such as the memory ranges, voltages, or SQTP. When finished, click OK to close the Programmer dialog. 4. Ensure the PM3 Card is fully inserted into the SD-MMC card slot on the rear of the MPLAB PM3. 5. Select Programmer>Environment>Save to open the Save Environment dialog. 6. Enter a name for your environment into the Environment Name field. 7. (Optional) Enter a brief description into the Description field. 8. Click the Destination Browse button and select MPLAB PM3 CARD as the destination. 9. Click OK to close the Environment Destination dialog. 10. Click Save to save the environment to the MPLAB PM3 Card. Once successfully created, the output window will display “Environment has been created.” 11. Click Close to close the Save Environment dialog. You have now successfully created an Environment on the MPLAB PM3 Card. Loading an MPLAB PM3 Environment (Stand-alone Mode) 1. Ensure the PM3 Card is fully inserted into the SD-MMC card slot on the rear of the MPLAB PM3. 2. From the MPLAB PM3 main menu, select MPLAB PM3 Card and press <ENTER>. 3. From the MPLAB PM3 Card menu, select Load an Environment and press <ENTER>. 4. From the PM3CARD:\*.pm3 menu, select your Environment folder and press <ENTER>. 5. Select your Environment.pm3 from the your Environment folder and press <ENTER>. You have now successfully loaded an Environment for use in the MPLAB PM3. Known issues in MPLAB IDE v6.62 • FAT12 is not supported. Use MPLAB IDE to format the card as FAT16 by selecting Programmer>MPLAB PM3 Card>Format. • In MPLAB IDE, SQTP files cannot be loaded into an environment if the programmer is not enabled. • Only hex files created from MPLAB IDE have been tested. Hex files created from other venders are not tested. Buffer overflows may occur and the outcome is unknown if a hex file is bigger then the memory of the device selected. (Environment files use a binary representation of the device’s memory so this issue does not affect Environment creation.) • Microchip Technology Inc. SQTP is not supported for dsPIC devices. • Microchip Technology Inc. dsPIC hex files are not loadable via the MPLAB PM3 Load a Hex File (*.hex) menu.
* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project