Group #6 External Memory Manuel Franco Maria P Gil Palacios Luis Guerrero Jose Iraheta Wilder Saint...

56
Group #6 External Memory Manuel Franco Maria P Gil Palacios Luis Guerrero Jose Iraheta Wilder Saint - Hillarie

Transcript of Group #6 External Memory Manuel Franco Maria P Gil Palacios Luis Guerrero Jose Iraheta Wilder Saint...

Page 1: Group #6 External Memory Manuel Franco Maria P Gil Palacios Luis Guerrero Jose Iraheta Wilder Saint - Hillarie.

Group #6External Memory

Manuel FrancoMaria P Gil Palacios

Luis GuerreroJose Iraheta

Wilder Saint - Hillarie

Page 2: Group #6 External Memory Manuel Franco Maria P Gil Palacios Luis Guerrero Jose Iraheta Wilder Saint - Hillarie.

2

Flo

rida

Inte

rnat

ional

Univ

ersi

ty

Read Mechanism

• Data is retrieved from the disk via a conducting coil called the head.

• The read head has a MR sensor which has an electrical resistance that depends on the direction of the magnetization of the disk under it.

Page 3: Group #6 External Memory Manuel Franco Maria P Gil Palacios Luis Guerrero Jose Iraheta Wilder Saint - Hillarie.

3

Flo

rida

Inte

rnat

ional

Univ

ersi

ty

Write Mechanism

• The write also has it’s respective head, although it is possible for the sharing of read and write heads.

• Exploits the fact that electricity flowing through coil produces a magnetic field.

• Electric pulses are sent to the write head, and the resulting magnetic patterns are recorded on the disk below.

Page 4: Group #6 External Memory Manuel Franco Maria P Gil Palacios Luis Guerrero Jose Iraheta Wilder Saint - Hillarie.

4

Flo

rida

Inte

rnat

ional

Univ

ersi

ty

Data Organization

• How it’s Done:

– This is basically fitting as much data as reasonably possible on a disk.

– The disk will have many tracks which are rings of space around the center.

– Data are transferred to and from the disk in sectors. Each track will have hundreds of sectors.

– Each adjacent track on a ring has a gap in between to avoid errors in reading each track.

Page 5: Group #6 External Memory Manuel Franco Maria P Gil Palacios Luis Guerrero Jose Iraheta Wilder Saint - Hillarie.

5

Flo

rida

Inte

rnat

ional

Univ

ersi

ty

Data Organization

• Data disk layout:

Page 6: Group #6 External Memory Manuel Franco Maria P Gil Palacios Luis Guerrero Jose Iraheta Wilder Saint - Hillarie.

6

Flo

rida

Inte

rnat

ional

Univ

ersi

ty

Formatting

• Prepares the disk for use.

• Formatting will embed the specifications of the disk on itself so it can be read effectively.

• Remember that the head won’t know where to start and end each track if it isn’t “told”.

Page 7: Group #6 External Memory Manuel Franco Maria P Gil Palacios Luis Guerrero Jose Iraheta Wilder Saint - Hillarie.

7

Flo

rida

Inte

rnat

ional

Univ

ersi

ty

Physical Characteristics

• Head Motion:– Fixed Motion:

• One read-write head per track• Very rare today

– Movable Head:• One read-write head• Arm can be extended or retracted to position the

head

Page 8: Group #6 External Memory Manuel Franco Maria P Gil Palacios Luis Guerrero Jose Iraheta Wilder Saint - Hillarie.

8

Flo

rida

Inte

rnat

ional

Univ

ersi

ty

Physical Characteristics

• Disk portability:– Nonremovable Disk:

• Permanently mounted in the disk drive• Example: hard disk in a personal computer

– Removable Disk:• Can be removed and replaced with another

one• Examples: floppy disks and ZIP cartridge disks

Page 9: Group #6 External Memory Manuel Franco Maria P Gil Palacios Luis Guerrero Jose Iraheta Wilder Saint - Hillarie.

9

Flo

rida

Inte

rnat

ional

Univ

ersi

ty

Physical Characteristics

• Sides:– Double Sided:

• Magnetizable coating applied to both sides

– Single Sided:• Magnetizable coating only on one side• Less expensive than double sided

Page 10: Group #6 External Memory Manuel Franco Maria P Gil Palacios Luis Guerrero Jose Iraheta Wilder Saint - Hillarie.

10

Flo

rida

Inte

rnat

ional

Univ

ersi

