CEG2400 Microcomputer Systems
Lecture Notes
- Week 1 - Introduction (pdf,
ppt)
- Week 2 - Memory and ARM basics (pdf,
ppt)
- Week 3 - ARM Assembly language programming (pdf,
ppt)
and ARM instructions (pdf,
ppt)
- Week 4 - Driving loads (pdf,
ppt)
- Week 5 - Hardware initialization plus programming examples(pdf,
ppt)
- Week 6 - Midterm on Mon (in Science Center L1) and
Higher level constructs (pdf,
ppt)
- Week 7 - Interrupts (pdf,
ppt)
- Week 8 - More Interrupts (revision)(pdf,
ppt)
- Week 9 - Passing Parameters and C (pdf,
ppt)
- Week 10 - Subroutine Calls, DMA and ARM Architecture (pdf,
ppt)
- Week 11 - Thumb Mode and Case Studies (pdf,
ppt)
- Week 12 - Buses and Memory (pdf,
ppt)
- Week 13 - Buses (pdf,
ppt)
- Week 14 - Revision
(ppt)
Note ppts are only available from CUHK (i.e. 137.189.x.x IPs).
References
All of the references required for this course are available online:
If you want to buy a book on the ARM processor to supplement this
material, an excellent one is Furber, "ARM System-on-Chip Architecture,"
Addison-Wesley 2000 (ISBN 0201675196). The other reference book that you
might like to refer to is Hamacher, Vranesic and Zaky, "Computer
Organization," McGraw Hill 2002 (ISBN 0072320869).
Software
- We will be using the Keil uVision development kit. Visit the Keil LPC2131 website
- Notes on configuring Keil uVision and downloading and running programs here
- Here is a first assembly language program, Hello World. You will need the startup code astartup.s and the main program
ahello.s
- This is an armasm listing astartup.lst
- Here is an interrupt version of the hello world program. You will need the startup code astartup.s and the main program
( buggy version , working version )
Tutorials