Real-Time Programming
Book 1
Book 2
Book 3
Book 1
Book 2
Book 3
Book 1
Book 2
Book 3
Book 1
Book 2
Book 3
Home > Computing and Information Technology > Computer programming / software engineering > Software Engineering > Real-Time Programming: A Guide to 32-bit Embedded Development
Real-Time Programming: A Guide to 32-bit Embedded Development

Real-Time Programming: A Guide to 32-bit Embedded Development


     0     
5
4
3
2
1



Out of Stock


Notify me when this book is in stock
X
About the Book

Real-time embedded systems have rigid requirements and must conform to strict size, cost, weight, power, operation, and response-time specifications. They must be crash-proof and must operate under a wide range of conditions. Add to these requirements the ever-increasing competitive pressures to bring products to market faster and at a lower cost, and it is easy to see why building such systems is difficult. Real-time programmers must write software that meets unforgiving objectives under numerous constraints. Teaching you how is the goal of this book. Real-Time Programming is a comprehensive guide that *Covers 32-bit real-time embedded programming topics, including debugging, timers, interrupts, multitasking, serial I/O, TCP/IP networking, and ROMing an application *Explores implementing new technologies, such as flash storage and Web-enabled applications *Emphasizes a practical, hands-on approach, drawing on code examples from real-world projects constructed during the course of the book *Provides complete coverage of the embedded development cycle, from design through implementation *Lets developers start building real-time embedded systems immediately using commercial, off-the-shelf hardware and software. With the tools on the CD-ROM, an x86-compatible PC, knowledge of C, and the Visual C++ compiler, you have all you need to begin development. No matter what hardware and software platforms you will ultimately use, this book lays the groundwork and gets you up-to-speed on the unique requirements of real-time embedded programming. What is on the CD-ROM Realtime ETS Kernel A deterministic, multitasking, real-time operating system produced by Phar Lap Software (www pharlap.com) and based on a subset of the Win32 API Pluggable Components *MS-DOS-compatible File System *Floating-Point Emulation Libraryo I/O Driverso DLL Loader *TCP/IP Stack LinkLoc A 32-bit Linker/Locator MicroWeb ServerLibraries and plug-ins that link to your application to createan embedded Web server Project Source Code Complete source listings and executables for all projects and examples Host Requirements *Intel 486-compatible or later PCo Windows 95, 98, or NT *Visual C++ 5. x or 6.0 *40MB hard disk space Target Requirements *Intel 386-compatible or later PC *3 1/2" floppy disk drive *1 parallel and 1 serial (or 2 serial) LapLink-compatible cables 0201485400B04062001