ty

Physical Characteristics

• Platters:– Single Platter:

– Multiple Platters:• Stacked vertically

Page 11: Group #6 External Memory Manuel Franco Maria P Gil Palacios Luis Guerrero Jose Iraheta Wilder Saint - Hillarie.

11

Flo

rida

Inte

rnat

ional

Univ

ersi

ty

Physical Characteristics

Page 12: Group #6 External Memory Manuel Franco Maria P Gil Palacios Luis Guerrero Jose Iraheta Wilder Saint - Hillarie.

12

Flo

rida

Inte

rnat

ional

Univ

ersi

ty

Physical Characteristics

• Movable head• One read-write head per platter surface• Heads have same distance from the center• Cylinder: set of all the tracks at equal distance

from the center of the disk– Reduction of head movement– Increase of speed (transfer rate)

Page 13: Group #6 External Memory Manuel Franco Maria P Gil Palacios Luis Guerrero Jose Iraheta Wilder Saint - Hillarie.

13

Flo

rida

Inte

rnat

ional

Univ

ersi

ty

Physical Characteristics

Page 14: Group #6 External Memory Manuel Franco Maria P Gil Palacios Luis Guerrero Jose Iraheta Wilder Saint - Hillarie.

14

Flo

rida

Inte

rnat

ional

Univ

ersi

ty

Physical Characteristics

• Head Mechanism:– Fixed gap

• Read-write head has fixed distance above platter

– Contact (floppy)• There is physical contact with the medium during

the read or write operation• Small, flexible, and the cheapest of the disks

– Winchester• Heads in sealed drive, free of contaminants• Greater data density (closer to disk’s surface)

Page 15: Group #6 External Memory Manuel Franco Maria P Gil Palacios Luis Guerrero Jose Iraheta Wilder Saint - Hillarie.

15

Flo

rida

Inte

rnat

ional

Univ

ersi

ty

Disk Performance Parameters

Diagram of a disk I/O transfer

Page 16: Group #6 External Memory Manuel Franco Maria P Gil Palacios Luis Guerrero Jose Iraheta Wilder Saint - Hillarie.

16

Flo

rida

Inte

rnat

ional

Univ

ersi

ty

Disk Performance Parameters

• Track selection:– Movable-head system:

• Moving head

– Fixed-head system:• Electronically

Page 17: Group #6 External Memory Manuel Franco Maria P Gil Palacios Luis Guerrero Jose Iraheta Wilder Saint - Hillarie.

17

Flo

rida

Inte

rnat

ional

Univ

ersi

ty

Disk Performance Parameters

• Total average access time:

Ta=Ts+(1/2r)+(b/rN)

Where r: rotation speed

b: number of bytes to be transferred

N: number bytes of a track

Ts: seek time

Page 18: Group #6 External Memory Manuel Franco Maria P Gil Palacios Luis Guerrero Jose Iraheta Wilder Saint - Hillarie.

18

Flo

rida

Inte

rnat

ional

Univ

ersi

ty

Disk Performance Parameters

• Total average access time:

Ta=Ts+(1/2r)+(b/rN)

– Access time: seek time plus rotational delay• Ts: average seek time (to position head at track)• Rotational delay: time to reach the head for the

beginning of the sector

– Transfer time: data transfer (read or write)

Page 19: Group #6 External Memory Manuel Franco Maria P Gil Palacios Luis Guerrero Jose Iraheta Wilder Saint - Hillarie.

19

Flo

rida

Inte

rnat

ional

Univ

ersi

ty

Disk Performance Parameters

• Conclusions:– Order of reading sectors is important to

I/O operations.• Sequential organization is faster than random

– The way of reading or writing multiple sectors can be controlled.

– There can be I/O requests competing for the same disk.

Page 20: Group #6 External Memory Manuel Franco Maria P Gil Palacios Luis Guerrero Jose Iraheta Wilder Saint - Hillarie.

20

Flo

rida

Inte

rnat

ional

Univ

ersi

ty

Compact Disk

• Introduced in 1983• Low-cost disk storage technology• Six optical disk systems

Page 21: Group #6 External Memory Manuel Franco Maria P Gil Palacios Luis Guerrero Jose Iraheta Wilder Saint - Hillarie.

21

Flo

rida

Inte

rnat

ional

Univ

ersi

ty

Optical Disk Products

• CD• CD-ROM• CD-R• CD-RW• DVD• DVD-R• DVD-RW

