Programing_for_Embedded_Systems
embed 

所属分类:嵌入式/单片机/硬件编程
开发工具:MultiPlatform
文件大小:514KB
下载次数:46
上传日期:2006-03-16 11:26:58
上 传 者DanZheng
说明:  < 嵌入式系统编程>>源代码解析光盘,包括这本书各章节的示例代码(无密码)
(<Embedded Systems Programming>> Source Code Analysis CD-ROM, including the chapters of this book s sample code (no password))

文件列表:
Source Code\Chapter 03\CRC32.cpp (1897, 2002-05-07)
Source Code\Chapter 03 (0, 2005-01-13)
Source Code\Chapter 05\lcd.asm (5087, 2002-01-28)
Source Code\Chapter 05 (0, 2005-01-13)
Source Code\Chapter 06\Serial.c (1463, 2002-01-28)
Source Code\Chapter 06\SerialCommDlg.cpp (8408, 2001-12-22)
Source Code\Chapter 06\SerialCommDlg.h (1590, 2001-12-22)
Source Code\Chapter 06 (0, 2005-01-13)
Source Code\Chapter 07\gps.bmp (268542, 2002-02-05)
Source Code\Chapter 07\GPSDlg.cpp (6819, 2001-12-24)
Source Code\Chapter 07\GPSDlg.h (1362, 2001-12-22)
Source Code\Chapter 07\Serial.cpp (4309, 2002-02-05)
Source Code\Chapter 07\Serial.h (1690, 2001-12-22)
Source Code\Chapter 07 (0, 2005-01-13)
Source Code\Chapter 08\Buffers.c (1917, 2001-12-24)
Source Code\Chapter 08\ClientDlg.cpp (18536, 2002-01-28)
Source Code\Chapter 08\ClientDlg.h (3874, 2002-01-28)
Source Code\Chapter 08\Globalvar.h (1437, 2001-12-24)
Source Code\Chapter 08\PTFunction.c (1460, 2001-12-24)
Source Code\Chapter 08\serverDlg.cpp (21278, 2002-01-28)
Source Code\Chapter 08\serverDlg.h (2535, 2002-01-28)
Source Code\Chapter 08\test.c (9670, 2002-01-29)
Source Code\Chapter 08\Test.h (2692, 2001-12-24)
Source Code\Chapter 08 (0, 2005-01-13)
Source Code\Chapter 09\idbusage.c (14606, 2002-01-29)
Source Code\Chapter 09\sound.c (7903, 2002-01-28)
Source Code\Chapter 09 (0, 2005-01-13)
Source Code\Chapter 10\AudioPlayerDlg.cpp (5902, 2002-01-12)
Source Code\Chapter 10\blink.c (1656, 2002-01-11)
Source Code\Chapter 10\hello.c (1003, 1999-01-01)
Source Code\Chapter 10\play.c (1591, 1999-01-01)
Source Code\Chapter 10\repeat.c (1657, 1999-01-01)
Source Code\Chapter 10\SerialCommDlg.cpp (8515, 2002-01-17)
Source Code\Chapter 10\stop.c (1502, 1999-01-01)
Source Code\Chapter 10\temperature.c (2175, 1999-01-01)
Source Code\Chapter 10 (0, 2005-01-13)
Source Code\Chapter 11\EnergyConsumption.ebf (40639, 2002-01-07)
Source Code\Chapter 11\salarysurvey.ebf (37061, 2002-01-07)
Source Code\Chapter 11 (0, 2005-01-13)
Source Code\Chapter 12\CSEngineer.pkg (382, 2001-12-15)
... ...

