EE4380 Microprocessor Design Project

Similar documents
8051 Interfacing: Address Map Generation

V8-uRISC 8-bit RISC Microprocessor AllianceCORE Facts Core Specifics VAutomation, Inc. Supported Devices/Resources Remaining I/O CLBs

The Microcontroller. Lecture Set 3. Major Microcontroller Families. Example Microcontroller Families Cont. Example Microcontroller Families

Summer 2003 Lecture 21 07/15/03

Usb Universal In-circuit Programmer Pic Avr Arm Msp 8051 Eeprom

)8-,768'HY.LW 2YHUYLHZ. )XMLWVX0LNURHOHNWURQLN*PE+ Am Siebenstein Dreieich-Buchschlag, Germany

The MC9S12 address, data and control buses The MC9S12 single-chip mode memory map Simplified write/read cycle. Address, Data and Control Buses

BUILDING BLOCKS OF A BASIC MICROPROCESSOR. Part 1 PowerPoint Format of Lecture 3 of Book

Configurable Embedded Systems: Using Programmable Logic to Compress Embedded System Design Cycles

MT2 Introduction Embedded Systems. MT2.1 Mechatronic systems

Microprocessors/Microcontrollers

ELEG3923 Microprocessor Ch.0 & Ch.1 Introduction to Microcontroller

Embedded Systems Lab Lab 1 Introduction to Microcontrollers Eng. Dalia A. Awad

EMBEDDED SYSTEMS COURSE CURRICULUM

Computer Hardware Requirements for ERTSs: Microprocessors & Microcontrollers


HandsOn Technology -- HT-MC-02 MODEL: HT-MC-02

Lecture Objectives. Introduction to Computing Chapter 0. Topics. Numbering Systems 04/09/2017

Memory & Simple I/O Interfacing

Microcomputer Architecture and Programming

ECE3120: Computer Systems Hardware & Software Development Tools

Figure 1.1: Some embedded device. In this course we shall learn microcontroller and FPGA based embedded system.

1. INTRODUCTION TO MICROPROCESSOR AND MICROCOMPUTER ARCHITECTURE:

Lab 16: Data Busses, Tri-State Outputs and Memory

Evolution of Implementation Technologies. ECE 4211/5211 Rapid Prototyping with FPGAs. Gate Array Technology (IBM s) Programmable Logic

ericssonz LBI-38616B MAINTENANCE MANUAL FOR MTD TM SERIES AND DATA RADIO LOGIC BOARD 19D902151G3 DESCRIPTION CIRCUIT ANALYSIS TABLE OF CONTENTS

8051 Microcontroller

The 9S12 in Expanded Mode - Using MSI logic to build ports Huang Chapter 14

EB-51 Low-Cost Emulator

END-TERM EXAMINATION

ELCT708 MicroLab Session #1 Introduction to Embedded Systems and Microcontrollers. Eng. Salma Hesham

8051 MICROCONTROLLERS

Chapter 2 Logic Gates and Introduction to Computer Architecture

Embedded Systems Design (630414) Lecture 1 Introduction to Embedded Systems Prof. Kasim M. Al-Aubidy Computer Eng. Dept.

The Microcontroller Idea Book

Computer Organization and Microprocessors SYLLABUS CHAPTER - 1 : BASIC STRUCTURE OF COMPUTERS CHAPTER - 3 : THE MEMORY SYSTEM

Digital Design with FPGAs. By Neeraj Kulkarni

The MC9S12 in Expanded Mode Using MSI logic to build ports Using MSI logic to build an output port Using MSI logic to build an input port

Typical applications where a CPLD may be the best design approach:

AT89S8252 Development Board V1.0. Manual

FPGA for Dummies. Introduc)on to Programmable Logic

DIY KIT 123. ATMEL 89xxxx PROGRAMMER

FPGA Programming Technology

CEIBO FE-51RD2 Development System

SYLLABUS UNIT - I 8086/8088 ARCHITECTURE AND INSTRUCTION SET

EE 3170 Microcontroller Applications

Lab Manual for COE 203: Digital Design Lab

PIC Microcontroller Introduction

AT89 Series Development. Tools Support Family In-Circuit Emulator

The industrial technology is rapidly moving towards ARM based solutions. Keeping this in mind, we are providing a Embedded ARM Training Suite.

Keywords Digital IC tester, Microcontroller AT89S52

University of Alexandria Faculty of Engineering Division of Communications & Electronics

Control System Implementation

_ V Intel 8085 Family In-Circuit Emulation. Contents. Technical Notes

DS-251 In-Circuit Emulator

Choosing a Micro for an Embedded System Application

Programming in the MAXQ environment

Digital Integrated Circuits

Principles of Digital Techniques PDT (17320) Assignment No State advantages of digital system over analog system.

