SECTION 8.1: PIN DESCRIPTION OF THE 8051
1. A given AT89C51 chip has a speed of 16 MHz. What is the range of frequency that can be applied to the XTALl and XTAL2 pins?
2. Which pin is used to inform the 8051 that the on-chip ROM contains the program?
3. Upon power-up, the program counter (PC) has a value of ________
4. Upon power-up, the 8051 fetches the first opcode from ROM address location _______
5. Which 8051 port needs pull-up resistors to function as an I/0 port?
1. From Oto 16 MHz, but no more than 16 MHz
2. EA bar
3. PC= 0000
5. Port O
SECTION 8.2: DESIGN AND TEST OF DS89C4x0 TRAINER
1. True or false. The DS89C4x0 is an 8052 chip.
2. Which pin is used for reset?
3. What is the status of the reset pin when it is not activated?
4. What kind of ROM is used in the DS89C4x0 chip?
5. The loader for the DS89C4x0 works with the __________ (serial, parallel) port.
6. Give two reasons that the DS89C4x0 is preferable over 89C51 chips.
7. In the DS89C4x0 Trainer, what is the role of the Prog/Run switch?
8. What is the highest frequency that we can connect to the DS89C420/30?
9. True or false. The DS89C4x0 can download the file into its ROM only if it is in Intel hex file format.
10. Which command is used to erase the contents of ROM in the DS89C4x0 chip?
11. Which command is used to load the ROM in the DS89C4x0 chip?
12. Which command is used to dump the contents of ROM in the DS89C4x0 chip?
2. Pin 9
(a) It comes with a loader inside the chip
(b) it has two serial ports
7. The SW allows to load the program or to run it.
SECTION 8.3: EXPLAINING THE INTEL HEX FILE
1. True or false. The Intel hex file uses the checksum byte method to ensure data integrity.
2. The first byte of a line in the Intel hex file represents _________
3. The last byte of a line in the Intel hex file represents __________
4. In the TT field of the Intel hex file, we have 00. What does it indicate?
5. Find the checksum byte for the following values: 22H, 76H, SFH, 8CH, 99H.
6. In Question 5, add all the values and the checksum byte. What do you get?
2. The number of bytes of data in the line
3. Checksum byte
4. 00 means this is not the last line and there are more lines of data to be followed.
5. 22H + 76H + 5FH +SCH+ 99H = 21CH.
Dropping the carries we have lCH and its 2's complement is E4H.
6. 22H + 76H + 5FH + SCH + 99H + E4 = 300H.
Dropping the carries we have 00, which means data is not corrupted
Post a Comment