3.1-Hardware-Storage-Devices-Notes-by-EMK
3.1-Hardware-Storage-Devices-Notes-by-EMK
Objective:
Show understanding of need for primary memory, secondary (including removable) storage.
Describe principal operations of hardware devices Including: hard disk, solid state (flash)
memory, optical disc reader/writer.
Explain differences between RAM and ROM. Including their use in a range of devices.
Explain differences between SRAM and DRAM. Include their use in range of devices and
systems and reasons for using one instead of other depending on device and its use.
Explain difference between Programmable ROM (PROM), Erasable Programmable ROM
(EPROM) and Electrically Erasable Programmable ROM (EEPROM).
Show understanding of embedded systems, benefits and drawbacks of embedded systems.
Show understanding of the use of buffers.
Storage Devices
A storage device is a piece of computer equipment that is used to store information and data.
➢ It is an integral part of computer hardware, without which a computer would not be
able to run or even boot up.
➢ Storage devices can hold and store information both temporarily and permanently.
➢ They can be internal or external to a computer, server, or computing device.
➢ Storage needs to be larger than internal memory since user may wish to store large
files.
➢ Storage devices can be removable to allow data to be transferred between computers.
Removable devices allow user to store important data for back up in different location
in case of data loss.
➢ Examples of storage devices include hard disks, CDs, DVDs, pen/flash drives, SSDs, and
cloud storage.
Types of Storage Devices
Types of computer memory: Primary memory, Secondary memory.
Cache Memory is external to processor, this is used to store data which processor will
probably need to use again. Cache memory has faster access speed than that of main
memory. It is built using SRAM technology
3. Erasable PROM (EPROM) use floating gate transistors and capacitors rather
than fuses. It can be re-written using ultra violet light multiple times. EPROM
needs to be removed from device to erased /written again. EPROM must be
entirely erased before rewriting.
EPROM are used in applications which are under development, such as
programming of new games consoles.
4. Electrically Erasable PROM (EEPROM). It can be re-written and erased using
electricity voltage. This has major advantage that chip can remain in circuit
while contents are changed. However, chip is still used as read-only.
Differences between RAM and ROM
RAM ROM
Temporary memory device Permanent memory device
Volatile memory Non-volatile memory device
RAM allows you to both read and write You cannot write to ROM, you can only read
data. from it.
Used to store data, files, programs, part of Used to store BIOS and other data needed
OS currently in use. at start up.
Can be increased in size to improve
operational speed of a computer.
Data is stored on surface in sectors and tracks. A sector on a given track will contain a
fixed number of bytes.
Hard disk drives have very slow data access when compared to RAM.
Effect of Latency:
Latency is defined as time taken by a block in a sector to rotate around
to read-write head.
Many applications require read-write heads to constantly seek for correct blocks of
data; this means a large number of head movements. Effects of latency then become
very significant.
Users will notice effect of latency when they see messages such as, ‘Please wait’ or, at
its worst, ‘not responding’.
Hard Disk Fragmentation:
When data is stored on HDD. Required number of sectors
needed to store that data will be allocated. However, sectors allocated may not be
adjacent to each other. Through time, HDD will undergo numerous deletions and
editing, which leads to sectors becoming increasingly fragmented, resulting in a
gradual decline of HDD performance (it takes longer and longer to access data).
Defragmentation software can improve on this situation by ‘tidying up’ disk sectors.
HDD is a direct access device; however, data in a given sector will be read sequentially.
Removable hard disk drives are external to computer and can be connected to
computer using USB ports. They can be used as back-up devices or as another way of
transferring files between computers.
Solid State drives SSD have no moving parts and all data is retrieved at same
(SSD)
rate. They do not rely on magnetic properties. Data is stored as 0s and 1s in millions of
tiny transistors within chip. SSD is non-volatile rewritable memory
Types of Solid State devices:
❖ NAND base Solid State memory chips:
This type of Solid State drives Store data by controlling
movement of electrons within NAND chips. Millions of transistors are used
floating gate and control gate. NAND base memory chips Read or erase blocks
of data which means access is to a block not to individual bits.
NAND chips are used due to its low cost. NAND base memory chips is used in
SSD, flash memory / pin drives, memory cards.
❖ NOR base Solid State Memory Chips:
It is more expensive and slower to read / write data but its
life is more and data is accessible at bit level. Data can be read or erased in a
single byte at a time. Data is accessible at bit / byte level so it is more useful in
designing processors memory. It use electronically erasable PROM (EEPROM)
technology. It is used in computer ROM.
Benefits of using SSD rather than HDD:
Solid state drives
are more reliable as there is no moving parts.
are considerably lighter (which makes them suitable for laptops)
have a lower power consumption
run much cooler than HDDs
are very thin (because they have no moving parts)
access data considerably faster
Drawback of SSD:
Main drawback of SSD is longevity of technology. Most solid state
storage devices are conservatively rated at only 20 GB write operations per day over a
three-year period – this is known as SSD endurance. For this reason, SSD technology is
not used in servers where huge number of write operations take place every day.
Optical Media
CDs and DVDS are optical storage devices.
Red Laser light is used to read data from, and write data onto, surface of a disk. Both
CDs and DVDs use a thin layer of metal alloy or light-sensitive organic dye to store
data. Both CD/DVD use a single, spiral track which runs from centre of disk to edge.
When a disk spins, optical head moves to point where laser beam ‘contacts’ the disk
surface and follows the spiral track from the centre outwards.
CD/DVD is divided into sectors allowing direct access of data. Data is stored in ‘pits’
and ‘Land’ on spiral track.
When laser shines on disc surface, lands (bumps) reflect light back, whereas pits
scatter laser beam. A sensor looks for reflected light. Reflected light - land - represents
a binary '1', and no reflection - pits - represents a binary '0'
DVD technology is different to that used in CDs. One of main differences is use of dual
layering which considerably increases storage capacity. This means that there are two
individual recording layers. Two layers of DVD are joined together with a transparent
polycarbonate spacer, and a very thin reflector is sandwiched between two layers.
Reading and writing of second layer is done by a red laser.
Single layer DVDs still have a larger storage capacity than CDs because ‘pit’ size and
track width are both smaller. This means that more data can be stored on DVD
surface. DVDs use lasers with a wavelength of 650 nanometres; CDs use lasers with a
wavelength of 780 nanometres. Shorter the wavelength of laser light, Greater the
storage capacity of the medium.
Blu-ray Discs Blu-ray discs are example of optical storage media.
• Blu-ray uses a blue laser, rather than a red laser, to carry out read and write
operations; wavelength of blue light is only 405 nanometres.
• Using blue laser light means that the ‘pits’ and ‘lands’ can be much smaller;
consequently, a Blu-ray can store up to five times more data than a DVD.
• Blu-ray discs automatically come with a secure encryption system which helps to
prevent piracy and copyright infringement.
Optical storage media are used as back-up systems (for photos, music and multimedia files).
This also means that CDs and DVDs can be used to transfer files between computers.
Manufacturers supply their software (such as printer drivers) on CDs and DVDs.
Embedded Systems
Embedded systems involve installing microprocessors into devices to enable
operations to be controlled in a more efficient way. Devices such as cookers,
refrigerators and central heating systems can all be activated by a web-enabled device
(such as a mobile phone ). Time a central heating system switches on or off and
temperature can all be set from an app on a mobile phone from anywhere.
Features of embedded systems: 9618 P12 OCT 23
Dedicated to a single task // limited number of functions
Built into a larger system // integrated into a larger system
Embedded system must contain a processor, memory and an I/O capability.
Pros Of Embedded Systems Cons Of Embedded Systems
Small in size and therefore easy to fit into Difficult to upgrade devices to take
devices advantage of new technology
Relatively low cost to make Troubleshooting faults in the device
becomes a specialist task
Usually dedicated to one task and no Any device that can be accessed over
requirement of an operating system internet is also open to hackers, viruses,
and so on
Consume very little power Due to difficulty in upgrading and fault
finding, devices are often just thrown
away rather than being repaired.
ESQ: Many modern televisions are examples of embedded systems.
(a) Explain why these televisions are embedded systems.
Ans: Embedded system is integrated into the TV • combination of hardware and
software designed for a specific function • The system is not easily changed/updated
by the TV owner.
(b) Embedded systems use Electrically Erasable Programmable ROM (EEPROM).
It is a temporary storage created for data transmitted from one part of system to
another which functions as a queue.
Whenever data has to be transferred from one part of a computer system to another,
problem occurs if data can be sent more quickly than it can be received.
Solution to the problem is to use a buffer. Data enters a buffer before being
transmitted to its destination. Buffer functions as a queue so data emerges in order
that it has entered buffer. Typically, buffer is created in computer memory.
Trends in factors affecting the choice of memory components
************