About the CD-ROM This appendix provides you with information on the contents of the CD that accompanies this book. For the latest information, please refer to the ReadMe file located at the root of the CD. Here is what you will find: * System Requirements * What’s on the CD * Using the CD * Troubleshooting System Requirements Make sure that your computer meets the minimum system requirements listed in this section. If your computer doesn’t match up to most of these requirements, you may have a problem using the contents of the CD. For Microsoft Windows 9x or Windows 2000: * PC with a Pentium processor running at 120 Mhz or faster * Minimum 128 MB of RAM * Ethernet network interface card (NIC) or modem with a speed of at least 28,800 bps * A CD-ROM drive -- double-speed (2x) or faster For Linux: * PC with a Pentium processor running at 90 Mhz or faster * Minimum 128 MB of RAM * Ethernet network interface card (NIC) or modem with a speed of at least 28,800 bps * A CD-ROM drive -- double-speed (2x) or faster Apart from this you need Conexant GPS receiver that is being used in the project discussed in Chapter 7. More information is available at: www.conexant.com/cnxt/index.html Using the CD This sections talks about as to how the user will access the contents present on the CD. Using the CD with Microsoft Windows To install the items from the CD to your hard drive, follow these steps: 1. Insert the CD into your computer’s CD-ROM drive. A window will appear with the following options: Install, Explore, Links and Exit. If you do not have autorun enabled or if the autorun window does not appear, follow the steps below to access the CD. 2. Click Start --> Run. In the dialog box that appears, type d:\setup.exe, where d is the letter of your CD-ROM drive. This will bring up the autorun window described above. Choose the Install, Explore, Links, or Exit option from the menu. Install: Gives you the option to install the supplied software and/or the author-created samples on the CD-ROM. Explore: Allows you to view the contents of the CD-ROM in its directory structure. Links: Opens a hyperlinked page of web sites. Exit: Closes the autorun window. Using the CD with Linux To install the items from the CD to your hard drive, follow these steps: 1. Log in as root. 2. Insert the CD into your computer’s CD-ROM drive. 3. If your computer has Auto-Mount enabled, wait for the CD to mount. Otherwise, follow these steps: a. Command line instructions: At the command prompt type: mount /dev/cdrom /mnt/cdrom (This will mount the "cdrom" device to the mnt/cdrom directory. If your device has a different name, then exchange "cdrom" with that device name -- for instance, "cdrom1") b. Graphical: Right click on the CD-ROM icon on the desktop and choose "Mount CD-ROM" from the selections. This will mount your CD-ROM. 4. To remove the CD from your CD-ROM drive, follow these steps: a. Command line instructions: At the command prompt type: umount /mnt/cdrom b. Graphical: Right click on the CD-ROM icon on the desktop and choose "UMount CD-ROM" from the selections. This will mount your CD-ROM. Note: The programs given Chapter 10 on RTLinux will work only in the Linux environment. The RTLinux operating system software has to be installed on a machine running Linux. What’s on the CD The following sections provide a summary of the software and other materials you’ll find on the CD. Author-created materials All author-created material from the book, including code listings and samples, are on the CD in the folder named Embedded Programming Source Code. The source code folder is further categorized into sub folders for source code listing for the projects discussed in the book. A brief description about the contents of each folder is provided here as an aid to handling the CD-ROM effectively. Chapter 3 3-1 -- CRC32.cpp Chapter 5 5-1 -- cd.asm Chapter 6 6-1 -- CserialCommDlg.h 6-2 -- CserialCommDlg.cpp 6-3 -- Serial.c Chapter 7 7-1 -- Serial.h 7-2 -- Serial.cpp 7-3 --GPSDlg.h 7-4 --GPSDlg.cpp Image -- GPS.bmp Chapter 8 8-1 -- Test.h 8-2 -- Test.c 8-3 -- GlobalVar.h 8-4 -- Buffers.c 8-5 -- PTFunction.c 8-6 -- serverDlg.h 8-7 -- serverDlg.cpp 8-8 -- clientDlg.h 8-9 -- clientDlg.cpp Chapter 9 9-1 -- sound.c 9-2 -- idbusage.c Chapter 10 10-1 -- hello.c 10-2 -- blink.c 10-3 -- SerialCommDlg.cpp 10-4 -- Temperature.c 10-5 -- play.c 10-6 -- stop.c 10-7 -- repeat.c 10-8 -- AudioPlayerDlg.cpp Chapter 11 11-1 -- SalarySurvey.ebf 11-2 -- EnergyConsumption.ebf Chapter 12 12-1 -- ICustomer.java 12-2 -- CustomerImpl.java 12-3 -- CustomerStub.java 12-4 -- Customer.pkg 12-5 -- ICSEngineer.java 12-6 -- CSEngineerImpl.java 12-7 -- CSEngineerStub.java 12-8 -- CSEngineer.pkg 12-9 -- Ilocation.java 12-10 -- LocationImpl.java 12-11 -- LocationStub.java 12-12 -- Location.pkg 12-13 -- TempMeasure.java 12-14 -- Isecurity.java 12-15 -- SecurityImpl.java 12-16 -- SecurityStub.java 12-17 -- Security.pkg Chapter 13 13-1 -- CityGuide.java 13-2 -- Cities.jsp 13-3 -- Categories.jsp 13-4 -- CityDetails.jsp 13-5 -- NameCategory.jsp 13-6 -- ACRemoteServiceInterface.java 13-7 -- ACRemoteService.java 13-8 -- ACRemoteClient.java 13-9 -- ClientGUI.java Chapter 14 14-1 -- Serial.h 14-2 -- Serial.cpp 14-3 -- ACRemoteDlg.h 14-4 -- ACRemoteDlg.cpp 14-5 -- ACSimulator.cpp 14-6 -- MP3RemoteDlg.h 14-7 -- MP3RemoteDlg.cpp 14-8 -- frmMain.frm 14-9 -- Frmtest.frm 14-10 -- frmfallingletters.frm 14-11 -- Productivity.frm 14-12 -- vote.asp 14-13 -- insertvote.asp 14-14 -- checkvote.asp 14-15 -- Thanks.html 14-16 -- Display.asp Notes: The code listings can be viewed through the notepad editor. In the case of ASP and FRM files, you may have to explicitly select the NOTEPAD for opening the files. In the case of .ebf files, if you have the eMbedded Visual Basic installed in your system, the file will open automatically in that environment. Otherwise, you can view the file in the notepad. For compilation and execution of the programs, follow the steps given the book. In the case of projects involving databases, you need to create the tables as per the description given for the tables and then execute the programs. In the case of VC++ programs, when you create the new project, some header files are created automatically by the class wizard. The listings of such header files are not included in the CD. Software Requirements This sections discusses the software you will find on the CD. Shareware programs are fully functional, trial versions of copyrighted programs. If you like particular programs, register with their authors for a nominal fee and receive licenses, enhanced versions, and technical support. Freeware programs are copyrighted games, applications, and utilities that are free for personal use. Unlike shareware, these programs do not require a fee or provide technical support. GNU software is governed by its own license, which is included inside the folder of the GNU product. See the GNU license for more details. Trial, demo, or evaluation versions are usually limited either by time or functionality (such as being unable to save projects). Some trial versions are very sensitive to system date changes. If you alter your computer’s date, the programs will "time out" and will no longer be functional. Forte for Java, release 3.0 Community Edition Full, from Sun Microsystems Commercial product. The Forte for Java release 2.0 is an integrated development environment used for developing Java application. It is a commercial product. It is available on the accompanying CD. This tool kit has been used in the projects developed in Chapter 13. You can learn more about it at: www.sun.com/forte/ffj Java 2 Software Development Kit Standard Edition version 1.4, from Sun Microsystems Trial version. This is a software development kit for developing standard Java applications. Applications discussed in chapter 12 and 13 have been developed using this SDK. You will find the trial version of this SDK on the CD. You can learn more about it at: http://Java.sun.com/j2se Java 2 Platform Micro Edition, Wireless Toolkit 1.0.3 (J2ME), from Sun Microsystems Commercial product. This is a software development kit for developing MIDP applications. It is a commercial product. This tool kit has been used in the projects developed in Chapter 13. It is a Commercial Product. It is available on the accompanying CD. You can learn more about it at: www.sun.com/products/j2metoolkit RT LinuxVersion 3.1, from Finite State Machine Labs, Inc. GNU Software. RT Linux is an embedded operating which provides controlled hard real time processing and convenient interaction with general purpose OS and its applications. This embedded operating system is being made use of in projects developed in chapter 10. You will find its GNU version on the CD. For a detailed descriptions of RTLinux go to: www.fsmlabs.com Troubleshooting If you have difficulty installing or using the CD-ROM programs, try the following solutions: * Turn off any anti-virus software that you may have running. Installers sometimes mimic virus activity and can make your computer incorrectly believe that it is being infected by a virus. (Be sure to turn the anti-virus software back on later.) * Close all running programs. The more programs you’re running, the less memory is available to other programs. Installers also typically update files and programs; if you keep other programs running, installation may not work properly. * Reference the ReadMe: Please refer to the ReadMe file located at the root of the CD-ROM for the latest product information at the time of publication. If you still have trouble with the CD, please call the Wiley Customer Care phone number: (800) 762-2974. Outside the United States, call 1 (317) 572-3994. You can also contact Wiley Customer Service by e-mail at techsupdum@wiley.com. Wiley will provide technical support only for installation and other general quality control items; for technical support on the applications themselves, consult the program’s vendor or author.

近期下载者

相关文件


收藏者