Table of Contents:
(Each chapter concludes with a Summary.) Acknowledgments. Introduction. 1. An Introduction to Embedded Systems. Real-Time Systems. Hard Real-Time. Soft Real-Time. Real-Time Embedded Systems. Embedded Processors. The Advent of PC Embedded Systems. PC Hardware Components. The Advantages of the PC Architecture. Does an Embeddable PC Suit Your Application? 2. Designing and Developing Your Real-Time System. A Practical Approach. The Iterative Approach. The Analysis Phase. Stating the Problem. Specifying Project Constraints. Listing Customer Requirements. Specifying Hardware and Software. Verifying Your Analysis. An Example. The Design Phase. Reviewing the Analysis. Specifying Hardware Components. Defining Hardware Interfaces. Specifying Software Subsystems. Defining Software Interfaces. Specifying the Start-up and Shutdown Processes. Specifying Error Handling. Verifying Your Design. An Example. Some Decisions. Choosing a Processor. Choosing Hardware Components. Choosing an Operating System. Choosing a Programming Language. Choosing Software Development Tools. Choosing Hardware Debugging Tools. Choosing Software Components. The Implementation Phase. Planning the Implementation. Implementing the Design. 3. Chapter 3 Software Installation and Setup. Choosing a Platform and Tools. ToolSuite Lite Components. Embedded StudioExpress. LinkLoc. Real-Time ETS Kernel. What’s Lite About ToolSuite Lite? ETS Kernel Application Environment. Segment Selectors. Null Pointer Detection. The Stack and the Heap. The Command Line and the Environment. Interrupts. Hardware Setup. Software Installation and Setup. Installing ToolSuite Lite. Configuring Visual C++ and Developer Studio. Setting Up the Host Environment. Building a Boot Disk. Testing the Host-Target Connection. Programming Projects. Opening a Workspace. Running a Program. Building a Program. Creating New Programming Projects. 4. Debugging. Software Debuggers. Hardware Debuggers. In-Circuit Emulators. ROM Emulators. Software Simulators. Debugging with ToolSuite. A Buggy Calculation. Debugging the Application. Embedded StudioExpress Extensions. Target Port Input/Output. Target System Information. 5. A Point-of-Sale Terminal. How the POS Project Works. Designing the Simulation. Software Subsystems. Software Interfaces. Start-up and Shutdown Processes. Error Handling. Building the POS Project. Running the POS Project. A Quick Tour of the Source. 6. Keyboard and Screen I/O. Buttons, Keypads, and Keyboards. LEDs, LCDs, and Displays. ETS Kernel Support of Keyboard and Screen I/O. Host Console I/O. ETS Kernel Keyboard Driver. ETS Kernel Screen Driver. Code from the POS Project. Keyboard Input. Screen Output. 7. File Systems. Choosing a File System. Performance. Reliability. Multitasking and Multiuser Capabilities. Choosing a Storage Device. RAM Disks. Flash Disks. ROM Disks. Hard Disk Drives. Floppy Disk Drives. CD-ROM Drives. Magnetic Tape. ETS Kernel File System. Local File System. Remote File System. File I/O in the POS Project. 8. A Simple UPS. How the UPS Project Works. Designing the Simulation. Software Subsystems. Software Interfaces. Start-up and Shutdown Processes. Error Handling. Building the UPS Project. Running the UPS Project. A Quick Tour of the Source. 9. Interrupts. How Interrupts Work. Hardware Interrupts. Software Interrupts. Exceptions. ISR Fundamentals. Using High-Level Languages. Reentrancy. Interrupt Latency. Chaining ISRs. Multitasking Considerations. Interrupts on the PC Architecture. Interrupt Handling Under ETS Kernel. C Interrupt Handlers. IDT Interrupt Handlers. Timer and Keyboard Callbacks. Interrupts in the UPS Project. Keyboard Callbacks. Timer Callbacks. 10. Timers. Timer Applications. Selecting Timer Hardware. Software Considerations. ETS Kernel Timers. Timers in the UPS Project. 11. A Smart UPS. How the Smart UPS Project Works. Designing the Simulation. Software Subsystems. Software Interfaces. Start-up and Shutdown Processes. Error Handling. Building the Smart UPS Project. Running the Smart UPS Project. A Quick Tour of the Source. 12. Multitasking. Processes and Multiprocessing. Threads and Multithreading. Processes versus Threads. Scheduling. Round-Robin Scheduling. Task Priorities. vPriority Inversion. Deadlock. Starvation. Synchronization. Mutex Objects. Semaphore Objects. Event Objects. Interlocked Variable Access. Intertask Communication. Pipes. Message Queues. Shared Memory. Remote Procedure Calls. Interrupt Handling. Choosing an RTOS. Debugging. Threads in the Smart UPS Project. Starting a Thread. Controlling Thread Priority. Terminating a Thread. Writing ISRs. The Smart UPS Code. 13. Serial I/O. Fundamentals of Serial I/O. Baud Rate versus Bits Per Second. Asynchronous versus Synchronous Communications. Error Detection. Flow Control. Electrical Standards and Communication Protocols. The UART. Writing Serial Port ISRs. The RS-232C Serial Standard. Mechanical Specification. Electrical Specification. Functional Specification. Procedural Specification. Peripheral Serial Buses. Chip-to-Chip Serial Buses. Serial I/O in the Smart UPS. The 8250/16x50 UART Family. Initializing the Serial I/O Subsystem. Cleaning Up. The Serial I/O Thread. 14. A Network-Aware UPS. How the Network-Aware UPS Project Works. Designing the Simulation. Software Subsystems. Software Interfaces. Start-up and Shutdown Processes. Error Handling. Building the Network-Aware UPS Project. Running the Network-Aware UPS Project. A Quick Tour of the Source. 15. Networking. Networking Concepts. What Is a Network? Internetworks and the Internet. Network Technologies. Protocols. The ISO/OSI Network Design Model. Repeaters, Bridges, and Routers. Virtual Communication. Comparing Connection-Oriented and Connectionless Protocols. Comparing Reliable and Unreliable Protocols. The Client/Server Model. Networking in Embedded Systems. Selecting the Protocol Stack. Selecting a Network Technology. Selecting an Existing Implementation. Using Standard Application Protocols. Popular Network Architectures. Advantages of the TCP/IP Protocol Stack. The TCP/IP Network Implementation. Network Interface Layer. Internet Layer. Transport Layer. Application Layer. Network Programming for ETS Kernel. WinSock API. Building the Finger Server Project. Running the Finger Server Project. The Finger Server Code. 16. Connecting to the Web. HTTP In Embedded Applications. The HTTP Protocol. Web Browsers. Web Servers. URLs and URIs. HTTP Messages. Persistent Connections. Caching. Secure HTTP. HTML in Embedded Applications. Dynamic HTML. ETS Kernel HTTP Server. HTML-On-The-Fly in the Network-Aware UPS. 17. Java. A Language and a Platform. Platform Alternatives. Compiler Alternatives. Advantages for Embedded Development. Processor Independence. Object-Oriented Programming. Security and Secure Operations. Memory Management. Garbage Collection. Networking. Dynamic Configuration. Exception Handling. Threading. Graphics. Limitations of Java. Performance. Garbage Collection Overhead. JVM Overhead. Hardware Access. Language Immaturity. The Java-Enabled UPS. Building the Java-Enabled UPS Project. Running the Java-Enabled UPS Project. A Quick Tour of the Source. 18. Floating-Point Programming. Scientific Notation Terminology. Floating-Point Support on Embedded Systems. Floating-Point Data Formats. Exponent Format. Mantissa Format. Number Holes. Special Numbers. Floating-Point Hardware and Software. Hardware. Software. Why Use Floating-Point Emulation Software? A Bitmap Filter. How the Bitmap Filter Project Works. Building the Bitmap Filter Project. Running the Bitmap Filter Project. A Quick Tour of the Source. 19. Dynamic Link Libraries. What Is a DLL? Advantages of Using DLLs. Memory Requirements. System Upgrades. System Configuration and Customization. Disadvantages of Using DLLs. Using DLLs with ETS Kernel. The ENCDEC Project. Building the ENCDEC Project. Running the ENCDEC Project. A Quick Tour of the Source. 20. C++ Exceptions and Structured Exceptions. Benefits of Exception Handling. Exception Handling in Embedded Systems. Robust Code. Clean Code. C++ Exception Handling. Structured Exception Handling. Structured Exceptions in C. Structured Exceptions in C++. A Restartable UPS. Building the Restartable UPS Project. Running the Restartable UPS Project. A Quick Tour of the Source. 21. ROMing an Application. Using ROM in Embedded Systems. Types of ROM. Mask-Programmed and Fusible-Link ROMs. EPROMs. EEPROMs. Flash Memory. Programming PROMs. Device Programmers. Input Files for Device Programmers. In-Circuit Programmers. In-the-Field Software Updates. Debugging Programs in ROM. PC Boot Methods. Boot Jump ROM. BIOS Extension Boot. ROM-based File System Boot. ToolSuite Support for ROM. Appendix A. A Hardware Resource Guide. Appendix B. APIs. Appendix C. Configuring Serial Networking Connections for Windows. Appendix D. Development Methodologies for Real-Time and Embedded Systems. Index. 0201485400T04062001

About the Author :
Rick Grehan is a Software Engineer at Metrowerks, Inc., where he works in the Discover Products Group. Rick was formerly Senior Editor at Computer Design Magazine and Technical Editor and Lab Director at BYTE. Robert Moote is a cofounder of Phar Lap Software, Inc., and has more than twenty years of experience in the software industry. Robert has managed software development for PharLap, including the first two releases of Phar Lap's TNT Embedded ToolSuite. Ingo Cyliax is a Senior Hardware Engineer at Derivation Systems, Inc., a company specializing in formal synthesis. Ingo designs and implements embedded-systems-based products and prototypes. Ingo also writes the "Realtime PC" column for Circuit Cellar INK. 0201485400AB04062001


Best Sellers


Product Details
  • ISBN-13: 9780201485400
  • Publisher: Pearson Education (US)
  • Publisher Imprint: Addison Wesley
  • Height: 186 mm
  • No of Pages: 728
  • Sub Title: A Guide to 32-bit Embedded Development
  • Width: 234 mm
  • ISBN-10: 0201485400
  • Publisher Date: 12 Feb 1999
  • Binding: SA
  • Language: English
  • Spine Width: 32 mm
  • Weight: 1157 gr


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
Real-Time Programming: A Guide to 32-bit Embedded Development
Pearson Education (US) -
Real-Time Programming: A Guide to 32-bit Embedded Development
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

Real-Time Programming: A Guide to 32-bit Embedded Development

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    Fresh on the Shelf


    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!