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: •...
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 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 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.
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...
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 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).
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...
Need help?
Do you have a question about the Explorer 16 and is the answer not in the manual?
Questions and answers