DM163025 Microchip Technology, DM163025 Datasheet

PIC DEM FULL SPEED USB DEMO BRD

DM163025

Manufacturer Part Number
DM163025
Description
PIC DEM FULL SPEED USB DEMO BRD
Manufacturer
Microchip Technology
Datasheets

Specifications of DM163025

Main Purpose
Interface, USB 2.0 Host/Controller
Embedded
Yes, MCU, 8-Bit
Utilized Ic / Part
PIC18F2455/2550/4455/4550
Primary Attributes
Full Speed (12Mbps)
Secondary Attributes
MPLAB ICE 2000/4000 Emulator Interface, Temp Sensor, Expansion and PICtail Headers
Processor To Be Evaluated
PIC18F4550
Interface Type
RS-232, USB
Silicon Manufacturer
Microchip
Core Architecture
PIC
Core Sub-architecture
PIC18
Silicon Core Number
PIC18F
Silicon Family Name
PIC18F4xxx
Kit Contents
Demo Board, Cables, CD & Documents
Rohs Compliant
Yes
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
Other names
Q2086254

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
DM163025
Manufacturer:
Microchip Technology
Quantity:
135
Part Number:
DM163025-1
Manufacturer:
MICROCHIP
Quantity:
12 000
PICDEM™ FS USB
DEMONSTRATION BOARD
USER’S GUIDE
© 2008 Microchip Technology Inc.
DS51526B

Related parts for DM163025

DM163025 Summary of contents

Page 1

... DEMONSTRATION BOARD © 2008 Microchip Technology Inc. PICDEM™ FS USB USER’S GUIDE DS51526B ...

Page 2

... PowerTool, REAL ICE, rfLAB, Select Mode, Total 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

... Highlights ...................................................................................................... 35 6.2 Common Problems ....................................................................................... 35 Appendix A. PICDEM™ FS USB Board Technical Information A.1 Highlights ..................................................................................................... 37 A.2 Block Diagram .............................................................................................. 37 A.3 PICDEM FS USB Board Schematics ........................................................... 38 Index ............................................................................................................................. 43 Worldwide Sales and Service .................................................................................... 44 © 2008 Microchip Technology Inc. Table of Contents PICDEM FS USB ™ USER’S GUIDE DS51526B-page iii ...

Page 4

... NOTES: DS51526B-page iv © 2008 Microchip Technology Inc. ...

Page 5

... About This Guide • Warranty Registration • Recommended Reading • Troubleshooting • The Microchip Web Site • Development Systems Customer Change Notification Service • Customer Support © 2008 Microchip Technology Inc. PICDEM USER’S GUIDE Preface FS USB ™ ® IDE on-line help. ...

Page 6

... Chapter 6: Troubleshooting discusses some common questions about using the demonstration board. • Appendix A: PICDEM™ FS USB Board Technical Information provides the schematics and other technical details about the demonstration board. DS51526B-page 2 © 2008 Microchip Technology Inc. ...

Page 7

... N‘Rnnnn Text in angle brackets < > Courier New font: Plain Courier New Italic Courier New Square brackets [ ] Curly brackets and pipe character Ellipses... © 2008 Microchip Technology Inc. Represents Referenced books MPLAB Emphasized text ...is the only compiler... A window the Output window A dialog ...

Page 8

... Chapters 5, 8 and 9 are especially useful for those interested in understanding and developing USB peripheral devices. TROUBLESHOOTING See Chapter 6. “Troubleshooting” for information on common problems. DS51526B-page 4 © 2008 Microchip Technology Inc. ...

Page 9

... Programmers – The latest information on Microchip programmers. These include the MPLAB PM3 and PRO MATE Plus and PICkit™ 1 development programmers. © 2008 Microchip Technology Inc. ® C18 and MPLAB C30 C compilers; MPASM™ ® ...

Page 10

... Customers should contact their distributor, representative or field application engineer (FAE) for support. Local sales offices are also available to help customers. A listing of sales offices and locations is included in the back of this document. Technical support is available through the web site at: http://support.microchip.com DS51526B-page 6 © 2008 Microchip Technology Inc. ...

Page 11

... USB interrupt handling, hardware register control and management. Reference designs included with the demonstration kit cover Human Interface Devices (HID), the Communication Device Class (CDC) and the Microchip General Purpose USB device class. © 2008 Microchip Technology Inc. PICDEM FS USB ™ ...

Page 12

... ICE Interface Riser: The microcontroller is surrounded by a 44-pin pad (U5), arranged as four groups each side. These locations can be used to mount a riser for interfacing with Microchip’s MPLAB ICE 2000/4000 emulator system. DS51526B-page 8 THE PICDEM™ FS USB BOARD (TOP ASSEMBLY VIEW © 2008 Microchip Technology Inc. ...

Page 13

... Pressing either button causes its port to read as ‘0’. 16. RS-232 (DB9F) Port: A standard D-shell connector, along with a standard level shifter (U1), provides an RS-232 serial connection to the demonstration board. © 2008 Microchip Technology Inc. ) can be supplied to the board from an external DC DS51526B-page 9 ...

Page 14

... MHz Input Prescaler (configured as divide-by-5) 4 MHz 96 MHz PLL 96 MHz (requires 4 MHz input) 96 MHz Fixed Divide-by-2 power supply. A transformer is not supplied in the kit because DC Configurable 48 MHz Clock Postscaler (configured as CPU and divide-by-2) Peripherals Clock 48 MHz USB Clock © 2008 Microchip Technology Inc. ...

Page 15

... This simulates the physical detachment of the USB cable. Figure 1-3 shows the electrical connection for the USB interface on the board. FIGURE 1-3: USB Connector © 2008 Microchip Technology Inc. PORTA<2:1> STATE COMBINATIONS AND THEIR MEANINGS PORTA<2> USB cable and power supply are both connected; board is ...

Page 16

... PIC18F4550 controller via a bootloader demonstration. The overall operation of the host software is discussed in Chapter 3. “Using the Demo Tool Application”. DS51526B-page 12 USB DEVICE STATE LED STATUS LED D1 Off On On Off Blink Alternate Flashing Fast Synchronous Flashing LED D2 Off On Off On Off © 2008 Microchip Technology Inc. ...

Page 17

... The three steps required are: 1. Installing the MCHPFSUSB software package 2. Connecting the PICDEM FS USB board 3. Installing the USB driver © 2008 Microchip Technology Inc. ® computers or other types of USB capable host systems. However, PICDEM FS USB ™ ...

Page 18

... In theory, this can be done with any Windows operating system on a network. If this describes your situation, contact your local Information Services provider for assistance in installing this software. DS51526B-page 14 © 2008 Microchip Technology Inc. ...

Page 19

... Microchip Technology Inc. DS51526B-page 15 ...

Page 20

... USB “serial number” string descriptor in the device firmware most systems, elevated user privileges are required to install hardware device drivers. If problems are encountered during driver installation, make sure to use an account with high enough privileges. FIGURE 2-1: DS51526B-page 16 DEVICE MANAGER AFTER DRIVER INSTALLATION © 2008 Microchip Technology Inc. ...

Page 21

... USB 0 (Demo)”. 4. Click the Connect button. A temperature number should appear in the “Real Time Temperature” window almost immediately appropriate temperature appears, the demonstration board is ready for your use. FIGURE 2-2: © 2008 Microchip Technology Inc. THE DEMO MODE WINDOW (PARTIAL VIEW) DS51526B-page 17 ...

Page 22

... NOTES: DS51526B-page 18 © 2008 Microchip Technology Inc. ...

Page 23

... In the procedure described for the previous chapter, the USB driver for the demo application was installed. The driver for the bootload application will begin installation on its first launch. © 2008 Microchip Technology Inc. PICDEM FS USB ™ ...

Page 24

... PDFSUSB icon or shortcut. You will see the Demo Tool window (Figure 3-1). By default, the application launches in Bootload mode. To switch to Demo mode, click on the Demo Mode tab (Figure 3-2). FIGURE 3-1: FIGURE 3-2: DS51526B-page 20 THE DEMO TOOL WINDOW, BOOTLOAD MODE THE DEMO TOOL WINDOW, DEMO MODE © 2008 Microchip Technology Inc. ...

