Page 2
Mode, Total Endurance, TSHARC, 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.
• Customer Support • Document Revision History DOCUMENT LAYOUT This document describes how to use the PIC18F46J50 Full-Speed USB Demonstration Board as a development tool to emulate and debug firmware on a target board. The manual layout is as follows: •...
Page 7
Interim software releases are available at the Microchip web site. RECOMMENDED READING This user’s guide describes how to use the PIC18F46J50 Full-Speed USB Demonstra- tion Board. The following Microchip documents are recommended as supplemental references: • “PIC18F46J50 Family Data Sheet” (DS39931) •...
Page 9
PIC18F46J50 Full-Speed USB Demonstration Board User’s Guide PIC18F46J50 Full-Speed USB Demonstration Board User’s Guide CUSTOMER SUPPORT Assistance for Microchip customers is available through: • Distributors or representatives • Local sales offices • Field Application Engineers (FAEs) • Technical support resources Customers should contact their distributor, representative or Field Application Engineer (FAE) for support.
PIC18F46J50 FAMILY USB CAPABILITIES The PIC18F46J50 microcontroller is the “superset” device of the PIC18F46J50 family. The PIC18F46J50 has the largest memory and highest pin count in the family, but otherwise shares a nearly identical feature set with the other family devices. The only exclusionary exceptions are features that require pins not present on the family’s...
DEMONSTRATION BOARD USER’S GUIDE Chapter 2. Board Hardware The PIC18F46J50 Full-Speed USB Demonstration Board can be used as a stand-alone device or — for additional functionality — plugged into either the PIC18 Explorer Board (www.microchipDIRECT.com) or PICDEM HPC Explorer Board (www.microchipDIRECT.com).
Board Hardware FIGURE 2-1: PIC18F46J50 FULL-SPEED USB DEMONSTRATION BOARD Full schematics of the PIC18F46J50 Full-Speed USB Demonstration Board are in Appendix B. “Board Schematics”. POWER MANAGEMENT The USB interface provides +5V (nominal) power at up to 500 mA for use by USB peripheral devices.
MCHPFSUSB Framework. (See Section 3.1 “Overview”.) The push button is connected to pin RB2 on the PIC18F46J50 microcontroller which is pulled up to V through a 15-kΩ resistor. Pressing the button pulls the RB2 line to ground.
2.4.2 JP3 Jumper If the PIC18F46J50 Full-Speed USB Demonstration Board is used as a stand-alone device, it obtains its power from the USB cable. This requires jumper cap, JP3, to be installed, since the jumper is in series with the power supply from the +5V V from the USB connector.
PICDEM HPC Explorer Board or the PIC18 Explorer Board, ensure that the board’s PIC/ICE slider switch is in the “ICE” position. If the explorer board’s switch is in the wrong position, pin P5 on the PIC18F46J50 Full-Speed USB Demonstration Board is designed to physically interfere with the switch.
, Mac OS Linux) ship with built-in HID and MSD class USB drivers. Additional drivers should not be needed to use the default demo firmware programmed on the PIC18F46J50 microcontroller. With successful enumeration in Demo mode, under the Windows operating system, additional entries should appear in the Windows Device Manager dialog box.
3.2.1 MSD Interface The MSD (Mass Storage Device) interface displays the PIC18F46J50 Full-Speed USB Demonstration Board in My Computer as a new drive volume, similar to a USB “thumb drive” Flash memory device. Upon successful enumeration in Demo mode, the new...
“ANx/POT Voltage” bar, as shown in Figure 3-2. If the PIC18F46J50 Full-Speed USB Demonstration Board is used as a stand-alone device, it is recommended that an adjustable external power supply (between 0V and 3.3V) be attached to the RA0 pin to provide a more interesting demo experience. If the...
Page 23
FIGURE 3-3: USB HID BOOTLOADER APPLICATION – NO DEVICE 2. Plug the PIC18F46J50 Full-Speed USB Demonstration Board into a free USB port. 3. Place the board in the Bootloader mode by pressing and holding down the S2 push button (RB2 I/O pin). While still holding down the S2 push button, momen- tarily press and release the MCLR push button (S4) to reset the device, keeping the S2 button depressed until after the device has come out of Reset.
The factory default firmware can be restored onto the microcontroller any time by using the ICSP programming header and programming the microcontroller with the file, PIC18F46J50 FS USB Demo Board Factory Hex 23 Jan 2009.hex. To do this: 1. Launch the MPLAB IDE application and select the ICSP programmer and the correct device (PIC18F46J50).
Page 26
.NET package has not been installed, do so. The .NET Framework redistributable package is available in the MCHPFSUSB Framework on the CD-ROM disc that comes with the PIC18F46J50 Full-Speed USB Demonstration Board. Alternately, the .NET package can be downloaded from the...
DEMONSTRATION BOARD USER’S GUIDE Appendix B. Board Schematics Figure B-1 through Figure B-3 show the schematics for the PIC18F46J50 Full-Speed USB Demonstration Board. When designing the PIC18F46J50 Full-Speed USB Demonstration Board, special care was taken to make the board USB 2.0, full-speed compliant. It is suggested that those designing new USB applications review section 7.2 of the official USB 2.0 specifica-...
Page 28
Certain pins (RA1, RA5, RB1, RD7 and RB5) perform “double duty”, being connected to more than one pin on the female headers (ICE module). This is done so that the PIC18F46J50 family device can interface with more of the pre-existing PICtail™ Daughter Boards and other hardware features on the PIC18 Explorer Board and the PICDEM™...
Page 29
PIC18F46J50 Full-Speed USB Demonstration Board User’s Guide FIGURE B-2: PIC18F46J50 FULL-SPEED USB DEMONSTRATION BOARD – (1,2) MICROPROCESSOR 0.1 F 12 MHz 22 pF 22 pF PIC18F46J50 0.1 F 0.1 F 0.1 F 10 F Note 1: Components R10 and D3 are not required in production. They are included here in case the user accidentally tries to ®...
Page 30
Note 1: Components, R3 and J1, are used to “program” the adjustable linear regulator output voltage to 3.3V when the PIC18F46J50 Full-Speed USB Demonstration Board is plugged into either the PIC18 Explorer Board or the PICDEM™ HPC Explorer Board. The ICE module consists of the female header pins on the bottom of the board. Most pins on the microcontroller are directly routed to their respective signal names on the ICE module.
Need help?
Do you have a question about the PIC18F46J50 and is the answer not in the manual?
Questions and answers