This guide helps readers acquire fundamental microcontroller-associated programming skills using both the C programming language and assembly language. Explains the functional hardware components of a microcontroller and helps readers gain the skills needed to interface various external devices with microcontrollers. Demonstrates the basics of system level programming through the advanced topics of real-time operating systems to distributed processing. Utilizes extensive tutorial information and numerous examples. Introduces structured systems design concepts early in the book. Reviews the C programming language, structured programming languages, and the 68HC12 microprocessor. Includes a detailed discussion of RTOS issues and multiprocessor systems. A useful reference for practicing engineers.
"synopsis" may belong to another edition of this title.
Designed for a senior- or graduate-level embedded systems design course, Embedded Systems Design and Applications with the 68HC12 and HCS12 introduces readers to unique issues associated with designing, testing, integrating, and implementing microcontroller/microprocessor-based embedded systems.
The book presents proven techniques for successful completion of design projects and has been designed to teach the reader the following:
For the Instructor. Extensive teaching material is available, including solutions to all homework problems, presentation slides, sample code, sample syllabi, and sample laboratory exercises.Excerpt. © Reprinted by permission. All rights reserved.:
Early in 2002 our first book The 68HC12 Microcontroller: Theory and Application was published by Prentice Hall. Our objectives for this text were threefold: (1) to present fundamental assembly-language programming skills, (2) to illustrate the functional hardware components of a microcontroller, and (3) to present the skills needed to interface a variety of external devices with microcontrollers. We used an autonomous mobile robot as the target system to illustrate how the subsystems of an embedded controller work together to perform a variety of tasks and meet system requirements.
Our second book on embedded controller systems, Embedded Systems Design and Applications with the 68HC12 and the HCS12, picks up where the first left off. Our overall approach on this project has been to develop a tutorial, standalone text on embedded system design. We guide the reader from the basics of system-level programming through the advanced topics of real-time operating systems to distributed processing. Rather than jump into the "deep end of the pool," we begin with a tutorial on systems design concepts and programming in C. We then move on to specific discussions on the hardware subsystems aboard the 68HC 12/HCS 12 microcontroller. In these early chapters we are providing a walk-before-run philosophy. We have assumed that the reader has a fundamental but basic background in microprocessor hardware and software concepts. We feel this is an appropriate assumption since the target audience of the book is a college student enrolled in a second course on embedded system design. The tutorial topics in the beginning chapters can be skipped by practicing engineers; however, we have met many engineers who insist on having books that contain such tutorial topics.
With this stage complete, we then transition into multiple examples of embedded controller systems. The examples have been chosen to expose the reader to a wide variety of input and output devices in a system setting. The last portion of the book deals with the advanced concepts of embedded systems programming—real-time operating systems (RTOS) and multiple processors. We tackle these more difficult concepts only after we have developed a sound background in systems design and microprocessor systems.
We have several objectives for writing this book. We want the reader to learn (1) fundamental programming skills using both the C programming language and assembly language for microcontroller-based embedded systems, (2) methodical procedures for designing embedded controller based systems, (3) functional hardware components of a microcontroller, (4) skills to interface a variety of external devices with microcontrollers to construct embedded systems, and (5) skills and procedures to tackle the toughest embedded controller system issues—real-time operating systems and multiprocessor systems. The entire book is designed with these objectives in mind. Our motivation to write this book stems from the reality that there is no comprehensive 68HC 12/HCS 12 microcontroller textbook that teaches students how to design and program the embedded systems using microcontrollers.
We take a very hands-on approach with extensive tutorial information and numerous examples. Based on real-world applications, these examples address concerns such as microcontroller top-down/bottom-up implementation system design skills, noise and timing considerations, and troubleshooting techniques. The book provides a thorough review of C, structured programming techniques, the 68HC12/HCS12 microprocessor, detailed discussions of RTOS issues, multiprocessor systems, and many cases that illustrate embedded system design concepts.
Early in the book we introduce the reader to structured systems design concepts. Using this top-down, functional decomposition design approach, the students should be able to tackle any design problems associated with complex embedded controller systems. We review some of the basic tenets of this systematic design approach described by Meilir Page-Jones in his classic book The Practical Guide to Structured Systems Design. These techniques work equally well for software, hardware, or software/hardware designs often encountered in embedded systems. Once these concepts are presented, we use them extensively throughout the remainder of the book.
FLOW OF THE BOOK
In organizing each chapter, we gave a great deal of consideration to the order and the means of subject presentations. Each chapter starts with a list of chapter objectives to give the reader a clear purpose for reading the entire chapter. A brief introduction follows, which describes the contents of the chapter. After the main concepts of a chapter are presented, a particular application will be chosen to illustrate the key points in the chapter.
In Chapter 1 we introduce the concept of an embedded system and the special challenges involved in designing and implementing embedded controller-based systems. Chapter 2 introduces the advantages of programming in a high-level language (HLL). We provide a balanced trade-off discussion of programming with an HLL versus an, assembly language. We then demonstrate that embedded system programs may contain a mixture of both. We discuss the key concepts of structured programming that allow large projects to be subdivided into more manageable "bite-size" pieces. We then apply these concepts to system design, implementation, and testing. We get comfortable with these concepts and practices on simple systems before applying them to more complex ones.
In Chapter 3 we discuss the software compilation/assembly process accompanied by a thorough review of C programming concepts. We finish the chapter with a review of programming and debugging tools. In our software discussions we purposely steer clear of any compiler specific details. There are many good compilers available for the 68HC121HCS12. In Chapter 4 we review the hardware for the 68HC12/HCS12 microcontroller and its associated subsystems. We then apply these subsystem descriptions to real-world applications.
In Chapter 5 we explore the fundamentals of interfacing different hardware components to the controller. We begin with fundamental interfaces to switches and indicators and finish the chapter with some advanced applications involving liquid crystal displays (LCDs). Chapter 6 extends these interface concepts to real-world implementation issues. This chapter contains topics that separate a theoretical embedded controller design from one that works in the real world. Each topic is first defined and then followed by methods to alleviate corresponding problems, in a practical design.
In Chapter 7 we tie the 68HC 12/HCS 12 systems together to create real-world systems. In each detailed example, we provide a thorough project description, a project structure chart, and the code required to implement the system. We have carefully chosen the applications to exercise all systems aboard the 68HC 12/HCS12 processor. In Chapter 8 we investigate the advanced concept of real-time operating systems. We begin with the basic definitions associated with an RTOS and then proceed to discuss how to design such a system. We then review issues associated with implementing an RTOS. We assume the reader has no experience or background with these potentially complex systems.
Chapter 9 investigates distributed processing systems. These include systems containing more than one microprocessor. We investigate techniques and methods to link processors into a cohesive system using the built-in CAN controller of the 68HC12/HCS12 microprocessor.
In addition to the contents of the book, we have prepared and maintain an accompanying textbook Web site at www.prenhall.com/pack. This Web site contains the current errata sheet and appendices for the book covering 68HC 12/HCS 12 instruction sets, 68HC 12/HCS 12 register sets, header files for example C programs, information on a variety of variants of the 68HC12 and the HCS12 microcontrollers, and 68HC 12/HCS 12 hardware and software support resources. For instructors, the Web site also contains additional instructional materials including sample syllabi, PowerPoint© lecture slides, and directions on how to order the solutions manual that provides detailed solutions to all chapter homework problems.
THE TARGET SYSTEMS: THE M68EVB912B32 EVB AND THE MCSS120P2568 PROCESSOR-BASED EVB
To illuminate system concepts discussed in Chapters 1-9 we have provided multiple examples. The examples have been written for two sample systems, or targets: the M68EVB912B32 Evaluation Board (1332 EVB) and the MC9S12DP256 or DP256. We have chosen to use the B32 EVB for its widespread availability, moderate price, and—most importantly—its many useful features. The EVB is equipped with an RS-232C interface, single power supply operation, easy access to controller pins via four header pin groups, and a prototype area for application-specific hardware. The EVB is also equipped with extensive memory features, including a 32 Kbyte flash electrically erasable programmable read-only memory (EEPROM) for program memory, 1 Kbyte of static random access memory (RAM), and 768 bytes of byte-erasable EEPROM for storing system data. Resident within flash memory is the D-Bug12 monitor/debugger program. We discuss these features in great detail in Chapter 4. The B32 is an excellent teaching tool but it can also be used to rapidly prototype an embedded controller system product.
Readers who choose not to use the B32 EVB, should realize that most of the concepts presented throughout the book also apply to other variants of the 68HC12 and the HCS 12. Since the underlying concepts and functional components of different types of microcontrollers are very similar to each other, the acquired knowledge of the 68HC 12/HCS 12 can naturally be applied to other microprocessors and microcontrollers. In Chapters 7 and 9 we use the MC9S12DP256 processor. This HCS12 configuration has a 256 Kbyte flash memory and several msCAN controller area network channels. It is also equipped with a large RAM complement. There are several evaluation boards based on the DP256 processor.
The main audience of this book is university students enrolled in electrical/computer engineering microcontroller courses. Since all ABET (Accreditation Board for Engineering and Technology, Inc.) accredited electrical/computer engineering programs require such courses, we expect this book will be received enthusiastically by instructors who teach such courses. We expect students to have taken an introductory logic course and a first-year programming language course. Having taken a computer language course will help students to understand program examples. We expect students with a minimal exposure to computer programming will follow the text subjects without too much trouble. Ideally, students will have completed an introductory microprocessor course. However, due to the tutorial nature of the text, students should be able to fill in knowledge gaps where necessary.
Specifically, this book is targeted for a second semester microprocessor/ microcontroller course in an electrical and computer engineering curriculum. Different schools offer their microprocessor course in different stages of student development. Our students take a basic digital-design course during their sophomore year. They then take the first microprocessor course as a junior or senior. The second microprocessor course would then be taken during the senior year or as a graduate student. We believe that the book will continue where a typical first microprocessor course would leave off.
We wrote this book for use as the textbook for college microprocessor courses. However, we believe the tutorial nature of our presentation will allow practicing engineers to learn the subject on their own. We believe that knowledge of embedded systems should be required for all electrical and computer engineering students as we live in a society where more and more engineering problems are solved by embedded systems. We foresee the scope of applications for embedded systems expanding as products require increasingly sophisticated local intelligence.
"About this title" may belong to another edition of this title.
Book Description Softcover. Book Condition: New. 1st edition. Brand NEW, Paperback International Edition. Black & White or color, Cover and ISBN may be different but similar contents as US editions. Standard delivery takes 5-9 business days by USPS with tracking number. Choose expedited shipping for superfast delivery 2-4 business days by DHL/FEDEX. We also ship to PO Box addresses but by Standard delivery. International Edition Textbooks may bear a label -Not for sale in the U.S. or Canada- etc. printed only to discourage U.S. students from obtaining an affordable copy. Legal to use despite any disclaimer on cover as per US court. No access code or CD included unless specified. In some instances, the international textbooks may have different exercises at the end of the chapters. Printed in English. We may ship the books from multiple warehouses across the globe, including India depending upon the availability of inventory storage. 100% Customer satisfaction guaranteed! Please feel free to contact us for any queries. Bookseller Inventory # LPBD31426681
Book Description Book Condition: Brand New. PAPERBACK,Book Condition New, International Edition. We Do not Ship APO FPO AND PO BOX. Cover Image & ISBN may be different from US edition but contents as US Edition. Printing in English language.NO CD AND ACCESS CODE. Quick delivery by USPS/UPS/DHL/FEDEX/ARAMEX ,Customer satisfaction guaranteed. We may ship the books from Asian regions for inventory purpose. Bookseller Inventory # ABEADH*##2524
Book Description Pearson. PAPERBACK. Book Condition: New. 0131401416 New ,International edition , softcover ,Same text as US edition , ISBN /Cover may be different , Ready to ship, 5-8 business days worldwide delivery. Bookseller Inventory # INFFGC1572
Book Description Softcover. Book Condition: Brand New. .. Black & White or color International Edition. ISBN and front cover may be different, but contents are same as the US edition. Book printed in English. Territorial restrictions may be printed on the book. GET IT FAST within 3-5 business days by DHL/FedEx/Aramex and tracking number will be uploaded into your order page within 24-48 hours. Kindly provide day time phone number in order to ensure smooth delivery. No shipping to PO BOX, APO, FPO addresses. 100% Customer satisfaction guaranteed!. . Bookseller Inventory # UBS04259
Book Description Book Condition: New. New. International edition. Different ISBN and Cover image but contents are same as US edition. Perfect condition. Customer satisfaction our priority. Bookseller Inventory # ABE-FEB-134270
Book Description Book Condition: Brand New. New. SoftCover International edition. Different ISBN and Cover image but contents are same as US edition. Customer Satisfaction guaranteed!!. Bookseller Inventory # SHUB134270
Book Description Paperback. Book Condition: New. Softcover Book, New Condition, Fast Shipping. Ready in Stock. 1st Edition. [Please Read Carefully Before Buying], This Is An International Edition. Printed In Black and White. , Book Cover And ISBN No May Be Different From US Edition. Restricted Sales Disclaimer Wordings Not For Sales In USA And Canada May Be Printed On The Cover Of The Book. Standard Shipping 7-14 Business Days. Expedited Shiping 4-8 Business Days. ***WE DO NOT ENTERTAIN BULK ORDERS.*** The Books May Be Ship From Overseas For Inventory Purpose. Bookseller Inventory # 432042
Book Description Paperback. Book Condition: NEW. This is an International Edition. Brand New Paperback- Same Title Author and Edition as listed. ISBN and Cover design differs. Similar Contents as U.S Edition. Delivery within 3-7 business days ACROSS THE GLOBE. We can ship to PO Box address in US. International Edition Textbooks may bear a label "Not for sale in the U.S. or Canada" or "For sale in Asia only" or similar restrictions- printed only to discourage students from obtaining an affordable copy. US Court has asserted your right to buy and use International edition. Access code/CD may not provided with these editions. We may ship the books from multiple warehouses across the globe including Asia depending upon the availability of inventory. Printed in English. Customer satisfaction guaranteed. Choose expedited shipping for Express delivery. Tracking number provided for every order. Bookseller Inventory # RU_9780131401419
Book Description Paperback. Book Condition: New. New, Softcover International Edition, Printed in Black and White, Only USPS Media mail Shipping ONLY, Different ISBN, Same Content As US edition, Book Cover may be Different, in English Language. Bookseller Inventory # 2515
Book Description Book Condition: New. Brand New Paperback International Edition.We Ship to PO BOX Address also. EXPEDITED shipping option also available for faster delivery. Bookseller Inventory # AUSBNEW-7490