VIRTUTECH CONFIDENTIAL    Previous - Up - Next

flash-memory

Provided by
flash-memory
Class Hierarchy
conf-objectlog-objectflash-memory
Interfaces Implemented
log_object, translate, io_memory
Description
This model is deprecated. If you want to create new flash-memory objects, use generic-flash-memory instead.

Attributes

Attributes inherited from class conf-object
attributes, classname, component, iface, name, object_id, queue
Attributes inherited from class log-object
access_count, log_buffer, log_buffer_last, log_buffer_size, log_group_mask, log_groups, log_level, log_type_mask
Attribute List
accept_inquiries
Optional attribute; read/write access; type: Integer.

If 1, the flash device will handled inquiries as normal accesses. If 0, it will ignore them.

amd_any_cmd_address
Optional attribute; read/write access; type: Integer.

Should be set to 1 for AMD devices that ignore the address offset for commands.

amd_compatible
Optional attribute; read/write access; type: unknown type.

Set to 1 if the flash memory supports the AMD command interface.

bus_width
Optional attribute; read/write access; type: Integer.

Bus width (in bytes)

cfi_compatible
Optional attribute; read/write access; type: unknown type.

Set to 1 if the flash memory supports the common flash interface (CFI).

cfi_query
Optional attribute; read/write access; type: unknown type.

The data structure (as a byte array) that will be read on CFI "query" operations.

command_set
Optional attribute; read/write access; type: i|s.

Command set as specified by the JEDEC standard. Either a number (such as 0x0001) or a string (such as "intel/sharp extended").

current_address
Optional attribute; read/write access; type: Integer.

Current address in pending write/erase operations.

current_count
Optional attribute; read/write access; type: Integer.

Current byte/word count in pending write/erase operations.

device_id
Optional attribute; read/write access; type: unknown type.

Device ID

intel_compatible
Optional attribute; read/write access; type: unknown type.

Set to 1 for Intel compatible devices (means that the device supports an Intel command set, and that the CFI query command isn't address sensitive).

interleave
Optional attribute; read/write access; type: Integer.

Interleave (number of parallel flash memory chips).

jedec_compatible
Optional attribute; read/write access; type: unknown type.

Set to 1 if the flash memory is JEDEC compatible.

mode
Optional attribute; read/write access; type: unknown type.

Internal state - the current operation mode.

reset
Pseudo attribute; write-only access; type: Integer.

Set to 1 in order to reset the device.

sector_size
Optional attribute; read/write access; type: unknown type.

Sector size (applicable to AMD compatible devices).

sectors
Optional attribute; read/write access; type: unknown type.

Number of sectors (applicable to AMD compatible devices).

storage_ram
Required attribute; read/write access; type: Object.

RAM object providing the backing store area.

vendor_id
Optional attribute; read/write access; type: unknown type.

Vendor ID

write_buffer
Optional attribute; read/write access; type: Data.

Data in a pending write-to-buffer operation.

Command List

Commands defined by interface log_object
log, log-group, log-level, log-size, log-type

VIRTUTECH CONFIDENTIAL    Previous - Up - Next