Page 25

... Ending Demo Mode To stop the demonstration program, click “Disconnect” or exit the application. Clicking on the Bootload Mode tab also terminates Demo mode. © 2008 Microchip Technology Inc. MESSAGE WINDOW IN DATA LOGGING MODE DS51526B-page 21 ...

Page 26

... Reset, 0x0808 for the high-priority interrupt vector and 0x0818 for the low-priority interrupt vector. Remapping is simply a GOTO instruction for interrupts. Users should note that an additional latency of two instruction cycles is required to handle interrupts. DS51526B-page 22 © 2008 Microchip Technology Inc. ...

Page 27

... The data EEPROM is actually located in a different memory space than shown here. The address range given is remapped by the bootloader to the proper memory when data EEPROM access is required. FIGURE 3-4: High-Priority Interrupt Vector Low-Priority Interrupt Vector © 2008 Microchip Technology Inc. PIC18F4550 PROGRAM MEMORY MAP (BOOTLOADER IMPLEMENTED) 0000h Bootloader Area 07FFh ...

Page 28

... EEPROM), that data section will not be saved in the output file. All memory sections are always loaded after a read device function. DS51526B-page 24 BOOTLOAD MODE CONTROLS ® HEX 32 format invalid file © 2008 Microchip Technology Inc. ...

Page 29

... Note: Only implemented Configuration Words are listed. © 2008 Microchip Technology Inc. DEFAULT CONFIGURATION WORD VALUES FOR THE PICDEM™ FS USB BOARD Register Value CONFIG1L 0x24 Clock configuration CONFIG1H 0x0E Clock configuration ...

Page 30

... For those who write absolute assembly, all that is necessary is to remember that the new Reset vector is at 800h, and the interrupt vectors are at 808h and 818h. Except for the bootloader, no code should reside in the boot block area. DS51526B-page 26 CONFIGURATION CONFLICT WARNING DIALOG WITH TYPICAL DIAGNOSTIC MESSAGE © 2008 Microchip Technology Inc. ...

Page 31

... See c018i.c in your C18 compiler directory #pragma code _RESET_INTERRUPT_VECTOR = 0x000800 void _reset (void) { _asm goto _startup _endasm } #pragma code © 2008 Microchip Technology Inc. ASSEMBLY LINKER SCRIPT FOR USE WITH BOOTLOADER START=0x0 END=0x7FF START=0x800 END=0x7FFF START=0x200000 END=0x200007 PROTECTED ...

Page 32

... END=0x30000D PROTECTED START=0x3FFFFE END=0x3FFFFF PROTECTED START=0xF00000 END=0xF000FF PROTECTED START=0x0 END=0x5F START=0x60 END=0xFF START=0x100 END=0x1FF START=0x200 END=0x2FF START=0x300 END=0x3FF START=0x400 END=0x4FF START=0x500 END=0x5FF START=0x600 END=0x6FF START=0x700 END=0x7FF START=0xF60 END=0xFFF ROM=config RAM=gpr3 PROTECTED PROTECTED PROTECTED PROTECTED PROTECTED PROTECTED PROTECTED © 2008 Microchip Technology Inc. ...

Page 33

... This framework can be found on the Microchip USB design center: http://www.microchip.com/usb. The framework includes a number of MPLAB IDE based USB firmware projects which can be used as a starting point for developing new USB applications. © 2008 Microchip Technology Inc. PICDEM FS USB ™ ...

Page 34

... NOTES: DS51526B-page 30 © 2008 Microchip Technology Inc. ...

Page 35

... Board ID( JP14, JP15, © 2008 Microchip Technology Inc. JUMPER DESCRIPTION Type JP1 2-way Selects user-controlled Reset (S1) or microcontroller disable for external emulation JP2 Bridge Status LED bank (D1 through D4) JP3 Bridge USART Receive (microcontroller’s perspective) JP4 Bridge USART Flow Control (RTS) ...

Page 36

... The port must be configured either as an input or an output to use each mode. JP6 is provided to explicitly disable the CTS signal. DS51526B-page 32 JUMPER LOCATIONS (TOP) AND TRACE LOCATIONS (BOTTOM) ON THE DEMONSTRATION BOARD © 2008 Microchip Technology Inc. ...

Page 37

... For JP14 through JP16, pin 1 is the location closest to the microcontroller. 2: Before using the ICD connector for programming or debugging, verify that all three jumpers are set correctly. Failure may result in programming or debugger failure. © 2008 Microchip Technology Inc. JUMPER CONFIGURATION FOR THE ICSP™/ICD CONNECTOR ). The IHH JP14 ...

Page 38

... MCHPFSUSB release notes if the file cannot be found. To reprogram the micro- controller directly via the ICD connector with the original firmware, use the hex file, picdemfsusb.hex. Users should follow the procedure appropriate for their device programmer and development environment. DS51526B-page 34 © 2008 Microchip Technology Inc. ...

Page 39

... In this case, enter Bootload mode by pressing and holding S2 while pressing and releasing S1. If the Bootload mode does not work possible that the firmware has become corrupted. In this case, it will be necessary to reprogram the microcontroller with the original firmware through an external in-circuit programmer. © 2008 Microchip Technology Inc. PICDEM FS USB ™ ...

Page 40

... Windows is actively using may still need to be manually updated. Open the device manager, right click on the device and use the “Update Driver” option to install the new version of the driver. DS51526B-page 36 © 2008 Microchip Technology Inc. ...

Page 41

... This chapter will cover the following topics: • PICDEM FS USB Block Diagram • PICDEM FS USB Board Schematics A.2 BLOCK DIAGRAM FIGURE A- © 2008 Microchip Technology Inc. PICDEM™ FS USB DEMONSTRATION BOARD FUNCTIONAL BLOCK DIAGRAM 20 MHz Oscillator Reset Switch (S1) User Switches PIC18F4550 ...

Page 42

... A.3 PICDEM FS USB BOARD SCHEMATICS FIGURE A-2: BOARD SCHEMATIC, PART 1 (MICROCONTROLLER, VOLTAGE REGULATION AND ASSOCIATED PARTS) DS51526B-page 38 © 2008 Microchip Technology Inc. ...

Page 43

... FIGURE A-3: BOARD SCHEMATIC, PART 2 (USART, USB INTERFACE, THERMAL SENSOR AND STATUS LEDS) © 2008 Microchip Technology Inc. DS51526B-page 39 ...

Page 44

... FIGURE A-4: BOARD SCHEMATIC, PART 3 (CONFIGURATION JUMPERS, PICkit™ HEADERS AND OPTIONAL MPLAB DS51526B-page 40 ® ICE HEADER) © 2008 Microchip Technology Inc. ...

Page 45

... RD3 RA0 SDI/RB0 SCK/RB1 RB2 © 2008 Microchip Technology Inc. SIGNALS USED IN THE PICDEM™ FS USB SCHEMATIC Hardware Master Clear signal (direct connection to MCLR pin of microcontroller) Dedicated ICD port clock, data and chip Reset signals Legacy ICD port signals (PGC and PGD) ...

Page 46

... NOTES: DS51526B-page 42 © 2008 Microchip Technology Inc. ...

Page 47

... Framework ............................................................... 29 H Hardware Configuration Jumper Settings ................................................ 31 Host Computer Requirements.................................. 13 I ICD Connector ........................................................... 9 ICSP/ICD Connector Configuring ....................................................... 33 Installing the USB Device Driver .............................. 15 Internet Address......................................................... 5 © 2008 Microchip Technology Inc. PICDEM USER’S GUIDE Index J Jumper Descriptions and Locations ......................... 31 L LEDs Power................................................. 9 Status................................................. 9 M Microchip Internet Web Site ....................................... 5 Microchip USB Firmware Framework ...

Page 48

... 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 © 2008 Microchip Technology Inc. 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 ...

Related keywords