Share via


Flash Driver PDD IOCTLs (Windows Embedded CE 6.0)

1/6/2010

The following table shows the flash driver PDD IOCTLs with a description of the purpose of each.

Programming element Description

IOCTL_FLASH_PDD_COPY_PHYSICAL_SECTORS

This IOCTL copies data from multiple source sectors to destination sectors.

IOCTL_FLASH_PDD_ERASE_BLOCKS

This IOCTL erases multiple, possibly noncontiguous, blocks.

IOCTL_FLASH_PDD_GET_BLOCK_STATUS

This IOCTL queries the status of a specific block.

IOCTL_FLASH_PDD_GET_IDENTITY_INFO

This IOCTL retrieves identity information for the flash part, such as the manufacturer ID and serial number.

IOCTL_FLASH_PDD_GET_LIFE_CYCLE_INFO

This IOCTL retrieves life cycle information for each of the flash regions, such as number of typical erases per block.

IOCTL_FLASH_PDD_GET_PHYSICAL_SECTOR_ADDRESS

This IOCTL retrieves the physical sector address. If XIP support is desired, then this IOCTL must be implemented.

IOCTL_FLASH_PDD_GET_REGION_COUNT

This IOCTL queries for the number of flash hardware regions.

IOCTL_FLASH_PDD_GET_REGION_INFO

This IOCTL retrieves region information from the flash platform dependent driver (PDD) and returns an array of FLASH_REGION_INFO structures, where each element of the array corresponds to a flash hardware region. Flash hardware regions have fixed physical block boundaries and may have different characteristics, such as sector size and block size.

IOCTL_FLASH_PDD_LOCK_BLOCKS

This IOCTL locks one or more contiguous ranges of physical blocks; such that block can not be unlocked without a power reset. If support for block locking is desired, then this IOCTL must be implemented.

IOCTL_FLASH_PDD_SET_BLOCK_STATUS

This IOCTL sets the status of a specific block.

IOCTL_FLASH_PDD_READ_PHYSICAL_SECTORS

This IOCTL reads data and/or spare area from multiple, possibly noncontiguous, sectors.

IOCTL_FLASH_PDD_WRITE_PHYSICAL_SECTORS

This IOCTL writes data and/or spare area to multiple, possibly noncontiguous, sectors.

See Also

Other Resources

Flash MDD and PDD Reference