CS452 - Real-Time Programming - Spring 2009
Lecture 2 - Introduction
Practical Details
- Web pages
- Newsgroup
- Assignment 1
Assignment 1
Overall System
CSCF
- Linux systems
- cross compiler: runs on 86_64, produces code for ARM
- GNU toolchain: compiler, assembler, link editor
- need to login explicitly to
linux.student.cs
- TFTP servers
- need to type IP number explicitly
TS-7200
`COM' ports
Connected to UARTs
Only really two
Ethernet port
Reset switch
Timers
EP-9302
System on chip
- ARM 920T core, implementing ARM v4T instruction set
- Two co-processors
- System controller, MMU
- Maverick Crunch floating point unit
- Peripherals
- UARTs
- Timers
- DIO
- A/D
- etc.
Memory
Byte addressable, word size 32 bits
- 32 Mbytes of RAM, starting at 0x00000000
- 4 Mbytes of flash RAM, starting at 0x60000000
- Special locations at low addresses
- Special locations above 0x80000000
Separate instruction and data caches
ARM 920T
`T' means `thumb'
Features
Software
Compiler
GNU tool chain
- optimizing is usually a bad idea
- software multiplication, division, floating point from libgcc.a
- Makefile
- target.ld
RedBoot
Partial implementation
- fconfig :: NOT
- load (tftp)
- examine, copy, fill memory
Returns when program terminates
Busy-wait IO
COM2 uses monitor; COM1 goes to train
- initialization
- output
- input
Return to: