Programming and Customizing PICmicro(R) Microcontrollers Example Application/Data Sheets/Software Development Tools CD-ROM 00.10.20 - Initial Release - Myke Predko Myke Predko comments: When I have created "README.TXT" files in other books, I have included a subdirectory "Tree" showing what files are located in what directories. Due to the number and complexity of files on this CD-ROM, I have not done this for this book. To look at the organization of this CD-ROM, the "My Computer" file mapper utility of Microsoft "Windows" can be used in place of the "Tree" diagram. I have tried to make the tools, data files and pdf datasheets as up to date and as accurate as possible. I suggest that you check my web page (http://www.myke.com) and Microchip's (http://www.microchip.com) periodically for errata and updates to the information contained in the book and on this CD-ROM. I recommend that the html ("Web Browser") interface (that should have come up automatically in Microsoft "Windows") should be used as your primary interface to the CD-ROM. For all development tools and the Windows applications available for installation, please access them from the html interface as the correct "setup.exe" and documentation files are specified in the html. An explanation of how to manually copy the PICmicro(R) application source files from the CD-ROM onto your hardfile is given in the html interface. The PICmicro(R) MCU application code provided in this book has been tested under the Microchip MPLAB IDE Versions 5.00 and 5.11 for the PICmicro(R) device part numbers listed in the application text. Much of this code will work in other PICmicro(R) MCU part numbers without modification, but there will be problems with some code in some application/PICmicro(R) MCU part numbers, including the inability of the PICmicro(R) MCU to utilize the code due to architecture, feature, pin count, file register or program memory restrictions. This is also true if there are significant changes in the development tools used from the MPLAB IDE, 5.00/5.11 "standard". The software and tools provided on this CD-ROM have been tested in a variety of different systems using different programmers and PICmicro(R) MCU part numbers. It is impossible to test the applications out on every possible combination of PC hardware and software and I am sure that there will be problems arising from different configurations and while I will try to help out with characterizing the problem as well as suggesting corrective actions, I will not be held responsible for getting code to work on a specific device. The Windows applications presented in this book are all designed to work under Microsoft "Windows" versions "95/98/Me/NT/2000". These applications may not work under versions of Windows or Windows emulators. Windows NT/2000 users should have "Administrator" rights before attempting to install any of these applications. All source code and applications that I have written and provided in this book are my property and I am granting a limited license to the purchaser of this book. The application code provided in this book is free to use on as many machines as you personally have access to. The "Snippets" and "Macros" provided in the html "pages" of this CD-ROM may be used in your applications. Application code may NOT be transferred to others under any circumstances without my written permission. You should make sure that you read and understand the Microchip Technology Inc. and McGraw-Hill warranty statements. The permissions granted in the paragraph above only apply to the PICmicro(R) and PC application code that I have written and provided on this CD-ROM. None of the software on this CD-ROM or in the book is certified in any way for life-support or mission critical applications. Microchip, McGraw-Hill nor myself will not be held liable for any problems resulting from the code and circuit designs presented in this book being used in these types of applications. To the best of my knowledge, anywhere in the book where there is a potential safety hazard, I have identified the danger and suggested methods for reducing the risk. To avoid potential danger to yourself and others, please only use UL/CSA and other agency certified power supplies, make sure that fuses or "crowbar" circuits are in place to ensure that short circuits will not result in damage or fire. If you are not sure of what you are doing, please ask either myself or someone you consider an expert. A few extra minutes and a few extra dollars can literally be lifesavers. If you have any questions, please feel free to email me at the ID given below. myke predko mailto:myke@passport.ca http://www.myke.com Reprinted with permission of the copyright owner, Microchip Technology Incorporated. All rights reserved. No further reprints or reproductions may be made without Microchip Technology Inc.’s prior written consent. Information contained in this publication regarding device applications and the like is intended as suggestion only and may be superseded by updates. No representation or warranty is given, and no liability is assumed by Microchip Technology Inc., with respect to the accuracy or use of such information, or infringement of patents arising from such use or otherwise. Use of Microchip Technology Inc. products as critical components in life support systems is not authorized except with express written approval by Microchip Technology Inc. No licenses are conveyed implicitly or otherwise under any intellectual property rights. WARNING: CAREFULLY READ THE TERMS AND CONDITIONS OF THE FOLLOWING COPYRIGHT STATEMENT AND LIMITED CD-ROM DISK WARRANTY. Copyright Statement This software is protected by both United States copyright law and international copyright treaty provision. Except as noted in the contents of the CD-ROM DISK, you must treat this software just like a book. However, you may copy it into a computer to be used and you may make archival copies of the software for the sole purpose of backing up the software and protecting your investment from loss. By saying, "just like a book," The McGraw-Hill Companies, Inc. ("McGraw-Hill") means, for example, that this software may be used by any number of people and may be freely moved from one computer location to another, so long as there is no possibility of its being used at one location or on one computer while it is being used at another. Just as a book cannot be read by two different people in two different places at the same time, neither can the software be used by two different people in two different places at the same time. Limited Warranty McGraw-Hill warrants the physical compact disc enclosed herein to be free of defects in materials and workmanship for a period of sixty days from the purchase date. If the Disk included in your book has defects in materials or workmanship, please call McGraw-Hill at 1-800-217-0059, 9am to 5pm, Monday through Friday, Eastern Standard Time, and McGraw-Hill will replace the defective disc. The entire and exclusive liability and remedy for breach of this Limited Warranty shall be limited to replacement of the defective disc, and shall not include or extend to any claim for or right to cover any other damages, including but not limited to, loss of profit, data, or use of the software, or special incidental, or consequential damages or other similar claims, even if McGraw-Hill has been specifically advised of the possibility of such damages. In no event will McGraw-Hill's liability for any damages to you or any other person ever exceed the lower of the suggested list price or actual price paid for the license to use the software, regardless of any form of the claim. McGRAW-HILL SPECIFICALLY DISCLAIMS ALL OTHER WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, ANY IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Specifically, McGraw-Hill make no representation or warranty that the software is fit for any particular purpose, and any implied warranty of merchantability is limited to the sixty-day duration of the Limited Warranty covering the physical disc only (and not the software), and is otherwise expressly and specifically disclaimed. This limited warranty gives you specific legal rights; you may have others which may vary from state to state. Some states do not allow the exclusion of incidental or consequential damages, or the limitation on how long an implied warranty lasts, so some of the above may not apply to you. This agreement constitutes the entire agreement between the parties relating to use of the Product. The terms of any purchase order shall have no effect on the terms of this Agreement. Failure of McGraw-Hill to insist at any time on strict compliance with this Agreement shall not constitute a waiver of any rights under this Agreement. This Agreement shall be construed and governed in accordance with the laws of New York. If any provision of this Agreement is held to be contrary to law, that provision will be enforced to the maximum extent permissible, and the remaining provisions will remain in force and effect. No Technical support is provided by McGraw-Hill with this CD-ROM disk.