⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.txt

📁 本书通过实例介绍了嵌入式编程的方法与技巧书中例子具有实用性
💻 TXT
字号:
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抯 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抰 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抯 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抯 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抯 on the CD

The following sections provide a summary of the software and other materials you抣l 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抯 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抮e 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抯 vendor or author.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -