User manual
MPLAB STARTER KIT FOR PIC18F
USER’S GUIDE
© 2009 Microchip Technology Inc. DS51852A-page iii
Table of Contents
Preface ........................................................................................................................... 1
Chapter 1. Introduction to the Starter Kit
1.1 Overview ........................................................................................................ 7
1.2 Operational Requirements ............................................................................. 7
1.3 Initial Board Setup .......................................................................................... 7
Chapter 2. The Demonstration Application
2.1 Bootloader From the MicroSD™ Memory Card ............................................. 9
2.2 USB HID Mouse Demo ................................................................................ 11
2.3 USB HID Joystick Demo .............................................................................. 12
2.4 USB HID Custom Device Demo ................................................................... 13
2.5 USB CDC Demo ........................................................................................... 14
2.6 USB MSD Card Reader Demo ..................................................................... 14
Chapter 3. Developing an Application
3.1 Setting Up an Example Application for Debug ............................................. 16
3.2 Running the Example Application ................................................................ 18
3.3 Debugging the Example Application ............................................................ 18
3.4 Programming the Debugged Application ...................................................... 21
3.5 Creating Other Applications ......................................................................... 21
3.6 Determining Device Support ........................................................................ 21
3.7 Reserved Resources .................................................................................... 21
3.8 Debug Version Information ........................................................................... 21
3.9 Troubleshooting ............................................................................................ 22
Chapter 4. Hardware
4.1 Application Functional Overview .................................................................. 23
4.2 Programmer/Debugger Functional Overview ............................................... 24
4.3 Board Components ...................................................................................... 25
Appendix A. Starter Kit Schematics........................................................................... 29
Appendix B. USB Current Draw Requirements......................................................... 33
B.1 USB Current Specifications ......................................................................... 33
B.2 PIC18F Soft Start Circuitry ........................................................................... 34
B.3 Soft Start Functions and Usage ................................................................... 35
B.4 USB Suspend Current Limitations for the Starter Kit ................................... 37
Index ............................................................................................................................. 39
Worldwide Sales and Service .................................................................................... 42