Page 22: Group #6 External Memory Manuel Franco Maria P Gil Palacios Luis Guerrero Jose Iraheta Wilder Saint - Hillarie.

22

Flo

rida

Inte

rnat

ional

Univ

ersi

tyCD-ROM

• Rugged• Error correction devices• Composition• Information retrieval• Pits and lands

Page 23: Group #6 External Memory Manuel Franco Maria P Gil Palacios Luis Guerrero Jose Iraheta Wilder Saint - Hillarie.

23

Flo

rida

Inte

rnat

ional

Univ

ersi

ty

CD-ROM Advantages/Disadvantages

• Inexpensive replication• Removable• Longer access time• Not capable of being updated

Page 24: Group #6 External Memory Manuel Franco Maria P Gil Palacios Luis Guerrero Jose Iraheta Wilder Saint - Hillarie.

24

Flo

rida

Inte

rnat

ional

Univ

ersi

tyCD-R

• Prepared differently• Information is recorded differently

Page 25: Group #6 External Memory Manuel Franco Maria P Gil Palacios Luis Guerrero Jose Iraheta Wilder Saint - Hillarie.

25

Flo

rida

Inte

rnat

ional

Univ

ersi

tyCD-RW

• Capability• Method• Process• Advantage/disadvantage

Page 26: Group #6 External Memory Manuel Franco Maria P Gil Palacios Luis Guerrero Jose Iraheta Wilder Saint - Hillarie.

26

Flo

rida

Inte

rnat

ional

Univ

ersi

tyDVD

• Replaced VHS analog video tape• Disk space• 3 major differences between CDs

Page 27: Group #6 External Memory Manuel Franco Maria P Gil Palacios Luis Guerrero Jose Iraheta Wilder Saint - Hillarie.

A little history about your USB

Memory stick

Started with something like this….

Page 28: Group #6 External Memory Manuel Franco Maria P Gil Palacios Luis Guerrero Jose Iraheta Wilder Saint - Hillarie.

28

Flo

rida

Inte

rnat

ional

Univ

ersi

tyHISTORY

First commercial product • Trek Technology and IBM began selling

the first USB flash drives commercially in 2000.

• IBM marketed the first such drives in North America, with its product the "DiskOnKey" (which was manufactured by the Israeli company M-Systems).

Page 29: Group #6 External Memory Manuel Franco Maria P Gil Palacios Luis Guerrero Jose Iraheta Wilder Saint - Hillarie.

29

Flo

rida

Inte

rnat

ional

Univ

ersi

ty • IBM's USB flash drive became available December 15, 2000, and had a storage capacity of 8 MB, more than five times the capacity of the commonly used floppy disks.

Old 16MB IBM DiskOnKey flash drives.

Page 30: Group #6 External Memory Manuel Franco Maria P Gil Palacios Luis Guerrero Jose Iraheta Wilder Saint - Hillarie.

30

Flo

rida

Inte

rnat

ional

Univ

ersi

ty • In 2004 Trek Technology brought several lawsuits against other USB flash drive manufacturers and distributors in an attempt to assert its patent rights to the USB flash drive. A court in Singapore ordered competitors to cease selling similar products that would be covered by Trek's patent, but a court in the United Kingdom revoked one of Trek's patents in that country.

Page 31: Group #6 External Memory Manuel Franco Maria P Gil Palacios Luis Guerrero Jose Iraheta Wilder Saint - Hillarie.

31

Flo

rida

Inte

rnat

ional

Univ

ersi

ty

Second Generation…

Page 32: Group #6 External Memory Manuel Franco Maria P Gil Palacios Luis Guerrero Jose Iraheta Wilder Saint - Hillarie.

32

Flo

rida

Inte

rnat

ional

Univ

ersi

ty

• Modern flash drives have USB 2.0 connectivity.

• they do not currently use the full 480 Mb/s (60MB/s) the USB 2.0 Hi-Speed specification supports.

• The fastest drives currently available use a dual channel controller

Page 33: Group #6 External Memory Manuel Franco Maria P Gil Palacios Luis Guerrero Jose Iraheta Wilder Saint - Hillarie.

33

Flo

rida

Inte

rnat

ional

Univ

ersi

ty

• overall file transfer speeds vary considerably, and should be checked before purchase.

• Speeds may be given in Mbyte per second, Mbit per second, or optical drive multipliers such as "180X”.

• Typical fast drives claim to read at up to 30 megabytes/s (MB/s) and write at about half that.

