May 19, 2014 MPLAB Code Configurator Version 2.00 Release Notes for MPLAB® Code Configurator v2.00 1 What is MPLAB Code Configurator (MCC) The MPLAB® Code Configurator generates seamless, easy to understand C code that is inserted into your project. It enables, configures and utilizes a rich set of peripherals across select list of devices. It is integrated into MPLAB® X IDE to provide a very powerful and extremely easy to use development platform. 2 System Requirements • • • MPLAB® X IDE v2.05 or later XC8 compiler v 1.31 or later XC16 compiler v 1.21 or later 3 Documentation Support The MPLAB® Code Configurator User’s Guide (DS40001725) may be found on the MPLAB® Code Configurator page on the Microchip web site. http://www.microchip.com/mcc 4 Installing MPLAB® Code Configurator Basic steps for installing MPLAB® Code Configurator are given here. To install the MPLAB® Code Configurator Plugin: • • • In the MPLAB® X IDE, select Plugins from the Tools menu Select the Available Plugins tab Check the box for the MPLAB® Code Configurator, and click on Install 5 What’s New • • • • • • • 1 Added PIC18 and PIC24 device support. (see the list in section 5 for device list) Added support for additional peripherals (on previously supported devices): o HLVD o DSM o NCO o PWM System Module can lock pins based on configuration bit settings, the pins locked by the System modules show up in light grey color. Compatible I2C, UART and SPI drivers across 8 and 16 bit devices The name of the folder containing generated files has changed from “MCC_Generated_Files” to “mcc_generated_files” MCC provides an option to select configuration bits generation. The default initialize function is now called Initialize instead of InitializerDefault. May 19, 2014 5.1 MPLAB Code Configurator Version 2.00 Supported Devices The devices which are bold in the table below are new devices in Version 2.00. 5.1.1 8 bit Devices • • • • • • • • • • • • • • • • • • • • PIC12(L)F1501 PIC12(L)F1822 PIC12(L)F1840 PIC16(L)F1503 PIC16(L)F1507 PIC16(L)F1508 PIC16(L)F1509 PIC16(L)F1512 PIC16(L)F1513 PIC16(L)F1516 PIC16(L)F1517 PIC16(L)F1518 PIC16(L)F1519 PIC16(L)F1526 PIC16(L)F1527 PIC16(L)F1704 PIC16(L)F1708 PIC16(L)F1713 PIC16(L)F1716 PIC16(L)F1782 • • • • • • • • • • • • • • • • • • • • PIC16(L)F1783 PIC16(L)F1784 PIC16(L)F1786 PIC16(L)F1787 PIC16(L)F1788 PIC16(L)F1789 PIC16(L)F1823 PIC16(L)F1824 PIC16(L)F1825 PIC16(L)F1826 PIC16(L)F1827 PIC16(L)F1828 PIC16(L)F1829 PIC16(L)F1847 PIC16(L)F1933 PIC16(L)F1934 PIC16(L)F1936 PIC16(L)F1937 PIC16(L)F1938 PIC16(L)F1939 • • • • • • • • • • • • • • • • • • PIC16(L)F1946 PIC16(L)F1947 PIC18(L)F23K20 PIC18(L)F24K20 PIC18(L)F25K20 PIC18(L)F26K20 PIC18(L)F43K20 PIC18(L)F44K20 PIC18(L)F45K20 PIC18(L)F46K20 PIC18(L)F23K22 PIC18(L)F24K22 PIC18(L)F25K22 PIC18(L)F26K22 PIC18(L)F43K22 PIC18(L)F44K22 PIC18(L)F45K22 PIC18(L)F46K22 5.1.2 16 bit Devices • • • • • • • • • • • • • • PIC24F(V)08KM101 PIC24F(V)08KM102 PIC24F(V)08KM202 PIC24F(V)08KM204 PIC24F(V)16KM102 PIC24F(V)16KM104 PIC24F(V)16KM202 PIC24F(V)16KM204 PIC24FJ128GA306 PIC24FJ128GA308 PIC24FJ128GA310 PIC24FJ64GA306 PIC24FJ64GA308 PIC24FJ64GA310 6 Repairs and Enhancements # ID Description Device(s) 1. MCC-623 Incorrect drop down options for positive reference PIC12F1501 & PIC16F1788/9 2. MCC-624 CLCxCON register assignment error if code is regenerated PIC16F1509 2 May 19, 2014 MPLAB Code Configurator Version 2.00 7 Known Issues The following are enumerated issues for the MPLAB® Code Configurator. # ID Description Device(s) 1. MCC-1125 If a timer other than the default timer is selected for use by the PWM module, the CCPTMRS register must be configured manually. 2. MCC-1124 DAC1OUT pin is selected when DAC1VREF- is enabled PIC16F178x 3. MCC-1120 When selecting SPI Master (FOSC/(4*(SSPxADD+1)), SSPM is incorrectly set to 0x08. The value should be 0x0A All 4. MCC-1103 I2C Master UI includes buffer settings that are not used by the driver All 5. MCC-1084 I2C drivers do not support Polling mode All 6. MCC-1083 RETCGF is missing description PIC24F GA310 family 7. MCC-1069 MCCP Compare: Multiple Initializers don't set OCxEN bits PIC24F KM family 8. MCC-1063 IC : When the TMR3 or TMR5 are not available raise an alert if they are selected PIC24F GA310 family 9. MCC-1049 FVR module does not have the option of producing 4.096V PIC12LF1840 10. MCC-1043 DAC: Register name DACCON1 doesn't match with the register name in datasheet. PIC18F46k22 11. MCC-1023 CVREF pin when accessed by CMP should throw alert when released in CVR PIC24 devices 12. MCC-997 PLL input values need to be limited PIC18FxxK22 13. MCC-869 PIC12F1822 DAC VREF+ Missing in Pin Manager window, since VREF+ pin ia part of ADC. PIC12F1822 3 PIC16F150x, PIC16F170x, PIC16171x May 19, 2014 MPLAB Code Configurator Version 2.00 8 Customer Support 8.1 The Microchip Web Site Microchip provides online support via our web site at http://www.microchip.com. This web site is used as a means to make files and information easily available to customers. Accessible by using your favorite Internet browser, the web site contains the following information: • • • Product Support – Data sheets and errata, application notes and sample programs, design resources, user’s guides and hardware support documents, latest software releases and archived software General Technical Support – Frequently Asked Questions (FAQs), technical support requests, online discussion groups/forums (http://forum.microchip.com), Microchip consultant program member listing Business of Microchip – Product selector and ordering guides, latest Microchip press releases, listing of seminars and events, listings of Microchip sales offices, distributors and factory representatives 8.2 Additional Support Users of Microchip products can receive assistance through several channels: • • • • Distributor or Representative Local Sales Office Field Application Engineering (FAE) Technical Support Customers should contact their distributor, representative or field application engineer (FAE) for support. Local sales offices are also available to help customers. A listing of sales offices and locations is available on our web site. Technical support is available through the web site at: http://support.microchip.com 4