Instructor: Nachiket M. Kharalkar

E-mail: knachike(at)ece(dot)utexas(dot)edu

Office: ENS 619        Office Hours: M, W 2:30-3:30pm                  

Phone: 512-471-7323

 

Home

EE 319k Home

Grading Policy

Course Agenda

Lab Schedule

 

 

 

 

 

 

 

EE W319K Introduction to Microcontrollers, Summer 2007

 
Course Guidelines: This course has been designed exclusively with the help of Dr. Jonathan W. Valvano. All the course notes, laboratory assignments, exams etc. are based on his original EE319k course.     

Course Catalog Description: Basic computer structure; instruction set; addressing modes; assembly language programming; subroutines; arithmetic operations; programming in C; C functions; basic data structures; input/output; and survey of several microcontrollers.


Class: RLM 6.122, MWF 01:00-02:30PM

Office Hours: Monday, Wednesday 2:30-3:30pm


Unique Numbers:  77295 Th: 10-11:30am, 77300 F: 10-11:30am


Text: Introduction to Embedded Microcomputer Systems: Motorola 6811 and 6812 Simulation, Brooks-Cole 2002, by Jonathan W. Valvano


TA:  Robin Tsang (rtsang@ece.utexas.edu)

Reference materials: Data sheets for most of the devices used in this class are available as pdf files on the LRC network and on the CD. Please make sure you have access to the CPU12 instruction manual, either in print (from 2nd floor lab or in my office) or pdf form. Three good data sheets would be uploaded on blackboard.


Prerequisites: EE306 and EE312 with a grade of C or better. There will be no re-tests, make-ups, or incompletes.


Teaching Philosophy: I strongly encourage students to take an active role in this class.  Questions are welcome before, during and after class. Please feel free to email, visit or call me if you have questions.

Attendance: Students are expected to attend lectures. The book covers more information than the class and we will use lectures to map our way through the book. If you miss class you may find it difficult to catch up.

Should you buy a computer? Let it be perfectly clear that the following remarks are my personal opinion, and do not reflect an official position of the department, college, or university. I feel very strongly that you should have your own computer on which you develop your software and write your reports. I think both software development and report writing should be done without paper, pencil and erasers. Having a computer at home allows you to organize your information (files, directories etc.) as well as your schedule (allocate your software development time for that the time of day during which you are most creative and energetic.) Physiologically most people are more energetic in the morning. On the other hand, there are fewer distractions late at night.

Which computer should I buy? In EE319K, we write assembly language programs for the 6812 using a simulator which runs on an IBM-PC compatible running Windows 98, ME, or 2000. The software development system will run on most PC's. I think the more money you invest, the happier you'll be.

TEXAS.EXE The simulator application, called Test EXecute And Simulate, is not freeware, so please don't post it on the net or otherwise send it to others. On the other hand, Dr. Valvano grants EE319K students indefinite usage of the software, including installing one copy of the application. If you know of someone interested in the application have them contact Dr. Valvano directly. Please work through the tutorials and examples to bring you up to speed on the various aspects of the system. After installing the licensed version of TExaS that comes with the textbook, be sure to upgrade to the newest version (Please click here to upgrade TExaS to the latest version). If you are having trouble installing TExaS on Win XP, checkout a CD from the second floor (Version 1.31 or later).

Installing Metrowerks CodeWarrior Version 3.1 will compile programs we need for EE319K/EE345L/EE345M. For version 3.1 you should use their 12K free educational license. There is an installer for Version 3.1 on the CD accompanying the second edition of the EE345L/EE345M textbook. Follow these steps to install the Special edition of Metrowerks CodeWarrior Version 4.6 (32K free educational license for C code and assembly language programming)
1) http://www.freescale.com/
2) click "CodeWarrior Development Tools" under Products
3) click "HCS12(X)" under CodeWarrior Products
4) scroll down and click "CWX-H12SX-SE" labeled Special Edition Evaluation for CodeWarrior Development Studio for HCS12X Microcontrollers V4.6

OR CLICK HERE TO SKIP FIRST 3 STEPS


5) Register as a new user (if you have registered before, just log in)
email must be correct, decide whether or not you want email from Metrowerks
6) Fill in the page with "project details" stating you are a student taking a class, fill in all required fields

7) Download CW12_V4_6.exe (~343 MB) and install (the special edition does not require downloading a separate license)
8) Download instructions and starter projects from http://www.ece.utexas.edu/~valvano/metrowerks/

9S12C32 board information

Legal Stuff: The 4th class day is June 5th. After this date, I will sign a drop only if the Dean approves it. Your current grade status must be a "C" or better for you to receive a "Q". Course evaluation is conducted on the last class day in accordance with the Measurement and Evaluation Center form. The final exam is at the time and place stated in the course schedule. The University of Texas at Austin provides upon request appropriate academic adjustments for qualified students with disabilities. For more information, contact the Office of the Dean of Students with Disabilities at 471-6259, 471-4241 TDD.

Cheating: Cheating is very uncivilized behavior and is to be avoided at all cost. We will be using an automated system to check for software plagiarism, which includes a data base of previous semesters. You are allowed to talk to your classmates about the lab assignments, but you are NOT allowed to look at each other's written work. Oral discussion about an assignment is encouraged and is not considered to be cheating. Copying of any part of a program is cheating without explicit reference to its source. If we find two programs that are copied, there will be a substantial penalty to both students, e.g., failure in the course. Students who cheat on tests or in lab will fail. Prosecution of cases is very traumatic to both the student and instructor. It is appropriate to use software out of the book, off my CD, or from my website. PLEASE DO YOUR OWN WORK. Policies concerning the use of other people's software in this class:
    · I strongly encourage you to study existing software.
    · All applications and libraries must be legally obtained. E.g.,
        You may use libraries that came when you bought a compiler.
        You may use software obtained from a BBS or on the WWW.
        You may copy and paste from the existing source code.
    · You may use any existing source code that is clearly referenced and categorized:
        original: completely written by you,
        derived: fundamental approach is copied but it is your implementation,
        modified: source code significantly edited to serve your purpose,
        copied: source code includes minor modifications.


Curious about my research? See http://www.ece.utexas.edu/~knachike