Features of flash memory Flashcards
Features of flash memory
- Solid state storage
- Data is non-volatile
- Fast access memory
- Stored as series of logic gates
Description of ROM
- Read only memory
- Memory that stores data that cannot be altered, such as boot up instructions. In an embedded system it can store all program instructions.
- ROM is non-volatile(data is not lost when device has no power)
Description of flash memory
Limited number of read/writes
Examples of primary memory
- RAM
- ROM
- Cache
Benefits of flash memory
- No moving parts; therefore durable(not easily damaged)
- Fast access speed(lets devices access and store data more quickly)
- Reliable (data loss is unlikely)
- Small physical size (can fit inside other small devices)
Purpose and features of cache
- Primary memory
- Stores frequently used instructions so they are faster to access next time
- The larger the cache, the faster the CPU can access frequently used data
Execute stage of FDE
*Execute / carry out the instructions
Description of primary memory
- Memory directly accessed bu the processor
* Also known as main memory
Description of RAM
- Random-access memory
- Memory that stores currently running data, programs, and currently used parts of the operating system
- RAM is volatile (data is lost when device has no power)
Use of flash memory
- Small, portable devices (e.g. mobile phones, satnavs devices that need fast read/write speed)
- Transfer data from one place another, e.g. memory stick/card, SSD
- Can also be used in ROM
RAM vs ROM
*RAM is volatile (data is lost when turned off);ROM is non-volatile (data is not lost when turned off)
*RAM can be changed;
ROM cannot be changed
Drawbacks of an embedded system
Cannot be updated / very difficult to update and to fix errors
Purpose of range check
Make sure the data entered is in the correct format, e.g. dd/mm/yyyy
Methods of defensive design
- Validation
- Planning for contingencies
- Anticipating misuse
- Authentication
Purpose of formation check
Make sure the data is within the set bounds