=========================preview======================
(comp355)[2009](s)quiz2-sol~PPSpider^_10210.pdf
Back to COMP355 Login to download
======================================================
COMP 355 Embedded Systems Software
Spring Semester 2009
Quiz 2
Date: 03 Mar. 2009 Time: 9:00 am - 9:20 am (20 minutes)
Name:_____________________ Student ID: ________________Email:____________________
Instructions
1. Please write your name, student ID and email address on this page.

2. Please answer all the questions within the space provided on the examination paper. Use no more than two or three sentences each.

3. This quiz consists of 6 questions and is printed on both sides of the sheet.


Questions (Answer in one or two sentences each.)
1. (2 points) Why does the startup code need to copy the initialized data from ROM to RAM?
Initialized data values stored in ROM for permanent storage. Since these variables will be modified while the program is being executed, they need to be copied into RAM to enable modification. Shadowing.





2. (2 points) Can you name one disadvantage of loading the embedded code from ROM into RAM before execution (see p. 29)?.
Additional delay in copying the data to RAM before starting execution. Additional memory requirement, both ROM and RAM.







3. (2 points) Give one reason why you may not wish to have an Operating system in your embedded system.
For simple systems, the overhead due to OS functionality is excessive while not yielding any major benefit.






4. (3 points) What kind of ROM would you prefer to use in an embedded development board? Briefly justify your answer in one or two sentences.
Hybrid memory like EEPROM, Flash (1. pts) because we will be frequently modifying the memory image during the development and testing phase (1. pts).










5. (3 points) The Apple 3G Iphone pictured on p. 12 uses an Infineon digital baseband processor. Can you comment on the possible CPU architecture of this chip? Briefly justify your answer in one or two sentences.

Digital Signal Processor, Harvard Architecture (1. pts), Need the ability to process stream of data(1. pts).










6. (3 points) Linksys Inc. is designing a new generation of wireless access points with the flexibility of updating the built-in software through firmware upgrade. Which kind of memory would you use for this system and why? Do you think this device will need other kinds of memory, and for what purpose?

Flash memory. (1. pts).

RAM for program execution. (1. pts).