Microchip Technology PICDEM.net™ 2 User’s Guide

PICDEM.net™ 2
Internet/Ethernet
Development Board
User’s Guide
2011 Microchip Technology Inc. DS51623D
Note the following details of the code protection feature on Microchip devices:
Microchip products meet the specification contained in their particular Microchip Data Sheet.
Microchip believes that its family of products is one of the most secure families of its kind on the market today, when used in the intended manner and under normal conditions.
There are dishonest and possibly illegal methods used to breach the code protection feature. All of these methods, to our knowledge, require using the Microchip products in a manner outside the operating specifications contained in Microchip’s Data Sheets. Most likely, the person doing so is engaged in theft of intellectual property.
Microchip is willing to work with the customer who is concerned about the integrity of their code.
Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. Code protection does not mean that we are guaranteeing the product as “unbreakable.”
Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protection features of our products. Attempts to break Microchip’s code protection feature may be a violation of the Digital Millennium Copyright Act. If such acts allow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that Act.
Information contained in this publication regarding device applications and t he lik e is provided only for your convenience and may be su perseded by upda t es . It is y our responsibility to ensure that your application meets with your specifications. MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE INFORMATION, INCLUDING BUT NOT LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY OR FITNESS FOR PURPOSE. Microchip disclaims all liability arising from this information and its use. Use of Microchip devices in life supp ort and/or safety ap plications is entir ely at the buyer’s risk, and the buyer agrees to defend, indemnify and hold harmless M icrochip from any and all dama ges, claims, suits, or expenses re sulting from such use. No licens es are conveyed, implicitly or otherwise, under any Microchip intellectual property rights.
Trademarks
The Microchip name and logo, the Microchip logo, dsPIC, K
EELOQ, KEELOQ logo, MPLAB, PIC, PICmicro, PICSTART,
32
PIC
logo, rfPIC and UNI/O are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries.
FilterLab, Hampshire, HI-TECH C, Linear Active Thermistor, MXDEV, MXLAB, SEEVAL and The Embedded Control Solutions Company are registered trademarks of Microchip Technology Incorporated in the U.S.A.
Analog-for-the-Digital Age, Application Maestro, CodeGuard, dsPICDEM, dsPICDEM.net, dsPICworks, dsSPEAK, ECAN, ECONOMONITOR, FanSense, HI-TIDE, In-Circuit Serial Programming, ICSP, Mindi, MiWi, MPASM, MPLAB Certified logo, MPLIB, MPLINK, mTouch, Omniscient Code Generation, PICC, PICC-18, PICDEM, PICDEM.net, PICkit, PICtail, REAL ICE, rfLAB, Select Mode, Total Endurance, TSHARC, UniWinDriver, 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.
© 2011, Microchip Technology Incorporated, Printed in the U.S.A., All Rights Reserved.
Printed on recycled paper.
ISBN: 978-1-61341-072-1
Microchip received ISO/TS-16949:2002 certification for its worldwide headquarters, design and wafer fabrication facilities in Chandler and Tempe, Arizona; Gresham, Oregon and design centers in California and India. The Company’s quality system processes and procedures are for its PIC devices, Serial EEPROMs, microperipherals, nonvolatile memory and analog products. In addition, Microchip’s quality system for the design and manufacture of development systems is ISO 9001:2000 certified.
®
MCUs and dsPIC® DSCs, KEELOQ
®
code hopping
DS51623D-page 2 2011 Microchip Technology Inc.
PICDEM.net™ 2 DEVELOPMENT
BOARD USER’S GUIDE

Table of Contents

Preface ...........................................................................................................................5
Chapter 1. Introduction to the PICDEM.net 2 Development Board
1.1 Introduction ...................................................................................................11
1.2 Highlight s ......... .. ........................................................................................... 11
1.3 The Develo p m e n t K it: W h a t’s In The B o x ............ ........................................ 11
1.4 The PICDEM.net 2 Development Board ...................................................... 12
1.5 Developm e nt Ki t F irmware ........................................................................... 14
Chapter 2. Getting Started with the PICDEM.net 2 Development Board
2.1 Highlight s ......... .. ........................................................................................... 15
2.2 Network Pre c a u ti on s : Be fo r e You S ta rt ........................................................ 15
2.3 Using PICDEM.net 2 Development Board with a Test Network ...................16
2.4 Connecting the PICDEM.net 2 Development Board .................................... 16
2.5 Establishi ng C o m mu n ications ............ ............................. ............................. 19
Chapter 3. Reconfiguring and Restoring the PICDEM.net 2 Development Board
3.1 Highlight s ......... .. ........................................................................................... 21
3.2 Reconfiguring the PICDEM.net 2 Development Board Hardware ................21
3.3 Reprogramming and Restoring the Application Firmware ............................24
Chapter 4. Troubleshooting
4.1 Highlight s ......... .. ........................................................................................... 25
4.2 Common Is su e s ............... ... .. ....................................................................... 2 5
Appendix A. PICDEM.net 2 Development Board
Schematics, Rev. 6 ......................................................................................................27
Index .............................................................................................................................33
Worldwide Sales and Service ....................................................................................34
2011 Microchip Technology Inc. DS51623D-page 3
PICDEM.net™ 2 Development Board User’s Guide
NOTES:
DS51623D-page 4 2011 Microchip Technology Inc.
PICDEM.net™ 2 DEVELOPMENT
BOARD USER’S GUIDE