Page 34: Group #6 External Memory Manuel Franco Maria P Gil Palacios Luis Guerrero Jose Iraheta Wilder Saint - Hillarie.

USB Memory Sticks’ Types and Varieties

Page 35: Group #6 External Memory Manuel Franco Maria P Gil Palacios Luis Guerrero Jose Iraheta Wilder Saint - Hillarie.

Essential components

Page 36: Group #6 External Memory Manuel Franco Maria P Gil Palacios Luis Guerrero Jose Iraheta Wilder Saint - Hillarie.

36

Flo

rida

Inte

rnat

ional

Univ

ersi

ty • There are typically four parts to a flash drive:

• 1- Male type-A USB connector – provides an interface to the host computer.

• 2- USB mass storage controller – implements the USB host controller. The controller contains a small microcontroller with a small amount of on-chip ROM and RAM.

Page 37: Group #6 External Memory Manuel Franco Maria P Gil Palacios Luis Guerrero Jose Iraheta Wilder Saint - Hillarie.

37

Flo

rida

Inte

rnat

ional

Univ

ersi

ty

• 3- NAND flash memory chip – stores data. NAND flash is typically also used in digital cameras.

• 4- Crystal oscillator – produces the device's main 12 MHz clock signal and controls the device's data output through a phase-locked loop.

Page 38: Group #6 External Memory Manuel Franco Maria P Gil Palacios Luis Guerrero Jose Iraheta Wilder Saint - Hillarie.

38

Flo

rida

Inte

rnat

ional

Univ

ersi

ty

Page 39: Group #6 External Memory Manuel Franco Maria P Gil Palacios Luis Guerrero Jose Iraheta Wilder Saint - Hillarie.

39

Flo

rida

Inte

rnat

ional

Univ

ersi

ty

Additional components

• Jumpers and test pins.• Bunch of LEDs.• Write-protect switches.• Unpopulated space.• USB connector cover or cap.• Transport aid.• expandable storage via an internal

memory card slot.

Page 40: Group #6 External Memory Manuel Franco Maria P Gil Palacios Luis Guerrero Jose Iraheta Wilder Saint - Hillarie.

Size and style of packaging

Page 41: Group #6 External Memory Manuel Franco Maria P Gil Palacios Luis Guerrero Jose Iraheta Wilder Saint - Hillarie.

41

Flo

rida

Inte

rnat

ional

Univ

ersi

ty

Housing

• Some manufacturers differentiate their products by using elaborate housings.

• USB flash drives have been integrated into other commonly-carried items such as watches, pens, and even the Swiss Army Knife.

• others have been fitted with novelty cases such as toy cars or LEGO bricks.

Page 42: Group #6 External Memory Manuel Franco Maria P Gil Palacios Luis Guerrero Jose Iraheta Wilder Saint - Hillarie.

42

Flo

rida

Inte

rnat

ional

Univ

ersi

ty

• Heavy or bulky flash drive packaging can make for unreliable operation when plugged directly into a USB port; this can be relieved by a USB extension cable.

Page 43: Group #6 External Memory Manuel Franco Maria P Gil Palacios Luis Guerrero Jose Iraheta Wilder Saint - Hillarie.

Examples… =D

Page 44: Group #6 External Memory Manuel Franco Maria P Gil Palacios Luis Guerrero Jose Iraheta Wilder Saint - Hillarie.

44

Flo

rida

Inte

rnat

ional

Univ

ersi

ty

Page 45: Group #6 External Memory Manuel Franco Maria P Gil Palacios Luis Guerrero Jose Iraheta Wilder Saint - Hillarie.

45

Flo

rida

Inte

rnat

ional

Univ

ersi

ty

Page 46: Group #6 External Memory Manuel Franco Maria P Gil Palacios Luis Guerrero Jose Iraheta Wilder Saint - Hillarie.

46

Flo

rida

Inte

rnat

ional

Univ

ersi

tyUSB Flash Drive

• A USB flash drive consists of a NAND-type flash memory storage device integrated with a USB.

• Flash memory uses the advantage of recent advances in microprocessor technology.

• Memory is based on EPROM (Erasable Programmable Read-Only Memory) and EEPROM technologies.

• EEPROMs were developed that broke the erasure region into smaller sections.

• High-speed serial data interfaces made memory systems with serially accessed storage viable.

Page 47: Group #6 External Memory Manuel Franco Maria P Gil Palacios Luis Guerrero Jose Iraheta Wilder Saint - Hillarie.

