| The Datasheet Archive - 100 Million Datasheets from 7500 Manufacturers. |
2007 Microchip Technology Inc. DS61144B Note following detai
Top Searches for this datasheetPIC32MX Starter User's Guide 2007 Microchip Technology Inc. DS61144B Note following details code protection feature Microchip devices: Microchip products meet specification contained their particular Microchip Data Sheet. Microchip believes that family products most secure families kind market today, when used intended manner under normal conditions. There dishonest possibly illegal methods used breach code protection feature. these methods, knowledge, require using Microchip products manner outside operating specifications contained Microchip's Data Sheets. Most likely, person doing engaged theft intellectual property. Microchip willing work with customer concerned about integrity their code. Neither Microchip other semiconductor manufacturer guarantee security their code. Code protection does mean that guaranteeing product "unbreakable." Code protection constantly evolving. Microchip committed continuously improving code protection features products. Attempts break Microchip's code protection feature violation Digital Millennium Copyright Act. such acts allow unauthorized access your software other copyrighted work, have right relief under that Act. Information contained this publication regarding device applications like provided only your convenience superseded updates. your responsibility ensure that your application meets with your specifications. MICROCHIP MAKES REPRESENTATIONS WARRANTIES KIND WHETHER EXPRESS IMPLIED, WRITTEN ORAL, STATUTORY OTHERWISE, RELATED INFORMATION, INCLUDING LIMITED CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY FITNESS PURPOSE. Microchip disclaims liability arising from this information use. Microchip devices life support and/or safety applications entirely buyer's risk, buyer agrees defend, indemnify hold harmless Microchip from damages, claims, suits, expenses resulting from such use. licenses conveyed, implicitly otherwise, under Microchip intellectual property rights. Trademarks Microchip name logo, Microchip logo, Accuron, dsPIC, KEELOQ, KEELOQ logo, microID, MPLAB, PIC, PICmicro, PICSTART, MATE, rfPIC SmartShunt registered trademarks Microchip Technology Incorporated U.S.A. other countries. AmpLab, FilterLab, Linear Active Thermistor, Migratable Memory, MXDEV, MXLAB, SEEVAL, SmartSensor Embedded Control Solutions Company registered trademarks Microchip Technology Incorporated U.S.A. Analog-for-the-Digital Age, Application Maestro, CodeGuard, dsPICDEM, dsPICDEM.net, dsPICworks, dsSPEAK, ECAN, ECONOMONITOR, FanSense, FlexROM, fuzzyLAB, In-Circuit Serial Programming, ICSP, ICEPIC, Mindi, MiWi, MPASM, MPLAB Certified logo, MPLIB, MPLINK, PICkit, PICDEM, PICDEM.net, PICLAB, PICtail, PowerCal, PowerInfo, PowerMate, PowerTool, REAL ICE, rfLAB, Select Mode, Smart Serial, SmartTel, Total Endurance, UNI/O, WiperLock ZENA trademarks Microchip Technology Incorporated U.S.A. other countries. SQTP service mark Microchip Technology Incorporated U.S.A. other trademarks mentioned herein property their respective companies. 2007, Microchip Technology Incorporated, Printed U.S.A., Rights Reserved. Printed recycled paper. Microchip received ISO/TS-16949:2002 certification worldwide headquarters, design wafer fabrication facilities Chandler Tempe, Arizona; Gresham, Oregon design centers California India. Company's quality system processes procedures PIC® MCUs dsPIC® DSCs, KEELOQ® code hopping devices, Serial EEPROMs, microperipherals, nonvolatile memory analog products. addition, Microchip's quality system design manufacture development systems 9001:2000 certified. DS61144B-page 2007 Microchip Technology Inc. PIC32MX STARTER USER'S GUIDE Table Contents Preface Chapter Introducing PIC32MX Starter Introduction Highlights Contents PIC32MX Functionality Features Using PIC32MX Starter Installing PIC32MX Starter PIC32MX Demonstration Program Chapter PIC32MX Starter Tutorial Introduction Highlights Host Computer Requirements Installing Starter Board Starting Tutorial Project Building Project Programming Device Running Program Tutorial Program Operation Chapter Create Project Introduction Highlights Creating Project Chapter PIC32MX Starter Hardware Introduction Hardware Features Appendix PIC32MX Starter Schematics Introduction Development Board Block Diagram Starter Board Schematics Index Worldwide Sales Service 2007 Microchip Technology Inc. DS61144B-page PIC32MX Starter User's Guide NOTES: DS61144B-page 2007 Microchip Technology Inc. PIC32MX STARTER USER'S GUIDE Preface NOTICE CUSTOMERS documentation becomes dated, this manual exception. Microchip tools documentation constantly evolving meet customer needs, some actual dialogs and/or tool descriptions differ from those this document. Please refer site (www.microchip.com) obtain latest documentation available. Documents identified with "DS" number. This number located bottom each page, front page number. numbering convention number "DSXXXXXA", where "XXXXX" document number revision level document. most up-to-date information development tools, MPLAB® online help. Select Help menu, then Topics open list available online help files. INTRODUCTION This chapter contains general information that will useful know before using PIC32MX. Items discussed this chapter include: Document Layout Conventions Used this Guide Recommended Reading Microchip Site Development Systems Customer Change Notification Service Customer Support Document Revision History DOCUMENT LAYOUT This document describes PIC32MX Starter development tool emulate debug firmware target board. manual composed following chapters: Chapter "Introducing PIC32MX Starter Kit" provides brief overview PIC32MX Starter Kit, highlighting features uses. Chapter "PIC32MX Starter Tutorial" provides step-by-step instructions installing PIC32MX using Microchip MPLAB build tutorial program PIC32MX Starter Kit. Chapter "Create Project" provides step-by-step instructions creating project using MPLAB loading onto PIC32MX Starter Kit. Chapter "PIC32MX Starter Hardware" provides more detailed description features hardware included PIC32MX Starter Kit. Appendix "PIC32MX Starter Schematics" provides block diagram detailed schematics PIC32MX Starter Kit. 2007 Microchip Technology Inc. DS61144B-page PIC32MX Starter User's Guide CONVENTIONS USED THIS GUIDE This manual uses following documentation conventions: DOCUMENTATION CONVENTIONS Description Arial font: Italic characters Initial caps Referenced books Emphasized text window dialog menu selection Quotes Underlined, italic text with right angle bracket Bold characters Text angle brackets Courier font: Plain Courier Sample source code Filenames File paths Keywords Command-line options values Constants source code) Italic Courier Square brackets Curly brackets pipe character: Ellipses. variable argument Optional arguments Choice mutually exclusive arguments; selection Replaces repeated text #define START autoexec.bat c:\mcc18\h _asm, _endasm, static -Opa+, -Opa0, 0xFF, file.o, where file Represents Examples MPLAB® User's Guide only compiler. Output window Settings dialog select Enable Programmer File>Save Click Click Power Press <Enter>, <F1> field name window dialog "Save project before build" menu path dialog button keyboard valid filename mcc18 [options] file [options] errorlevel {0|1} var_name var_name.] Represents code supplied user void main (void) DS61144B-page 2007 Microchip Technology Inc. Preface RECOMMENDED READING This user's guide describes PIC32MX Starter Kit. following Microchip documents available recommended supplemental reference resources. Readme PIC32MX latest information using PIC32MX microcontrollers, read PIC32MX.txt file ASCII text file) root level included PIC32MX Starter Kit. file generally contains most current update information, well issues that have been available when this user's guide published. Readme Files latest information using other tools, read tool-specific readme files Readmes subdirectory PIC32MX Starter installation directory. files contain update information, well issues that have been available when this user's guide published. PIC32MX Data Sheet (DS61143) Consult this document detailed information PIC32MX general purpose, 32-bit devices. Reference information found this data sheet includes: Device memory Device pinout packaging details Device electrical specifications List peripherals included device MPLAB® Compiler User's Guide (DS51686) This document details Microchip's MPLAB Compiler PIC32MX devices develop application. MPLAB GNU-based language tool, based source code from Free Software Foundation (FSF). more information about FSF, their site www.fsf.org. MPLAB® User's Guide (DS51519) Consult this document more information pertaining installation implementation MPLAB software, well MPLAB Editor MPLAB Simulator software that included with MICROCHIP SITE Microchip provides online support site www.microchip.com. This site makes files information easily available customers. Accessible most Internet browsers, site contains following information: Product Support Data sheets errata, application notes sample programs, design resources, user's guides hardware support documents, latest software releases archived software General Technical Support Frequently Asked Questions (FAQs), technical support requests, online discussion groups, Microchip consultant program member listings Business Microchip Product selector ordering guides, latest Microchip press releases, listings seminars events; listings Microchip sales offices, distributors factory representatives 2007 Microchip Technology Inc. DS61144B-page PIC32MX Starter User's Guide DEVELOPMENT SYSTEMS CUSTOMER CHANGE NOTIFICATION SERVICE Microchip's customer notification service helps keep customers current Microchip products. Subscribers will receive e-mail notification whenever there changes, updates, revisions errata related specified product family development tool interest. register, access Microchip site www.microchip.com, click Customer Change Notification follow registration instructions. Development Systems product group categories are: Compilers latest information Microchip compilers other language tools. These include MPLAB C18, MPLAB C30, MPLAB compilers; ASM32, MPASMand MPLAB ASM30 assemblers; MPLINKTM, MPLAB LINK30, MPLAB LINK32 object linkers; MPLIBand MPLAB LIB30 object librarians. Emulators latest information Microchip in-circuit emulators. This includes MPLAB REAL ICEand MPLAB 2000 in-circuit emulators. In-Circuit Debuggers latest information Microchip in-circuit debuggers. This includes MPLAB PICkit2. MPLAB® latest information Microchip MPLAB IDE, Windows® Integrated Development Environment development systems tools. This list focused MPLAB IDE, MPLAB Project Manager, MPLAB Editor MPLAB simulator, well general editing debugging features. Programmers latest information Microchip programmers. These include MPLAB device programmer PICSTART® Plus, PICkit1 PICkit development programmers. CUSTOMER SUPPORT Several channels available assist users Microchip products: Distributor Representative Local Sales Office Field Application Engineer (FAE) Technical Support Development Systems Information Line Customers should contact their distributor, representative support. Local sales offices also available help customers. list sales offices locations included back this document. Technical support available through site http://support.microchip.com DOCUMENT REVISION HISTORY Revision (October 2007) This initial release PIC32MX Starter User's Guide. Revision (October 2007) Removed confidential status. DS61144B-page 2007 Microchip Technology Inc. PIC32MX STARTER USER'S GUIDE Chapter Introducing PIC32MX Starter INTRODUCTION Thank purchasing Microchip Technology PIC32MX Starter Kit. This provides low-cost, modular development system Microchip's line 32-bit microcontrollers. Starter comes pre-loaded with demonstration software user explore features PIC32MX. also expandable through modular expansion interface, which allows user extend functionality. PIC32MX Starter also supplies on-board circuitry full debug programming capabilities. HIGHLIGHTS This chapter covers following topics: Contents PIC32MX Functionality Features Using PIC32MX Starter PIC32MX Demonstration Program preprogrammed example code PIC32MX been included PIC32MX Starter CD-ROM future reference. project files have been included, that code used directly restore PIC32MX Starter original state (i.e., sample device been reprogrammed with another program), tutorial code platform further experimentation. CONTENTS PIC32MX Starter contains following items: PIC32MX Starter Board MINI-B cable PIC32 Starter Installation CD-ROM, containing: User's Guide Data Sheet PIC32MX family PIC32MX Family Reference Manual PIC32MX Peripheral Library Manual Schematics drawing files Code examples with PIC32MX devices missing part kit, contact Microchip sales office assistance (refer list last page this manual). 2007 Microchip Technology Inc. DS61144B-page PIC32MX Starter User's Guide PIC32MX FUNCTIONALITY FEATURES representation layout PIC32MX Starter shown Figure 1-1. board includes these features, indicated diagram: PIC32MX360F512L 32-bit microcontroller Green power-indicator Regulated +3.3V power supply powering Starter board expansion board On-board crystal precision microcontroller clocking MHz) connectivity on-board debugger communications PIC18LF4550 microcontroller on-board debugging Orange Debug indicator Three push-button switches user-defined inputs Three user-defined indicator LEDs Connector connecting various expansion boards underside board) additional details these features, refer Chapter "PIC32MX Starter Hardware". FIGURE 1-1: PIC32MX STARTER DEMO BOARD LAYOUT DS61144B-page 2007 Microchip Technology Inc. Introducing PIC32MX Starter USING PIC32MX STARTER PIC32MX Starter used directly from demonstration board PIC32MX device. PIC32MX preprogrammed with classic "Simon Says" game PIC32MX360F512L device (i.e., simon_says_demo.hex) ready immediate use. 1.5.1 Play Game When cable plugged into Starter Kit, three LEDs start blinking indicate start game. Begin game pressing switches choose level game difficulty, SW1-SW3 (SW3 eastest, hardest). goal imitate light patterns long can, without getting frazzled. Ultimately, will make mistake LEDs will light signal game. After brief pause, press switch again start game. Starter connected MPLAB IDE, game stops. will replaced MPLAB project that select when program button pressed. Simon game reloaded onto Starter opening simon_says_demo.mcw file from c:\Program simon_says_demo directory. INSTALLING PIC32MX STARTER Starter CD-ROM contains MPLAB IDE, MPLAB Compiler tools, code examples, sample projects, technical documentation, getting started tutorial this PIC32MX Starter User's Guide. When placed into your drive, automatic installation application will guide install tools necessary documents. PIC32MX DEMONSTRATION PROGRAM preprogrammed example code PIC32MX been included PIC32MX Starter CD-ROM future reference. project files have been included, that code used directly restore PIC32MX original state (i.e., sample device been reprogrammed with another program), tutorial code platform further experimentation. 2007 Microchip Technology Inc. DS61144B-page PIC32MX Starter User's Guide NOTES: DS61144B-page 2007 Microchip Technology Inc. PIC32MX STARTER USER'S GUIDE Chapter PIC32MX Starter Tutorial INTRODUCTION This chapter self-paced tutorial started using PIC32MX Starter Kit. HIGHLIGHTS Items discussed this chapter include: Host Computer Requirements Installing Starter Board Starting with Tutorial Project Building Project Programming Device Running Program Operation Tutorial Program HOST COMPUTER REQUIREMENTS communicate with program Starter board, following hardware software requirements must met: PC-compatible system available port powered CD-ROM drive Windows (The PIC32MX Starter been tested Microsoft® Windows NT®, Windows 2000® Microsoft Vistaoperating systems) 2007 Microchip Technology Inc. DS61144B-page PIC32MX Starter User's Guide INSTALLING STARTER BOARD device, Starter board requires very little effort install; most work done operating system. Begin closing applications. 2.4.1 Install Tools Projects Insert PIC32 Starter into your CD-ROM drive click install from menu option. installation application does automatically start, navigate files open setup.exe. following window displayed: FIGURE 2-1: INSTALLING PIC32 STARTER BOARD Reboot your system when prompted Note: dialog also provides option check Microchip site newer versions Starter software. 2.4.2 View Getting Started Tutorial Perform following steps view tutorial: After your computer rebooted, Getting Started Tutorial menu opens. View tutorial instructions connecting Starter board running tutorial project. performed installation steps followed along Getting Started tutorial, skip Section "Starting Tutorial Project" page not, continue next page instructions about connect board install device driver. DS61144B-page 2007 Microchip Technology Inc. PIC32MX Starter Tutorial 2.4.3 Connect Starter Board Using supplied cable, connect board open port your computer. that bus-powered also used.) Connect other cable into connector Starter board. Check board: green power should lit. not, check connections port, hub, board. 2.4.4 Note: Install Device Driver driver installation steps described here refer specifically installing driver Microsoft Windows operating system. Perform following steps install device driver: When cable connected, "Found Hardware Wizard" dialog opens, shown Figure 2-2. When asked whether install software automatically install from list specific location, select "Install software automatically" click Next. FIGURE 2-2: FOUND HARDWARE WIZARD 2007 Microchip Technology Inc. DS61144B-page PIC32MX Starter User's Guide shown Figure 2-3, next dialog tracks wizard searches device. (This activity take several seconds.) When done, click Next. FIGURE 2-3: HARDWARE WIZARD When wizard finds driver, dialog regarding Windows Logo testing opens, shown Figure 2-4. Click Continue Anyway. FIGURE 2-4: WINDOWS LOGO TESTING DS61144B-page 2007 Microchip Technology Inc. PIC32MX Starter Tutorial next window (Figure 2-5) indicates that installation software Starter complete. Click Finish. FIGURE 2-5: COMPLETING DEVICE DRIVER INSTALLATION 2007 Microchip Technology Inc. DS61144B-page PIC32MX Starter User's Guide STARTING TUTORIAL PROJECT Click MPLAB icon your computer desktop. MPLAB opens with Starter Tutorial project loaded, shown Figure 2-6. MPLAB does have Starter tutorial project loaded, select File>Open Workspace. from menu browse tutorial project file: c:\Program Files\Microchip\ StarterKitTutorial.mcw browse file path used when installed MPLAB IDE). pane left MPLAB interface displays project files, `.c', `.h' `.lib' files that used build application. project files organized type into folders. "Starter Found" should displayed "Output" pane MPLAB interface. this message, select Debugger>Select Tool>PIC32MX Starter from menu bar. that sequence fails find project, check driver installation, well connections between hardware FIGURE 2-6: MPLAB® WORKSPACE DS61144B-page 2007 Microchip Technology Inc. PIC32MX Starter Tutorial BUILDING PROJECT From menu main MPLAB window, click Project>Make. build Output window displays, shown Figure 2-7. Observe progress build. When "BUILD SUCCEEDED" message displays, ready program device. FIGURE 2-7: BUILD OUTPUT WINDOW 2007 Microchip Technology Inc. DS61144B-page PIC32MX Starter User's Guide PROGRAMMING DEVICE 2.7.1 Program Device Click Program Memories icon Program Device Tool Bar, shown Figure 2-8). FIGURE 2-8: PROGRAM DEVICE TOOL Programming Warning window (Figure 2-9) opens warn about overwriting memory. Click Yes. FIGURE 2-9: PROGRAMMING WARNING WINDOW Output window (Figure 2-10) tracks progress output. "Done" entry indicates that programming device complete. FIGURE 2-10: OUTPUT WINDOW DS61144B-page 2007 Microchip Technology Inc. PIC32MX Starter Tutorial RUNNING PROGRAM Either click Debugger>Run from menu MPLAB click icon (the turquoise triangle) Debug Tool (Figure 2-11) program. FIGURE 2-11: DEBUG WINDOW TUTORIAL PROGRAM OPERATION Starter tutorial demonstrates simple application. program responds according user input menu. program prints available menu choices Starter Output window MPLAB IDE. program flow shown Figure 2-12. 2007 Microchip Technology Inc. DS61144B-page PIC32MX Starter User's Guide FIGURE 2-12: PIC32MX TUTORIAL PROGRAM FLOWCHART itia lize strin strin DS61144B-page 2007 Microchip Technology Inc. PIC32MX Starter Tutorial tutorial program includes Debug Print Library, which facilitates print functionality. peripheral library header file flashing LEDs also included. header file print functionality db_utils.h. Depending macro definition given print header file, debug print macros will expanded. print functionality tutorial routed Output window MPLAB PIC32MX interface window. order achieve this, macro definition "PIC32_STARTER_KIT" added compiler options. program runs, Output window (Figure 2-13) tracks progress. FIGURE 2-13: OUTPUT WINDOW After printing menu, application displays prompt that requests your input, Figure 2-14. FIGURE 2-14: TARGET WINDOW Type your choice into Enter Information Returned box, click Send. program responds according menu entry. Watch LEDs Starter board. your entry incorrect, LEDs will toggle once. 2007 Microchip Technology Inc. DS61144B-page PIC32MX Starter User's Guide NOTES: DS61144B-page 2007 Microchip Technology Inc. PIC32MX STARTER USER'S GUIDE Chapter Create Project INTRODUCTION This chapter explains create project. HIGHLIGHTS Items discussed this chapter include: Creating Project Building Project Programming Device Running Program Create project using Project Wizard Assemble link code, Configuration bits MPLAB PIC32MX Starter Program chip, program After completing this chapter, should able accomplish following tasks: CREATING PROJECT first step create project workspace MPLAB IDE. Typically, there single project workspace. project contains files needed build application (i.e., source code, header files, library, etc.), their corresponding build options. workspace contains more projects, information selected device, debug/programmer tool, MPLAB configuration settings. MPLAB contains Project Wizard help create project. important, before start tasks, create folder named "MyProject" intended location project files (C:\MyProject assumed following instructions). will perform following tasks create project: Task Select Device page Task Select Language Toolsuite page Task Name Your Project page Task Files Your Project page Task Confirm Configuration Settings page Task Build Project page Task Program Device page Task Program page 2007 Microchip Technology Inc. DS61144B-page PIC32MX Starter User's Guide 3.3.1 1.1. 1.2. 1.3. 1.4. Task Select Device Start MPLAB IDE. Click File>Close Workspace menu bar, close workspace that open. Click Project>Project Wizard. start wizard. Welcome window, click Next. Project Wizard Step One: window displayed, shown Figure 3-1. SELECTING DEVICE FIGURE 3-1: 1.5. 1.6. From "Device" drop-down list, select "PIC32MX360F512L". Click Next. Project Wizard Step Two: dialog opens, shown Figure 3-2. DS61144B-page 2007 Microchip Technology Inc. Create Project FIGURE 3-2: SELECTING TOOLSUITE 3.3.2 2.1. Task Select Language Toolsuite From "Active Toolsuite" drop-down list, click "Microchip PIC32 Compiler Toolsuite". toolsuite includes assembler linker that will used. PIC32 compiler option available, check "show installed toolsuites" box. "Toolsuite Contents" box, select "MPLAB Compiler (pic32-gcc.exe)". "Location" box, click Browse. navigate "c:\Program Files\Microchip\MPLAB C32\bin\pic32-as.exe". With "MPLAB LINK Object Linker (pic30-ld.exe)" selected "Toolsuite Contents" box, click Browse. navigate "c:\Program Files\Microchip\MPLAB C32\bin\pic32-Id.exe". Click Next continue. Project Wizard Step Three: dialog opens, shown Figure 3-3. 2.2. 2.3. 2.4. 2.5. 2007 Microchip Technology Inc. DS61144B-page PIC32MX Starter User's Guide FIGURE 3-3: NAMING YOUR PROJECT 3.3.3 3.1. Task Name Your Project "Create Project File" field, click Browse. navigate "C:\MyProject\BlinkLED" place your project MyProject folder that created before starting these instructions. Click Next continue. Project Wizard Step Four: dialog opens, shown Figure 3-4. 3.2. DS61144B-page 2007 Microchip Technology Inc. Create Project FIGURE 3-4: ADDING FILES PROJECT 3.3.4 4.1. 4.2. Task Files Your Project Click Next continue. Click Finish summary screen. project workspace have been created MPLAB IDE. BlinkLED.mcw workspace file BlinkLED.mcp project file. Click File>New from menu create file. empty file. Click File>Save save this file `blinkLED.c' same folder this case, C:\MyProject folder). copy source code provided Example blinkLED.c file. This window skipped, since `.c' files have been created. 4.3. 4.4. 4.5. 2007 Microchip Technology Inc. DS61144B-page PIC32MX Starter User's Guide EXAMPLE 3-1: PROJECT SOURCE CODE #include <plib.h> PIC32 peripheral library main(void) setup mPORTDClearBits(BIT_0);/* Turn LED0 startup Make (LED0) output mPORTDClearBits(BIT_1);/* Turn LED1 startup Make (LED1) output mPORTDClearBits(BIT_2);/* Turn LED2 startup Make (LED2) output while(1) ever for(i=0; i<200000; i++);// delay mPORTDToggleBits(BIT_0);/* turn LED0 for(i=0; i<200000; i++);// delay mPORTDToggleBits(BIT_1);/* turn LED1 for(i=0; i<200000; i++);// delay mPORTDToggleBits(BIT_2);/* turn LED2 return DS61144B-page 2007 Microchip Technology Inc. Create Project 4.6. Project window, blinkLED.c file source directory, shown Figure 3-5. ADDING SOURCE FILES FIGURE 3-5: 4.7. Click Debugger>Select Tool>PIC32MX Starter from menu bar, Target board. Make sure that Starter demo board connected your Note: 3.3.5 5.1. Task Confirm Configuration Settings Click Configure>Configuration Bits confirm that configuration settings correct. Typical configuration settings Starter shown Figure 3-6. Configuration settings also embedded source file. MPLAB Compiler User's Guide more information. Note: 2007 Microchip Technology Inc. DS61144B-page PIC32MX Starter User's Guide FIGURE 3-6: CONFIGURATION SETTINGS Note that "Configuration Bits code" check unchecked. 3.3.6 6.1. 6.2. Task Build Project Click Project>Make from menu main MPLAB window. build Output window displays (Figure 3-7). Observe progress build. When "BUILD SUCCEEDED" message displays, ready program device. BUILD OUTPUT WINDOW FIGURE 3-7: DS61144B-page 2007 Microchip Technology Inc. Create Project 3.3.7 7.1. Task Program Device Click Program Memories icon Program Device Tool Bar, shown Figure 3-8. PROGRAM DEVICE WINDOW FIGURE 3-8: 7.2. Programming Warning window (Figure 3-9) opens warn about overwriting memory. Click Yes. PROGRAMMING WARNING WINDOW FIGURE 3-9: Output window (Figure 3-10) tracks progress output. "Done" signals that programming device complete. FIGURE 3-10: OUTPUT WINDOW 2007 Microchip Technology Inc. DS61144B-page PIC32MX Starter User's Guide 3.3.8 8.1. Task Program Click Debugger>Run from menu MPLAB click icon (the turquoise triangle) Debug Tool Bar, indicated Figure 3-11, program. PROGRAM FIGURE 3-11: Starter LEDs blink indicate that program running successfully. DS61144B-page 2007 Microchip Technology Inc. PIC32MX STARTER USER'S GUIDE Chapter PIC32MX Starter Hardware INTRODUCTION This chapter describes hardware features PIC32MX Starter Kit. HARDWARE FEATURES features PIC32MX Starter listed below. They presented order given Section "PIC32MX Functionality Features". refer Figure page their locations board. 4.2.1 Processor Support PIC32MX Starter designed with permanently mounted (i.e., soldered) PIC32MX360F512L processor. 4.2.2 Power Supply There ways supply power PIC32MX Starter Kit: power connected external application board with regulated power supply that provides connected application board connector that provided bottom side board. Note: basic PIC32MX Starter does include application board intended USB-bus powered. green (D3) provided show that PIC32 microcontroller powered 4.2.3 Connectivity PIC32MX Starter includes PIC18LF4550 microcontroller, which provides both connectivity support protocol translation. PIC18LF4550 hardwired PIC32MX device provide types connectivity: pins PIC18LF4550 ICSPpins PIC32MX pins PIC18LF4550 JTAG pins PIC32MX PIC32MX Starter currently uses JTAG pins PIC32MX device programming debugging. time initial release, PIC18LF4550 loaded with bootloader firmware, which permits easy upgrades connectivity firmware over connection. 2007 Microchip Technology Inc. DS61144B-page PIC32MX Starter User's Guide 4.2.4 Switches Push-button switches provide following functionality: SW1: Active-low switch connected SW2: Active-low switch connected SW3: Active-low switch connected RD13 switches have debounce circuitry require internal pullup resistors; this allows investigate debounce techniques. When Idle, switches pulled high (+3.3V). When pressed, they grounded. 4.2.5 LEDs LEDs, through RD2, connected PORTD processor. PORTD pins high light LEDs. 4.2.6 Oscillator Options installed microcontroller oscillator circuit connected main oscillator uses crystal (Y2) functions controller's primary oscillator. external crystal required PIC32 designs. Your design internal oscillator, desired. PIC18LF4550, heart subsystem, independently clocked crystal (Y1). 4.2.7 120-Pin Modular Expansion Connector PIC32MX Starter demo board been designed with 120-pin modular expansion interface, which allows board provide basic generic functionality now, well easy extendability technologies they become available. DS61144B-page 2007 Microchip Technology Inc. PIC32MX STARTER USER'S GUIDE Appendix PIC32MX Starter Schematics INTRODUCTION This section provides detailed technical information about PIC32MX Starter Kit. DEVELOPMENT BOARD BLOCK DIAGRAM HIGH-LEVEL BLOCK DIAGRAM PIC32MX STARTER FIGURE A-1: VUSB +5V_EXT Power Supply +3.3V PIC18LF4550 ICSPJTAG Application Connector PIC32MX360F512L LEDs Switches STARTER BOARD SCHEMATICS Figure A-2. PIC32MX Figure A-3. PIC18LF4550 Debug Figure A-4. Application Board Connector Figure A-5. Switches LEDs Figure A-6. Power Supply 2007 Microchip Technology Inc. DS61144B-page PIC32MX Starter User's Guide FIGURE A-2: PIC32MX SCHEMATIC, SHEET (PIC32MX CPU) DS61144B-page 2007 Microchip Technology Inc. FIGURE A-3: PIC32MX SCHEMATIC, SHEET (PIC18LF4550 DEBUG CPU) 2007 Microchip Technology Inc. DS61144B-page PIC32MX Starter User's Guide FIGURE A-4: PIC32MX SCHEMATIC, SHEET (APPLICATION BOARD CONNECTOR) DS61144B-page 2007 Microchip Technology Inc. Appendix "PIC32MX Schematics" FIGURE A-5: PIC32MX SCHEMATIC, SHEET (SWITCHES LEDS) 2007 Microchip Technology Inc. DS61144B-page PIC32MX Starter User's Guide FIGURE A-6: PIC32MX SCHEMATIC, SHEET (POWER SUPPLY) DS61144B-page 2007 Microchip Technology Inc. PIC32MX STARTER USER'S GUIDE Index Active Toolsuite. PIC32MX Layout 32-bit microcontroller Connector expansion boards. Debug indicator LED. On-board crystal PIC18LF4550 microcontroller. Power supply Power-indicator LED. Switches connectivity. User-defined LEDs PIC32MX Preprogrammed game Preprogrammed example code. print functionality Project Wizard. Building tutorial project. Connect Starter Board Create Project Build Project. Configuration settings Customer Change Notification Service Customer Support Debug print library. Documentation Conventions Free Software Foundation Readme. Restore PIC32MX original programming Language Tools Hardware Features LEDs Oscillator Options PICtail Plus Card Edge Connectors. Power Supply. Processor Support Switches Connectivity Host Computer Requirements. Schematics Application Board Connector PIC18LF4550 Debug CPU. PIC32MX Power Supply. Switches LEDs. Starter Board Block Diagram. Connecting. Installing. Installing device driver Starting tutorial project Installing Starter Board Installing Device Driver Internet Address. Tutorial Program Operation. Tutorial Project Building project Program operation Programming device Starting. Language Toolsuite Last Schematic LEDs Power. Microchip Internet Site MPLAB MPLAB Simulator, Editor User's Guide. Connectivity Address. 2007 Microchip Technology Inc. DS61144B-page WORLDWIDE SALES SERVICE AMERICAS Corporate Office 2355 West Chandler Blvd. Chandler, 85224-6199 Tel: 480-792-7200 Fax: 480-792-7277 Technical Support: http://support.microchip.com Address: www.microchip.com Atlanta Duluth, Tel: 678-957-9614 Fax: 678-957-1455 Boston Westborough, Tel: 774-760-0087 Fax: 774-760-0088 Chicago Itasca, Tel: 630-285-0071 Fax: 630-285-0075 Dallas Addison, Tel: 972-818-7423 Fax: 972-818-2924 Detroit Farmington Hills, Tel: 248-538-2250 Fax: 248-538-2260 Kokomo Kokomo, Tel: 765-864-8360 Fax: 765-864-8387 Angeles Mission Viejo, Tel: 949-462-9523 Fax: 949-462-9608 Santa Clara Santa Clara, Tel: 408-961-6444 Fax: 408-961-6445 Toronto Mississauga, Ontario, Canada Tel: 905-673-0699 Fax: 905-673-6509 ASIA/PACIFIC Asia Pacific Office Suites 3707-14, 37th Floor Tower Gateway Harbour City, Kowloon Hong Kong Tel: 852-2401-1200 Fax: 852-2401-3431 Australia Sydney Tel: 61-2-9868-6733 Fax: 61-2-9868-6755 China Beijing Tel: 86-10-8528-2100 Fax: 86-10-8528-2104 China Chengdu Tel: 86-28-8665-5511 Fax: 86-28-8665-7889 China Fuzhou Tel: 86-591-8750-3506 Fax: 86-591-8750-3521 China Hong Kong Tel: 852-2401-1200 Fax: 852-2401-3431 China Nanjing Tel: 86-25-8473-2460 Fax: 86-25-8473-2470 China Qingdao Tel: 86-532-8502-7355 Fax: 86-532-8502-7205 China Shanghai Tel: 86-21-5407-5533 Fax: 86-21-5407-5066 China Shenyang Tel: 86-24-2334-2829 Fax: 86-24-2334-2393 China Shenzhen Tel: 86-755-8203-2660 Fax: 86-755-8203-1760 China Shunde Tel: 86-757-2839-5507 Fax: 86-757-2839-5571 China Wuhan Tel: 86-27-5980-5300 Fax: 86-27-5980-5118 China Xian Tel: 86-29-8833-7252 Fax: 86-29-8833-7256 ASIA/PACIFIC India Bangalore Tel: 91-80-4182-8400 Fax: 91-80-4182-8422 India Delhi Tel: 91-11-4160-8631 Fax: 91-11-4160-8632 India Pune Tel: 91-20-2566-1512 Fax: 91-20-2566-1513 Japan Yokohama Tel: 81-45-471- 6166 Fax: 81-45-471-6122 Korea Daegu Tel: 82-53-744-4301 Fax: 82-53-744-4302 Korea Seoul Tel: 82-2-554-7200 Fax: 82-2-558-5932 82-2-558-5934 Malaysia Kuala Lumpur Tel: 60-3-6201-9857 Fax: 60-3-6201-9859 Malaysia Penang Tel: 60-4-227-8870 Fax: 60-4-227-4068 Philippines Manila Tel: 63-2-634-9065 Fax: 63-2-634-9069 Singapore Tel: 65-6334-8870 Fax: 65-6334-8850 Taiwan Hsin Tel: 886-3-572-9526 Fax: 886-3-572-6459 Taiwan Kaohsiung Tel: 886-7-536-4818 Fax: 886-7-536-4803 Taiwan Taipei Tel: 886-2-2500-6610 Fax: 886-2-2508-0102 Thailand Bangkok Tel: 66-2-694-1351 Fax: 66-2-694-1350 EUROPE Austria Wels Tel: 43-7242-2244-39 Fax: 43-7242-2244-393 Denmark Copenhagen Tel: 45-4450-2828 Fax: 45-4485-2829 France Paris Tel: 33-1-69-53-63-20 Fax: 33-1-69-30-90-79 Germany Munich Tel: 49-89-627-144-0 Fax: 49-89-627-144-44 Italy Milan Tel: 39-0331-742611 Fax: 39-0331-466781 Netherlands Drunen Tel: 31-416-690399 Fax: 31-416-690340 Spain Madrid Tel: 34-91-708-08-90 Fax: 34-91-708-08-91 Wokingham Tel: 44-118-921-5869 Fax: 44-118-921-5820 10/05/07 DS61144B-page 2007 Microchip Technology Inc. Other recent searchesWay-0 - Way-0 Way-0 Datasheet TCP-2-25 - TCP-2-25 TCP-2-25 Datasheet SIDC07D60F6 - SIDC07D60F6 SIDC07D60F6 Datasheet MMBTSC2787LT1 - MMBTSC2787LT1 MMBTSC2787LT1 Datasheet LRPS-2-1W-75+ - LRPS-2-1W-75+ LRPS-2-1W-75+ Datasheet EDS2532CABH - EDS2532CABH EDS2532CABH Datasheet DG9414 - DG9414 DG9414 Datasheet 9415 - 9415 9415 Datasheet BZT52-B2V4 - BZT52-B2V4 BZT52-B2V4 Datasheet aTS77 - aTS77 aTS77 Datasheet
Privacy Policy | Disclaimer |