COMP2121: Microprocessors and Interfacing. Introduction to Microprocessors

Design Methodologies. Full-Custom Design

Somes French translations :

PIC Microcontroller and

CORRIGENDUM ISSUED FOR NATIONAL COMPETITIVE BIDDING UNDER TEQIP PHASE-II

Electronic Control systems are also: Members of the Mechatronic Systems. Control System Implementation. Printed Circuit Boards (PCBs) - #1

Memory and Programmable Logic

Microcontrollers. Microcontroller

The Xilinx XC6200 chip, the software tools and the board development tools

University of Florida EEL 4744 Fall 1998 Dr. Eric M. Schwartz

Design Methodologies and Tools. Full-Custom Design

HANSABA COLLEGE OF ENGINEERING & TECHNOLOGY (098) SUBJECT: DIGITAL ELECTRONICS ( ) Assignment

Introduction to general architectures of 8 and 16 bit micro-processor and micro-controllers

Using MSI Logic To Build An Output Port

PART 1 : MR-162. PART 2 : CPU Board. PART 3 : Software Tools. PART 4 : Compile and Download. 1. Introduction 2. Features

Lab #2: Building the System

Injntu.com Injntu.com Injntu.com R16

Microprocessor Architecture. mywbut.com 1

Microprocessor Systems

DoCD IP Core. DCD on Chip Debug System v. 6.02

Understanding the basic building blocks of a microcontroller device in general. Knows the terminologies like embedded and external memory devices,

CONTENTS CHAPTER 1: NUMBER SYSTEM. Foreword...(vii) Preface... (ix) Acknowledgement... (xi) About the Author...(xxiii)

Trends in Prototyping Systems. ni logic Pvt. Ltd., Pune, India

Unit 6 1.Random Access Memory (RAM) Chapter 3 Combinational Logic Design 2.Programmable Logic

University of California at Berkeley College of Engineering Department of Electrical Engineering and Computer Sciences. EECS 150 Spring 2000

PINE TRAINING ACADEMY

StrongARM** SA-110/21285 Evaluation Board

MEMORY AND PROGRAMMABLE LOGIC

PROGRAMMABLE MODULES SPECIFICATION OF PROGRAMMABLE COMBINATIONAL AND SEQUENTIAL MODULES

CROSSWARE 7 V8051NT Virtual Workshop for Windows. q Significantly reduces software development timescales

ECE 353 Lab 4. General MIDI Explorer. Professor Daniel Holcomb Fall 2015

FPGA for Complex System Implementation. National Chiao Tung University Chun-Jen Tsai 04/14/2011

Embedded World Television, Radio, CD player, Washing Machine Microwave Oven Card readers, Palm devices

Chapter 5 Embedded Soft Core Processors

An Introduction to Programmable Logic

Rapidly Developing Embedded Systems Using Configurable Processors

The Atmel ATmega328P Microcontroller

ACADEMIC YEAR PLANNING - F.Y.J.C. ( ) F.Y.J.C. COMPUTER SCIENCE (Theory)

Module I. Microcontroller can be classified on the basis of their bits processed like 8bit MC, 16bit MC.

Microcontroller Systems. ELET 3232 Topic 11: General Memory Interfacing

Allmost all systems contain two main types of memory :

Transcription:

EE4380 Microprocessor Design Project Fall 2002 Class 1 Pari vallal Kannan Center for Integrated Circuits and Systems University of Texas at Dallas

Introduction What is a Microcontroller? Microcontroller Vs Microprocessor Level of Integration Cost Processor, memory, timer, UART, I/O ports etc System cost, per unit cost Application domain General purpose Vs specialized System design Issues 22-Aug-02 2

Embedded Systems Do one specialized task Efficiently Cost effective manner Microcontroller based system + Software Embedded software Usually small code footprint Assembly Language everywhere RTOS and HLLs are available Need special tools for development, debugging etc 22-Aug-02 3

Embedded Systems (contd.) Embedded system design is unique Normal software design usually targets fixed hardware gcc, gdb, gprof and you are (usually) done! Both hardware and software have to be engineered together Engineering decisions: Hardware/Software partitioning (open problem) Device/Peripheral selection (memory size, vendor etc) Software development environment 22-Aug-02 4

Embedded Systems Design Styles Full Manual Design hardware and software manually Vendor tool assisted flow Sophisticated (high $) CAD tools HLL compilers Simulators, source level debuggers, ICE etc Major engineering decisions are still manual Fully Automated Flow Wish list item #1 22-Aug-02 5

Review of Logic Circuits Hex system 1000 1010 0011 1111b = 8A3FH Hex arithmetic needed to calculate jump addresses Hex addition Simple TBT addition with 1 carry for every 16 Hex subtraction If subtrahend smaller than minuend then simple TBT subtraction Else, swap and then find 2 s complement of result 22-Aug-02 6