Preface

NOTICE TO CUSTOMERS
All documentation becomes dated, and this manual is no exception. Microchip tools and documentation are constantly evolving to meet customer needs, so some actual dialogs and/or tool descriptions may differ from those in this document. Please refer to our web site (www.microchip.com) to obtain the latest documentation available.
Document s are identifi ed with a “DS” n umber . This n umber is locat ed on the bot tom of each p age, in front of the page number . The numbering convention for the DS number is “DSXXXXXA”, where “XXXXX” is the document number and “A” is the revision level of the document.
For the most up-to-date information on development tools, see the MPLAB Select the Help menu, and then Topics to open a list of available on-line Help files.

INTRODUCTION

This chapter contains general information that will be useful to know before using the Development Board. Items discussed in this chapter include:
Document Layout
• Conventions Used in this Guide
• Warranty Registration
• Recommended Reading
• The Microchip Web Site
• Customer Support
• Document Revision History
®
IDE on-line help.

DOCUMENT LAYOUT

This document describes how to use the PICDEM.net 2 Development Board as a development tool to emulate and debug firmware on a target board. The manual layout is as follows:
Chapter 1. “Introduction to the PICDEM.net 2 Development Board” – Describes what the PICDEM.net 2 Development Board is and what features are available on the board.
Chapter 2. “Getting Started with the PICDEM.net 2 Development Board” – Describes how to connect and begin to use the PICDEM.net 2 Development Board.
Chapter 3. “Reconfiguring and Restoring the PICDEM.net 2 Development Board” – Provides instructions on changing hardware configuration, loading a web page into the on-board EEPROM and reconfiguring the network settings.
Chapter 4. “Troubleshooting” – Provides information on solving common prob lems.
Appendix A. “PICDEM.net 2 Development Board Schematics, Rev. 6” – Provides schematic diagrams of the Development Board.
2011 Microchip Technology Inc. DS51623D-page 5
PICDEM.net™ 2 Development Board User’s Guide

CONVENTIONS USED IN THIS GUIDE

This manual uses the following docum entat io n conven tion s:

DOCUMENTATION CONVENTIONS

Description Represents Examples
Arial font:
Italic chara c ters Referenced books “MPLAB
Emphasized text ...is the only compiler...
Initial caps A window the Output window
A dialog the Settings dialog A menu selection select Enable Programmer
Quotes A field name in a window or
dialog
Underlined, italic text with right angle bracket
Bold characters A dialog button Click OK
Text in angle brac kets < > A key on the keyboard Press <Enter>, <F1>
Courier New font:
Plain Courier New Sample source code #define START
Italic Courier New A variable argument file.o, where file can be
Square brackets [ ] Optional arguments mcc18 [options] file
Curly brackets and pipe character: { | }
Ellipses... Replaces r epeated text var_name [,
A menu path File>Save
A tab Click the Power tab
Filenames autoexec.bat File paths c:\mcc18\h Keywords _asm, _endasm, static Command-line options -Opa+, -Opa- Bit values 0, 1 Constants 0xFF, ‘A’
Choice of mut ually exclus ive arguments; an OR selection
Represents code supplied by user
“Save project before build”
any valid filename
[options] errorlevel {0|1}
var_name...]
®
IDE User’s Guide”
DS51623D-page 6 2011 Microchip Technology Inc.

WARRANTY REGISTRATION

Please complete the enclosed Warranty Registration Card and mail it promptly. Sending in the Warranty Registration Card entitles users to receive new product updates. Interim software releases are available on the Microchip web site.

RECOMMENDED READING

This user’s guide describes how to use the PIC DE M .n et 2 De v el op me n t Bo a rd . Other useful documents are listed below. The following Microchip documents are available and recommended as supplemental reference resources.
Readme Files
For the latest information on using other tools, read the tool-specific Readme files in the Readmes subdirectory of the MPLAB contain updated information and known issues that may not be included in this user’s guide.
“PIC18F97J60 Family Data Sheet” (DS39762)
Consult this document for detailed information on Microchip’s first family of 8-bit microcontrollers with on-chip Ethernet capability. Reference information found in this data sheet includes:
• Device pinout and packaging details
• Device electrical speci fic ati on s
• Device memory map
• List of peripherals included on the device
• Practical information on using the Ethernet interface module in connectivity solutions
“ENC28J60 Data Sheet” (DS39662)
Consult this document for detailed information on the non-microcontroller Ethernet interface. Reference information found in this data sheet includes:
• Device pinout and packaging details
• Device electrical speci fic ati on s
• Device memory map
• Practical information on using the Ethernet interface module in connectivity solutions
Microchip TCP/IP Stack Help
This document provides information for getting started with the Microchip TCP/IP Stack. It also serves as a programmer’s manual and reference documentation for the many feat u re s a nd fu nc t io ns o f t h e stack. It is referred to th roughout t his manual as a primary reference. The Help file is included with the TCP/IP Stack installation (available at www.microchip.com/tcpip).
Preface
®
IDE installation directory. The Readme files
2011 Microchip Technology Inc. DS 51623D-page 7
PICDEM.net™ 2 Development Board User’s Guide

THE MICROCHI P WEB SITE

Microchip provides online support via our web site at www.microchip.com. This web site is used as a means to make files and information easily available to customers. Accessible by using your favorite Internet browser, the web site contains the following information:
Product Support – Data sheets and errata, application notes and sample programs, design resources, user’s guides and hardware support documents, latest software releases and archived software
General Technical Support – Frequently Asked Questions (FAQs), technical support requests, online discussion groups, Microchip consultant program member listin g
Business of Microchip – Product selector and ordering guides, latest Microchip press releases, listing of seminars and events, listing of Microchip sales offices, distributors and factory representatives

CUSTOMER SUPPORT

Users of Microchip products can receive assistance through several channels:
• Distributor or Representative
• Local Sales Office
• Field Application Engineer (FAE)
• Technical Support
• Development Systems Information Line
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.
DS51623D-page 8 2011 Microchip Technology Inc.

DOCUMENT REVISION HISTORY

Revision A (September 2006)
• Initial Release of this Document.
Revision B (June 2007)
• Edits to Section 1.3 “The Development Kit: What’s In The Box”.
Revision C (April 2008)
• Revised to refer to the Microchip TCP/IP Stack Help for software-specific documentation.
Revision D (April 2011)
• Revised schematic and text references for the latest hardware version (v6), which adds auto-polarity detection circuitry and an EMI filter. (Refer to the latest version of “PIC18F97J60 Family Data Sheet” (DS39762) for more information on these hardware additions.)
- Deleted L1 1.5A, 60 Ohm Ferrite Bead
- Added L1, L3 300 mA, 120 Ohm Ferrite Beads
- Changed U3 to PIC18F97J60-I/PT (12x12x1 mm package)
- Added C53, C54 56 pF Capacitors
- Added U6, U7 Switches
- Added R53, R54 100K Resistors
- Change C19, C25, C30, C35 to 27 pF 5% Capacitors
- Changed the incorrect value of C34. The correct value is 1 F.
• Removed references to the accompanying software CD (not available with the latest version of the Development Board) and replaced with references to the product-specific area of the Microchip corporate web site.
Preface
2011 Microchip Technology Inc. DS 51623D-page 9
PICDEM.net™ 2 Development Board User’s Guide
NOTES:
DS51623D-page 10 2011 Microchip Technology Inc.
Chapter 1. Introduction to the PICDEM.net 2

1.1 INTRODUCTION

The PICDEM.net 2 Development Board was created to allow developers to examine Microchip’s latest available technology in embedded Ethernet and Internet solutions. Using the free Microchip TCP/IP Stack source code, developers can experiment with the preprogrammed Microchip TCP/IP Demo Application and learn how to integrate connectivity into their applications.

1.2 HIGHLIGHTS

This chapter covers the following:
• The Development Kit: What’s In The Box
• The PICDEM.net 2 Development Board
• Development Kit Firmware
PICDEM.net™ 2 DEVELOPMENT
BOARD USER’S GUIDE
Development Board

1.3 THE DEVELOPMENT KIT: WHAT’S IN THE BOX

Your Development Kit contains the following items:
1. The PICDEM.net 2 Development Board
2. A standard CAT5 “straight-through” netwo rk cable for networki ng the board
3. A CAT5 “crossover” network cable for networking the board directly to a
computer
4. An “Important Information” card
5. “Using the PICDEM.net™ 2 Development Board” quick start guide
6. A warranty registration card
2011 Microchip Technology Inc. DS51623D-page 11
Loading...
+ 23 hidden pages