47

Flo

rida

Inte

rnat

ional

Univ

ersi

tyUSB Flash Drive

• USB connector• USB mass storage

controller device• Test points• Flash Memory Chip• Crystal Oscillator• LED• Write-Protect Switch• Space for second flash

memory chip

Page 48: Group #6 External Memory Manuel Franco Maria P Gil Palacios Luis Guerrero Jose Iraheta Wilder Saint - Hillarie.

48

Flo

rida

Inte

rnat

ional

Univ

ersi

tyFile System

• Most flash drives ship preformatted with the FAT (File Allocation Table) or FAT 32 file system.

• FAT maintenance utilities can be used.

• Flash drives file system can be changed to that of the operating system.

• Flash drives can be defragmented, but this brings little advantage.

• Flash Drives can be partitioned.

Page 49: Group #6 External Memory Manuel Franco Maria P Gil Palacios Luis Guerrero Jose Iraheta Wilder Saint - Hillarie.

49

Flo

rida

Inte

rnat

ional

Univ

ersi

tyUses

• Personal data transport

• Application carriers

• Booting operating systems

• Audio players

• Backup

Page 50: Group #6 External Memory Manuel Franco Maria P Gil Palacios Luis Guerrero Jose Iraheta Wilder Saint - Hillarie.

50

Flo

rida

Inte

rnat

ional

Univ

ersi

tyAdvantages

• Flash drives are mechanically very robust.

• Compared to hard drives, flash drives use little power.

• Most modern operating systems can read and write to flash drives without installing drivers.

• Flash drives are resistant to a wide range of temperatures.

Page 51: Group #6 External Memory Manuel Franco Maria P Gil Palacios Luis Guerrero Jose Iraheta Wilder Saint - Hillarie.

51

Flo

rida

Inte

rnat

ional

Univ

ersi

tyDisadvantages

• Flash drives can sustain only a limited number of write and erase cycles.

• Most USB flash drives do not include a write-protect mechanism.

• Their small size makes it easy to misplace them.

• USB flash drives have a high price per unit of storage.

Page 52: Group #6 External Memory Manuel Franco Maria P Gil Palacios Luis Guerrero Jose Iraheta Wilder Saint - Hillarie.

52

Flo

rida

Inte

rnat

ional

Univ

ersi

ty

Questions

1. What are the two main operations done with memory?

2. What two phenomena do magnetic disks make use of to function?

3. According to disk portability, which are the two types of disks?

4. What are the two components of the access time?

5. What are pits? Lands?

6. What are the 6 optical disk products?

Page 53: Group #6 External Memory Manuel Franco Maria P Gil Palacios Luis Guerrero Jose Iraheta Wilder Saint - Hillarie.

53

Flo

rida

Inte

rnat

ional

Univ

ersi

ty

Questions

7. Name one of the essential components of a flash drive

8. For the second generation of USB flash drives, what type of connectivity do they have?

9. What type of memory storage device is used in USB flash drives?

10. Memory on a USB Flash drive is based on what type of technology?

Page 54: Group #6 External Memory Manuel Franco Maria P Gil Palacios Luis Guerrero Jose Iraheta Wilder Saint - Hillarie.

54

Flo

rida

Inte

rnat

ional

Univ

ersi

ty

Answers

1. Read and write

2. Electricity and Magnetism

3. Nonremovable disk and removable disk.

4. The seek time and the rotational delay.

5. Pits are digitally recorded information imprinted on the surface of the disk. Lands are the areas between the pits

6. cd/cd-rom, cd-r, cd-rw, dvd, dvd-r, dvd-rw

Page 55: Group #6 External Memory Manuel Franco Maria P Gil Palacios Luis Guerrero Jose Iraheta Wilder Saint - Hillarie.

55

Flo

rida

Inte

rnat

ional

Univ

ersi

ty

Answers

7. USB connector, mass storage controller device, test point, flash memory chip, crystal oscillator, LED

8. USB 2.0 connectivity

9. NAND-type flash memory

10. Electrically Erasable Programmable Read-Only Memory

(EEPROM).

Page 56: Group #6 External Memory Manuel Franco Maria P Gil Palacios Luis Guerrero Jose Iraheta Wilder Saint - Hillarie.

56

Flo

rida

Inte

rnat

ional

Univ

ersi

ty

Bibliography

• www.wikipedia.com• www.howstuffworks.com• www.cs.jhu.edu• www.computerhope.com• www.articlesbase.com