ECP II - Section 7

Welcome to class!

This page contains supporting material for the first lecture of ECP II.

COURSE PREREQUISITES:  ECP I and C Programming II are prerequisites for this course.  If you have not taken ECP I, you MUST have instructor approval to take the course.  Contact the instructor if you have ANY doubts whether you have the prerequisites.  THIS IS NOT a C Programming course!  Students must already be capable of writing C programs in the desktop OS environment (Windoze or Linux).  You must be familiar with C through pointers, the 8051 architecture, assembly language and development tools BEFORE starting this course.  There is no time to “get up to speed” on those topics.  Students are expected to hit the ground running, and most will have completed ECP I immediately before taking this course.

You should VERIFY your prerequisite knowledge by answering these questions and verify you can do the following things before starting ECP II to be able to pass this course:

1.      What are the FIVE unique objects in the 8051 architecture that have the address 0x90?

2.      What is the difference between the MOV, MOVX and MOVC instructions?

3.      What is the difference between carry and overflow?

4.      You must be able to connect your SDK to a working COM port on your PC or a USB serial adapter, install and use a terminal emulator program such as MTTTY or Hyperterminal, configure the COM port to 9600 bps, N-8-1, edit the assembly language “hello” program, assemble the code, download the .hex file to your SDK, and run it with the either the Go or Execute command, and understand the difference between the two commands.

5.      You should be able to write 8051 assembly code to bit bang asynchronous serial characters on an output bit.

6.      You must have an 8051 based SDK that works with your PC, either rev C or rev D of the 8031SDK will work.  This SDK is provided to students who enroll in the ECP I “with SDK” sections.  Other 8051 based SDKs may also work, but will require significant extra effort on your part.  If you need to purchase an SDK, you may do so by paying $100 by check or PayPal. Send e-mail to 4info_AT_hte.com indicating how you would like to pay for and preferred shipping method if you need to obtain an SDK.


Notes and Handouts

Lecture Notes – For the first lecture in ECP II – go to the previous page and click on “section 8” for next week’s notes.

 

The first HOMEWORK is to install the tools, modify the “Hello” program to display “Hello <your name>” compile it using both compilers, download it to the SDK, run it and send an e-mail to ecp2_AT_hte.com indicating that you were successful.  A homework e-mail auto-responder will be announced via e-mail which will return the solutions to subsequent homework problems.

 

Now click on Get started! And download the Compilers and other tools needed for this class.

 


More Sample Code in C and Assembler:

ftp://ftp.hte.com/uconline/library/51apps/
ftp://ftp.hte.com/uconline/ecp/sdkcode/
C source in files *.c and headers in *.h,  Assembler files for Keil tools are in .a51, Assembler files for Metalink assembler are in *.asm

Return to Main ECP Web Page


If you have corrections, comments or suggestions about this page, email me at ecp2_AT_hte.com
This page last updated 12/21/2005.