Microchip Technology Explorer 16 User Manual
Hide thumbs Also See for Explorer 16:

Advertisement

Quick Links

Explorer 16 Development Board
User's Guide
Addendum for PIC32MX
© 2008 Microchip Technology Inc.
DS61147A

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Explorer 16 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Microchip Technology Explorer 16

  • Page 1 Explorer 16 Development Board User’s Guide Addendum for PIC32MX © 2008 Microchip Technology Inc. DS61147A...
  • Page 2 Endurance, UNI/O, WiperLock and ZENA are trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. SQTP is a service mark of Microchip Technology Incorporated in the U.S.A. All other trademarks mentioned herein are property of their respective companies.
  • Page 3 USER’S GUIDE ADDENDUM FOR PIC32MX Chapter 1. Programming Tutorial for PIC32MX INTRODUCTION This chapter is a self-paced tutorial to get you started using the Explorer 16 Develop- ment Board with a PIC32MX Plug-In Module (PIM). HIGHLIGHTS Items discussed in this chapter include: •...
  • Page 4: Tutorial Overview

    MPLAB REAL ICE™ in-circuit emulator. The example code preprogrammed on the PIM is also included on the Explorer 16 CD. All project files have been included, so that the code may be used directly to restore the PIM to its original state for cases in which the PIM is programmed for another appli- cation.
  • Page 5: Creating The Project

    (Figure 1-1). FIGURE 1-1: SELECTING THE DEVICE 5. From the Device drop-down list, select “PIC32MX360F512L”. Click Next >. The Project Wizard – Step Two: dialog displays, as shown in Figure 1-2. © 2008 Microchip Technology Inc. DS61147A-page 3...
  • Page 6 Explorer 16 Development Board User’s Guide Addendum for PIC32MX 1.7.1 Select the Language Toolsuite FIGURE 1-2: SELECTING THE TOOLSUITE 1. From the Active Toolsuite drop-down list, select “Microchip PIC32 C-Compiler Toolsuite”. This toolsuite includes the assembler and linker that will be used.
  • Page 7 The folder was created and the source files were copied during the initial installation. 2. Click Next > to continue. The Project Wizard – Step Four: dialog displays, as shown in Figure 1-4. © 2008 Microchip Technology Inc. DS61147A-page 5...
  • Page 8 Explorer 16 Development Board User’s Guide Addendum for PIC32MX 1.7.3 Add a File to the Project 1. In the left pane, select from the following folder: uart_basic_lab.c C:\Program Files\Microchip\pic32_solutions\labs\uart_basic_lab 2. Click Add >> to add the file to the project.
  • Page 9: Building The Project

    From the menu bar, click Project > Make to build the project. Monitor the progress of the build in the Output window, as shown Figure 1-6. When the “BUILD SUCCEEDED:” message displays, you are ready to program the device. FIGURE 1-6: MONITORING BUILD OUTPUT © 2008 Microchip Technology Inc. DS61147A-page 7...
  • Page 10: Programming The Device

    From the menu bar, click Debugger >Select Tool >REAL ICE. If prompted for the firmware update, click Ok to update. Make sure that the MPLAB REAL ICE in-circuit emulator is connected to the PC and to the Explorer 16 Board. 1.9.2...
  • Page 11 Programming Tutorial for PIC32MX FIGURE 1-9: OUTPUT WINDOW © 2008 Microchip Technology Inc. DS61147A-page 9...
  • Page 12: Running The Program

    Explorer 16 Development Board User’s Guide Addendum for PIC32MX 1.10 RUNNING THE PROGRAM Connect the Explorer 16 Development Board to the PC with a DB-9 serial cable. Open a HyperTerminal session on the PC using the settings shown in Figure 1-10. FIGURE 1-10: PC HYPERTERMINAL PORT SETTINGS From the menu bar of the MPLAB IDE window, select Debugger >...
  • Page 13 Programming Tutorial for PIC32MX FIGURE 1-12: OUTPUT PRINTED ON HYPERTERMINAL © 2008 Microchip Technology Inc. DS61147A-page 11...
  • Page 14 Explorer 16 Development Board User’s Guide Addendum for PIC32MX 1.11 PIC32MX TUTORIAL PROGRAM OPERATION The PIC32MX Tutorial is a UART-based program that communicates with a PC through a UART interface. The program responds to the user input. The program flow chart is shown in (Figure 1-13).
  • Page 15 ‘e’ or ‘E’? (256 maximum) Display the user string in HyperTerminal on the PC Is menu choice Make repeat = ‘x’ ‘x’ or ‘X’? Display that the user choice is invalid on the HyperTerminal © 2008 Microchip Technology Inc. DS61147A-page 13...
  • Page 16 Explorer 16 Development Board User’s Guide Addendum for PIC32MX NOTES: © 2008 Microchip Technology Inc. DS61147A-page 14...
  • Page 17: Appendix A. Explorer 16 Development Board Schematics

    EXPLORER 16 DEVELOPMENT BOARD USER’S GUIDE ADDENDUM FOR PIC32MX Appendix A. Explorer 16 Development Board Schematics INTRODUCTION This section provides detailed technical information on the Explorer 16 Development Board with the PIC32MX PIM. DEVELOPMENT BOARD BLOCK DIAGRAM WITH PIC32MX FIGURE A-1:...
  • Page 18 Explorer 16 Development Board User’s Guide Addendum for PIC32MX DEVELOPMENT BOARD SCHEMATICS FIGURE A-2: EXPLORER 16 BOARD SCHEMATIC, SHEET 1 OF 3 (PIM SOCKET) PIN1 PIN2 PIN74 PIN3 PIN73 PIN4 PIN72 PIN71 PIN5 PIN6 PIN70 PIN7 PIN69 PIN68 PIN8 PIN9...
  • Page 19 Explorer 16 Development Board Schematics FIGURE A-3: EXPLORER 16 BOARD SCHEMATIC, SHEET 2 OF 3 (PIC32MX PIM SOCKET) * Remove (R6-R10) to isolate TRACE PORT Trace Pins from Application icuit. TRCLK PIN_91 PIN91 TRD0 PIN_97 PIN97 TRD1 PIN_96 PIN96 TRD2...
  • Page 20 Explorer 16 Development Board User’s Guide Addendum for PIC32MX FIGURE A-4: EXPLORER 16 BOARD SCHEMATIC, SHEET 3 OF 3 (PIC32MX3XXL PIN DIAGRAM) 100-Pin TQFP (General Purpose) RG15 SOSCO/T1CK/CN0/RC14 SOSCI/CN1/RC13 PMD5/RE5 OC1/RD0 PMD6/RE6 IC4/PMCS1/RD11 PMD7/RE7 IC3/PMCS2/RD10 T2CK/RC1 IC2/RD9 T3CK/RC2 IC1/RTCC/RD8 T4CK/RC3...
  • Page 21 Explorer 16 Development Board User’s Guide Addendum for PIC32MX NOTES: © 2008 Microchip Technology Inc. DS61147A-page 19...
  • Page 22: Sales And Service

    Fax: 86-592-2388130 Fax: 886-2-2508-0102 Toronto China - Xian Thailand - Bangkok Mississauga, Ontario, Tel: 86-29-8833-7252 Tel: 66-2-694-1351 Canada Fax: 86-29-8833-7256 Fax: 66-2-694-1350 Tel: 905-673-0699 China - Zhuhai Fax: 905-673-6509 Tel: 86-756-3210040 Fax: 86-756-3210049 01/02/08 © 2008 Microchip Technology Inc. DS61147A-page 20...

Table of Contents