ECE 493T9 Real Time Embedded System Tutorial Set 2 May 26, Spring 2008. Here is your TA. Scott Chen Office Hour: Monday 4:00pm to 5:00pm @ EIT 3136 Contact: [email protected] Assignment: UW-ACE Drop Box (Hardcopy) End of Tutorial (Softcopy).
4) Find out the method of initializing all the design-required modules on the microcontroller.
5) Find out the proper ways to interact with the external ICs with your microcontroller.Above 2 steps gives you the Initialization Routine. (In C and / or Assembly)
6) Convert each of your logic block into procedural threads / subroutines, and combine them into RTOS or your own Assembly or C main routine. == Programming Complete
Starting step 2, you should have the following things ALWAYS sitting on your workbench:
a) Your microcontroller user manual
b) Data sheet of all the external ICs you need
c) Instruction manual
d) ANSI-C Referenece Handbook
e) Customized C IDE manual
You need a) and b) in order to understand the entire hardware platform you have, thereby enabling you to program with c), d), and e).
Ex: Zilog eZ80 family has a specialized extended 16-bit addressing mode, enabling the 8-bit processor to manage a larger memory map.