Review of Logic Circuits (contd.) Logic gates For loose random logic Inverter, AND, OR, XOR, NAND, NOR, Tri-state buffer Decoders Used for address decoding Sequential elements Used for demuxing address/data lines, latches etc Flip-flops, latches Edge and level triggered Discrete components TTL devices (74xxx series), CMOS devices (CD4000, 74C etc) Linear devices (Op-amps, regulators, etc) 22-Aug-02 7

Review of Logic Circuits (contd.) Common use of a decoder - Address generation Common use of a latch - Bus Demuxing ALE A0 A Y0 Device 1 AD0 A0 A1 A2 B C CE ADDRESS = 0H AD1 AD2 AD3 74LS573 A1 A2 A3 Y7 CE Device 2 D0 D1 74LS138 ADDRESS = 7H D2 D3 22-Aug-02 8

Digital Systems Controller path and Data path Controller controls the datapath at specific control points in the datapath Controllers are Finite State Machines (FSM) Controllers can be designed up from scratch or use a Microprocessor / Microcontroller Microprocessor based digital system controller design is essentially creating the software Microprocessors can also do some of the datapath s functions ALU units, IO units, special units for comm, dsp, etc 22-Aug-02 9

Digital Systems (contd.) Controller and Datapath Illustration External Control Lines Input Control Inputs Controller Datapath Output Status / Feedback 22-Aug-02 10

Overview of the 8051 Family One of the oldest (Intel MCS-51 in 1981) and probably the most popular microcontroller. Many derivatives are marketed by a number of vendors Common features, 8-bit processor 4 I/O ports each 8bits wide max of 64K on-chip ROM (usually 0k to 4k) max of 64K external data memory max of 64K external code memory 2 timers, one serial port 128 bytes of on-chip RAM various speeds from 12MHz Clones may have different on-chip memory, timers etc 22-Aug-02 11

8051 Block Diagram 22-Aug-02 12

8051 Pinout Diagram From Intel 87C51 datasheet DIP package Data lines and lower 8 address lines are muxed Two ports P0 and P2 are used by AD buses Clones may not be pin compatible 22-Aug-02 13

Some 8051 clones 8031 No on-chip ROM 8751 With on-chip EPROM 8052 8051 with 128 bytes extra IRAM, extra 16 bit timer, additional SFRs to use the timer Atmel AT89C51 With on-chip Flash ROM Dallas Semicondustor DS5000 On-chip NV-RAM and In system programmable via serial-port Philips Corp. 8051 cores from FPGA vendors Xilinx, Altera, etc 8051 with programmable logic Triscend etc 22-Aug-02 14

8051 Development System Components of a dev. System PCB board with microprocessor, memory, peripherals, I/O etc Development software Assemblers, compilers, debuggers, monitors, emulators, communication software, drivers Usually supplied by the vendor. Free and Open-source tools are also available. Common Features HW Prototyping facilities (free ports, address spaces, connectors, etc) Software design and testing Software download onto the dev. System and debugging Interface the Dev. System with a host PC for download and debugging 22-Aug-02 15

8051 Dev. System Paulmon System Easy to use Low-cost 8051 dev. System 87C52 at 22 MHz, 50 IO lines, LCD interface, 32K RAM, 30K Flash, Paulmon2 monitor, two serial ports, 8 LEDs Hardware prototyping area AS31 assembler, SDCC C compiler Source code available for monitor Complete Schematic available From: http://www.pjrc.com/tech/8051/board4/index.html 22-Aug-02 16

8051 Dev. System - Monitor Think Mini Operating System Runs at startup (power-on) Provides a serial comm link to a Host PC. Terminal emulators (hyperterminal, minicom, seyon etc) can be used to talk with the monitor Provides facilities to download code and execute it Provides debugging facilities Has many functions that can be called by user programs as sub-routines Makes embedded system (HW and SW) design very easy and quick. 22-Aug-02 17

8051 Dev. System Home Brew Breadboard or Wire-wrap designs DS 5000 in system programmable Need only a crystal and a RS232 interface (MAX232) At power-on talks to Host PC and code can be downloaded Atmel 89C51(52) and other Flash based clones Reprogram with your code any number of times using a PROM programmer Design and etch your own PCB Use Flash based or ISP or Use external (E)EPROM Program the (E)EPROM with your code, using a PROM programmer. 22-Aug-02 18

Class-1 : Review What is an embedded system? Difference between Microprocessor and Microcontroller? What is embedded system design? How is microprocessor related to digital system design? What is an 8051? What is an 8051 development system? What are its components/features? What is a monitor? Why do you need it? How to home-brew an 8051 development system? 22-Aug-02 19

Class 1 : Thanks 22-Aug-02 20