Events generated by File System - NAND Flash Translation Layer functions. More...
Functions | |
__STATIC_INLINE void | EvrFsNFTL_Init (uint32_t instance) |
Event on NFTL initialization (Op) | |
__STATIC_INLINE void | EvrFsNFTL_InitMediaFailed (uint32_t instance) |
Event on NFTL memory media initialization error (Error) | |
__STATIC_INLINE void | EvrFsNFTL_Mount (uint32_t instance) |
Event on NFTL mount (Op) | |
__STATIC_INLINE void | EvrFsNFTL_MountSuccess (uint32_t instance) |
Event on successful NFTL mount (Op) | |
__STATIC_INLINE void | EvrFsNFTL_DeviceNotInitialized (uint32_t instance) |
Event (Error) | |
__STATIC_INLINE void | EvrFsNFTL_ResetDevice (uint32_t instance) |
Event on NAND device reset (Op) | |
__STATIC_INLINE void | EvrFsNFTL_ResetDeviceFailed (uint32_t instance) |
Event on NAND device reset error (Error) | |
__STATIC_INLINE void | EvrFsNFTL_ResetDeviceTimeout (uint32_t instance) |
Event on NAND device reset timeout (Error) | |
__STATIC_INLINE void | EvrFsNFTL_ReadBootBlock (uint32_t instance) |
Event on NFTL boot block read (Op) | |
__STATIC_INLINE void | EvrFsNFTL_ReadBootBlockFailed (uint32_t instance) |
Event on NFTL boot block error (Error) | |
__STATIC_INLINE void | EvrFsNFTL_BootSignatureValid (uint32_t instance) |
Event on NFTL valid boot signatures (Op) | |
__STATIC_INLINE void | EvrFsNFTL_BootSignatureInvalid (uint32_t instance) |
Event on NFTL invalid boot signatures (Op) | |
__STATIC_INLINE void | EvrFsNFTL_DataBlockCapacity (uint32_t instance, uint32_t capacity) |
Event on NFTL invalid boot signatures (Op) | |
__STATIC_INLINE void | EvrFsNFTL_ReadTable (uint32_t instance) |
Event on NFTL invalid boot signatures (Op) | |
__STATIC_INLINE void | EvrFsNFTL_ReadTableFailed (uint32_t instance) |
Event on NFTL (Error) | |
__STATIC_INLINE void | EvrFsNFTL_Uninit (uint32_t instance) |
Event on NFTL device uninitialization (Op) | |
__STATIC_INLINE void | EvrFsNFTL_UninitDriver (uint32_t instance) |
Event on NFTL driver uninitialization (Op) | |
__STATIC_INLINE void | EvrFsNFTL_UninitDriverFailed (uint32_t instance) |
Event on NFTL driver uninitialization error (Error) | |
__STATIC_INLINE void | EvrFsNFTL_ReadInfo (uint32_t instance, uint32_t info) |
Event on NFTL driver uninitialization (Op) | |
__STATIC_INLINE void | EvrFsNFTL_ReadInfoSuccess (uint32_t instance, uint32_t sect_count) |
Event on succesful media capacity retrieval (Op) | |
__STATIC_INLINE void | EvrFsNFTL_DevCtrl (uint32_t instance, uint32_t code, void *p) |
Event on NFTL device control operation (Op) | |
__STATIC_INLINE void | EvrFsNFTL_DevCtrlUnsupported (uint32_t instance, uint32_t code) |
Event on NFTL device control code unsupported error (Error) | |
__STATIC_INLINE void | EvrFsNFTL_Format (uint32_t instance) |
Event on NFTL format operation (Op) | |
__STATIC_INLINE void | EvrFsNFTL_FormatSuccess (uint32_t instance) |
Event on successful NFTL format operation (Op) | |
__STATIC_INLINE void | EvrFsNFTL_FormatLLEB (uint32_t instance) |
Event on NFTL format operation with option LLEB (Op) | |
__STATIC_INLINE void | EvrFsNFTL_BBMPositionSet (uint32_t instance, uint32_t pos) |
Event on NFTL bad block position setting (Op) | |
__STATIC_INLINE void | EvrFsNFTL_BadBlockDetected (uint32_t instance, uint32_t block) |
Event on NFTL bad block detection (Op) | |
__STATIC_INLINE void | EvrFsNFTL_BadBlockMark (uint32_t instance, uint32_t block) |
Event on NFTL bad block mark operation (Op) | |
__STATIC_INLINE void | EvrFsNFTL_WriteSector (uint32_t instance, uint32_t sector, const uint8_t *buf, uint32_t cnt) |
Event on NFTL write sector operation (Op) | |
__STATIC_INLINE void | EvrFsNFTL_WriteSectorSuccess (uint32_t instance) |
Event on successful NFTL write sector operation (Op) | |
__STATIC_INLINE void | EvrFsNFTL_ReadSector (uint32_t instance, uint32_t sector, uint8_t *buf, uint32_t cnt) |
Event on NFTL read sector operation (Op) | |
__STATIC_INLINE void | EvrFsNFTL_ReadSectorSuccess (uint32_t instance) |
Event on successful NFTL read sector operation (Op) | |
__STATIC_INLINE void | EvrFsNFTL_LsnToLbn (uint32_t instance, uint32_t lsn, uint32_t lbn) |
Event on NFTL resolving logical sector to logical block (Op) | |
__STATIC_INLINE void | EvrFsNFTL_LbnToPbn (uint32_t instance, uint32_t lbn, uint32_t pbn_0, uint32_t pbn_1) |
Event on NFTL resolving logical block to physical block (Op) | |
__STATIC_INLINE void | EvrFsNFTL_LbnOutOfRange (uint32_t instance, uint32_t lbn, uint32_t max) |
Event when logical block number is out of range (Error) | |
__STATIC_INLINE void | EvrFsNFTL_PbnOutOfRange (uint32_t instance, uint32_t pbn, uint32_t max) |
Event when physical block number is out of range (Error) | |
__STATIC_INLINE void | EvrFsNFTL_TableLookup (uint32_t instance, uint32_t lbn) |
Event on NFTL translation table lookup (Op) | |
__STATIC_INLINE void | EvrFsNFTL_TableEntryNotFound (uint32_t instance, uint32_t lbn) |
Event on nonexisting translation table entry (Op) | |
__STATIC_INLINE void | EvrFsNFTL_AllocateBlock (uint32_t instance, uint32_t area) |
Event on NAND block allocation operation (Op) | |
__STATIC_INLINE void | EvrFsNFTL_LsnFind (uint32_t instance, uint32_t lsn, uint32_t pbn) |
Event on search of logical sector within NAND block (Op) | |
__STATIC_INLINE void | EvrFsNFTL_LsnFound (uint32_t instance, uint32_t lsn, uint32_t pbn, uint32_t pg) |
Event when logical sector is found within NAND block (Op) | |
__STATIC_INLINE void | EvrFsNFTL_LsnNotFound (uint32_t instance, uint32_t lsn, uint32_t pbn) |
Event when logical sector is not found within NAND block (Op) | |
__STATIC_INLINE void | EvrFsNFTL_GarbageCollection (uint32_t instance, uint32_t src_0, uint32_t src_1, uint32_t dst) |
Event on NFTL garbage collection operation (Op) | |
__STATIC_INLINE void | EvrFsNFTL_SetBadBlockMarker (uint32_t instance, uint32_t pbn) |
Event on setting NAND block as bad (Op) | |
__STATIC_INLINE void | EvrFsNFTL_MoveData (uint32_t instance, uint32_t src, uint32_t dst) |
Event on block content move (Op) | |
__STATIC_INLINE void | EvrFsNFTL_RelocateBlock (uint32_t instance, uint32_t pbn) |
Event on attempt to change block physical location (Op) | |
__STATIC_INLINE void | EvrFsNFTL_RelocateBlockFailed (uint32_t instance, uint32_t pbn) |
Event on failed attempt to change block physical location (Error) | |
__STATIC_INLINE void | EvrFsNFTL_SkipBadBlock (uint32_t instance, uint32_t pbn) |
Event on skipped bad block (Op) | |
__STATIC_INLINE void | EvrFsNFTL_PageReadFailed (uint32_t instance, uint32_t row) |
Event on NAND page read error (Error) | |
__STATIC_INLINE void | EvrFsNFTL_PageProgramStatusErr (uint32_t instance, uint32_t row) |
Event on invalid page program status value (Error) | |
__STATIC_INLINE void | EvrFsNFTL_PageProgramFailed (uint32_t instance, uint32_t row) |
Event on NAND page program error (Error) | |
__STATIC_INLINE void | EvrFsNFTL_PageProgramTimeout (uint32_t instance, uint32_t row) |
Event on NAND page program timeout (Error) | |
__STATIC_INLINE void | EvrFsNFTL_BlockEraseStatusErr (uint32_t instance, uint32_t row) |
Event on invalid block erase status value (Op) | |
__STATIC_INLINE void | EvrFsNFTL_BlockEraseFailed (uint32_t instance, uint32_t row) |
Event on NAND block erase error (Error) | |
__STATIC_INLINE void | EvrFsNFTL_BlockEraseTimeout (uint32_t instance, uint32_t row) |
Event on NAND block erase timeout (Error) | |
__STATIC_INLINE void | EvrFsNFTL_BitErrorCorrected (uint32_t instance, uint32_t row) |
Event on ECC bit error correction (Op) | |
__STATIC_INLINE void | EvrFsNFTL_ParameterInvalid (uint32_t instance) |
Event on invalid function parameter(s) (Error) | |
__STATIC_INLINE void | EvrFsNFTL_TableUpdate (uint32_t instance, uint32_t lbn, uint32_t pbn_0, uint32_t pbn_1) |
Event on translation table update (Op) | |
__STATIC_INLINE void | EvrFsNFTL_AllocatedBlock (uint32_t instance, uint32_t pbn) |
Event on successful block allocation (Op) | |
__STATIC_INLINE void | EvrFsNFTL_LoadSector (uint32_t instance, uint32_t lsn, uint32_t offs, uint32_t spare) |
Event on loading sector data from/to NAND page buffer (Detail) | |
__STATIC_INLINE void | EvrFsNFTL_LoadTableLayout (uint32_t instance, uint32_t pbn_0, uint32_t pbn_1) |
Event on translation table layout configuration read (Detail) | |
__STATIC_INLINE void | EvrFsNFTL_LoadDataLayout (uint32_t instance, uint32_t pbn_0, uint32_t pbn_1) |
Event on file data layout configuration read (Detail) | |
__STATIC_INLINE void | EvrFsNFTL_SetupPageLayout (uint32_t instance, uint32_t sector_inc, uint32_t spare_ofs, uint32_t spare_inc) |
Event on page layout setup (Detail) | |
__STATIC_INLINE void | EvrFsNFTL_SetupSpareLayout (uint32_t instance, uint32_t ofs_lsn, uint32_t ofs_dcm, uint32_t ofs_bbm, uint32_t ofs_ecc) |
Event on spare area layout setup (Detail) | |
__STATIC_INLINE void | EvrFsNFTL_PageRead (uint32_t instance, uint32_t pbn, uint32_t pg) |
Event on page read (Op) | |
__STATIC_INLINE void | EvrFsNFTL_PageWrite (uint32_t instance, uint32_t pbn, uint32_t pg) |
Event on page write (Op) | |
__STATIC_INLINE void | EvrFsNFTL_BlockErase (uint32_t instance, uint32_t pbn) |
Event on block erase (Op) | |
__STATIC_INLINE void | EvrFsNFTL_StatusRead (uint32_t instance, uint32_t status) |
Event on status read (Op) | |
__STATIC_INLINE void | EvrFsNFTL_CacheRead (uint32_t instance, uint32_t pbn, uint32_t pg, uint32_t col) |
Event on page cache read (Op) | |
__STATIC_INLINE void | EvrFsNFTL_CacheWrite (uint32_t instance, uint32_t pbn, uint32_t pg) |
Event on page cache write (Op) | |
Events generated by File System - NAND Flash Translation Layer functions.
FileSystem - NAND Flash Translation Layer
__STATIC_INLINE void EvrFsNFTL_AllocateBlock | ( | uint32_t | instance, |
uint32_t | area | ||
) |
Event on NAND block allocation operation (Op)
[in] | instance | NFTL instance number |
[in] | area | 0:translation table block, 1:user data block |
The event AllocateBlock is generated when NAND Flash Translation Layer attempts to allocate free block.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsNFTL_AllocatedBlock | ( | uint32_t | instance, |
uint32_t | pbn | ||
) |
Event on successful block allocation (Op)
[in] | instance | NFTL instance number |
[in] | pbn | physical block number |
The event AllocatedBlock is generated when NAND Flash Translation Layer successfully allocates an empty physical block.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsNFTL_BadBlockDetected | ( | uint32_t | instance, |
uint32_t | block | ||
) |
Event on NFTL bad block detection (Op)
[in] | instance | NFTL instance number |
[in] | block | block number |
The event BadBlockDetected is generated when bad block marker is detected within block.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsNFTL_BadBlockMark | ( | uint32_t | instance, |
uint32_t | block | ||
) |
Event on NFTL bad block mark operation (Op)
[in] | instance | NFTL instance number |
[in] | block | block number |
The event BadBlockMark is generated when NAND Flash Translation Layer formatting function detects unreliable block and attempts to mark it as bad.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsNFTL_BBMPositionSet | ( | uint32_t | instance, |
uint32_t | pos | ||
) |
Event on NFTL bad block position setting (Op)
[in] | instance | NFTL instance number |
[in] | pos | bad block position |
The event BBMPositionSet is generated when bad block marker position is set.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsNFTL_BitErrorCorrected | ( | uint32_t | instance, |
uint32_t | row | ||
) |
Event on ECC bit error correction (Op)
[in] | instance | NFTL instance number |
[in] | row | block address |
The event BitErrorCorrected is generated when ECC algorithm corrects bit error.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsNFTL_BlockErase | ( | uint32_t | instance, |
uint32_t | pbn | ||
) |
Event on block erase (Op)
[in] | instance | NFTL instance number |
[in] | pbn | physical block number |
The event BlockErase is generated when NAND Flash Translation Layer erases NAND device block.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsNFTL_BlockEraseFailed | ( | uint32_t | instance, |
uint32_t | row | ||
) |
Event on NAND block erase error (Error)
[in] | instance | NFTL instance number |
[in] | row | block address |
The event BlockEraseFailed is generated when NAND media driver fails to execute block erase operation.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsNFTL_BlockEraseStatusErr | ( | uint32_t | instance, |
uint32_t | row | ||
) |
Event on invalid block erase status value (Op)
[in] | instance | NFTL instance number |
[in] | row | block address |
The event BlockEraseStatusErr is generated when NAND device fails to erase the memory block. This usually happens when block becomes bad or when block erase operation is executed on a bad block.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsNFTL_BlockEraseTimeout | ( | uint32_t | instance, |
uint32_t | row | ||
) |
Event on NAND block erase timeout (Error)
[in] | instance | NFTL instance number |
[in] | row | block address |
The event BlockEraseTimeout is generated when block erase operation fails due to the timeout.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsNFTL_BootSignatureInvalid | ( | uint32_t | instance | ) |
Event on NFTL invalid boot signatures (Op)
[in] | instance | NFTL instance number |
The event BootSignatureValid is generated when NAND Flash Translation Layer detects invalid signature in its boot information block.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsNFTL_BootSignatureValid | ( | uint32_t | instance | ) |
Event on NFTL valid boot signatures (Op)
[in] | instance | NFTL instance number |
The event BootSignatureValid is generated when valid signature of the NAND Flash Translation Layer boot information block is detected.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsNFTL_CacheRead | ( | uint32_t | instance, |
uint32_t | pbn, | ||
uint32_t | pg, | ||
uint32_t | col | ||
) |
Event on page cache read (Op)
[in] | instance | NFTL instance number |
[in] | pbn | physical block number |
[in] | pg | page number |
[in] | col | page column number |
The event CacheRead is generated when NAND Flash Translation Layer reads a page using page cache.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsNFTL_CacheWrite | ( | uint32_t | instance, |
uint32_t | pbn, | ||
uint32_t | pg | ||
) |
Event on page cache write (Op)
[in] | instance | NFTL instance number |
[in] | pbn | physical block number |
[in] | pg | page number |
The event CacheWrite is generated when NAND Flash Translation Layer writes a page using page cache.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsNFTL_DataBlockCapacity | ( | uint32_t | instance, |
uint32_t | capacity | ||
) |
Event on NFTL invalid boot signatures (Op)
[in] | instance | NFTL instance number |
[in] | capacity | number of available data blocks |
The event DataBlockCapacity is generated when NAND Flash Translation Layer determines number of data blocks available to setup the file system.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsNFTL_DevCtrl | ( | uint32_t | instance, |
uint32_t | code, | ||
void * | p | ||
) |
Event on NFTL device control operation (Op)
[in] | instance | NFTL instance number |
[in] | code | device control command code |
[in] | p | command code argument |
The event DevCtrl is generated when control code is sent directly to NAND Flash Translation Layer.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsNFTL_DevCtrlUnsupported | ( | uint32_t | instance, |
uint32_t | code | ||
) |
Event on NFTL device control code unsupported error (Error)
[in] | instance | NFTL instance number |
[in] | code | device control command code |
The event DevCtrlUnsupported is generated whenever an unsupported control code is used.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsNFTL_DeviceNotInitialized | ( | uint32_t | instance | ) |
Event (Error)
[in] | instance | NFTL instance number |
The event DeviceNotInitialized is generated on attempt to access de-initialized NAND device.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsNFTL_Format | ( | uint32_t | instance | ) |
Event on NFTL format operation (Op)
[in] | instance | NFTL instance number |
The event Format is generated when the function fformat attempts to format NAND Flash Translation Layer.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsNFTL_FormatLLEB | ( | uint32_t | instance | ) |
Event on NFTL format operation with option LLEB (Op)
[in] | instance | NFTL instance number |
The event FormatLLEB is generated when NAND Flash Translation Layer enables erase of blocks marked as bad.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsNFTL_FormatSuccess | ( | uint32_t | instance | ) |
Event on successful NFTL format operation (Op)
[in] | instance | NFTL instance number |
The event FormatSuccess is generated when NAND Flash Translation Layer formatting is successfully executed.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsNFTL_GarbageCollection | ( | uint32_t | instance, |
uint32_t | src_0, | ||
uint32_t | src_1, | ||
uint32_t | dst | ||
) |
Event on NFTL garbage collection operation (Op)
[in] | instance | NFTL instance number |
[in] | src_0 | physical block number (source 0) |
[in] | src_1 | physical block number (source 1) |
[in] | dst | physical block number (destination) |
The event GarbageCollection is generated when garbage collection procedure is started.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsNFTL_Init | ( | uint32_t | instance | ) |
Event on NFTL initialization (Op)
[in] | instance | NFTL instance number |
The event Init is generated on attempt to initialize the NAND Flash Translation Layer.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsNFTL_InitMediaFailed | ( | uint32_t | instance | ) |
Event on NFTL memory media initialization error (Error)
[in] | instance | NFTL instance number |
The event InitMediaFailed is generated when NAND media driver initialization fails.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsNFTL_LbnOutOfRange | ( | uint32_t | instance, |
uint32_t | lbn, | ||
uint32_t | max | ||
) |
Event when logical block number is out of range (Error)
[in] | instance | NFTL instance number |
[in] | lbn | logical block number |
[in] | max | maximum logical block number |
The event LbnOutOfRange is generated when NAND Flash Translation Layer detect logical block number which is higher than total number of logical blocks.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsNFTL_LbnToPbn | ( | uint32_t | instance, |
uint32_t | lbn, | ||
uint32_t | pbn_0, | ||
uint32_t | pbn_1 | ||
) |
Event on NFTL resolving logical block to physical block (Op)
[in] | instance | NFTL instance number |
[in] | lbn | logical block number |
[in] | pbn_0 | physical block number |
[in] | pbn_1 | physical block number |
The event LbnToPbn is generated when NAND Flash Translation Layer determines the physical locations of a logical block.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsNFTL_LoadDataLayout | ( | uint32_t | instance, |
uint32_t | pbn_0, | ||
uint32_t | pbn_1 | ||
) |
Event on file data layout configuration read (Detail)
[in] | instance | NFTL instance number |
[in] | pbn_0 | physical block number |
[in] | pbn_1 | physical block number |
The event LoadDataLayout is generated when NAND Flash Translation Layer reads file data area configuration from the NAND configuration structure.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsNFTL_LoadSector | ( | uint32_t | instance, |
uint32_t | lsn, | ||
uint32_t | offs, | ||
uint32_t | spare | ||
) |
Event on loading sector data from/to NAND page buffer (Detail)
[in] | instance | NFTL instance number |
[in] | lsn | logical sector number |
[in] | offs | sector data offset (position within page) |
[in] | spare | sector spare offset (position within page) |
The event LoadSector is generated when NAND Flash Translation Layer loads sector data from/to the NAND page buffer.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsNFTL_LoadTableLayout | ( | uint32_t | instance, |
uint32_t | pbn_0, | ||
uint32_t | pbn_1 | ||
) |
Event on translation table layout configuration read (Detail)
[in] | instance | NFTL instance number |
[in] | pbn_0 | physical block number |
[in] | pbn_1 | physical block number |
The event LoadTableLayout is generated when NAND Flash Translation Layer reads translation table area configuration from the NAND configuration structure.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsNFTL_LsnFind | ( | uint32_t | instance, |
uint32_t | lsn, | ||
uint32_t | pbn | ||
) |
Event on search of logical sector within NAND block (Op)
[in] | instance | NFTL instance number |
[in] | lsn | logical sector number |
[in] | pbn | physical block number |
The event LsnFind is generated when NAND Flash Translation Layer attempts to find logical sector within physical block.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsNFTL_LsnFound | ( | uint32_t | instance, |
uint32_t | lsn, | ||
uint32_t | pbn, | ||
uint32_t | pg | ||
) |
Event when logical sector is found within NAND block (Op)
[in] | instance | NFTL instance number |
[in] | lsn | logical sector number |
[in] | pbn | physical block number |
[in] | pg | page number |
The event LsnFound is generated when NAND Flash Translation Layer logical sector is found within physical block.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsNFTL_LsnNotFound | ( | uint32_t | instance, |
uint32_t | lsn, | ||
uint32_t | pbn | ||
) |
Event when logical sector is not found within NAND block (Op)
[in] | instance | NFTL instance number |
[in] | lsn | logical sector number |
[in] | pbn | physical block number |
The event LsnNotFound is generated when NAND Flash Translation Layer logical sector is found within physical block.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsNFTL_LsnToLbn | ( | uint32_t | instance, |
uint32_t | lsn, | ||
uint32_t | lbn | ||
) |
Event on NFTL resolving logical sector to logical block (Op)
[in] | instance | NFTL instance number |
[in] | lsn | logical sector number |
[in] | lbn | logical block number |
The event LsnToLbn is generated on conversion of logical sector number to logical block number.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsNFTL_Mount | ( | uint32_t | instance | ) |
Event on NFTL mount (Op)
[in] | instance | NFTL instance number |
The event Mount is generated on attempt to mount the NAND Flash Translation Layer.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsNFTL_MountSuccess | ( | uint32_t | instance | ) |
Event on successful NFTL mount (Op)
[in] | instance | NFTL instance number |
The event MountSuccess is generated when NAND Flash Translation Layer is successfully mounted.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsNFTL_MoveData | ( | uint32_t | instance, |
uint32_t | src, | ||
uint32_t | dst | ||
) |
Event on block content move (Op)
[in] | instance | NFTL instance number |
[in] | src | physical block number |
[in] | dst | physical block number |
The event MoveData is generated on attempt to move data from source to destination block.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsNFTL_PageProgramFailed | ( | uint32_t | instance, |
uint32_t | row | ||
) |
Event on NAND page program error (Error)
[in] | instance | NFTL instance number |
[in] | row | page address |
The event PageProgramFailed is generated when NAND media driver fails to execute page program operation.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsNFTL_PageProgramStatusErr | ( | uint32_t | instance, |
uint32_t | row | ||
) |
Event on invalid page program status value (Error)
[in] | instance | NFTL instance number |
[in] | row | page address |
The event PageProgramStatusErr is generated when NAND device fails to program the memory page.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsNFTL_PageProgramTimeout | ( | uint32_t | instance, |
uint32_t | row | ||
) |
Event on NAND page program timeout (Error)
[in] | instance | NFTL instance number |
[in] | row | page address |
The event PageProgramTimeout is generated when page program operation fails due to the timeout.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsNFTL_PageRead | ( | uint32_t | instance, |
uint32_t | pbn, | ||
uint32_t | pg | ||
) |
Event on page read (Op)
[in] | instance | NFTL instance number |
[in] | pbn | physical block number |
[in] | pg | page number |
The event PageRead is generated when NAND Flash Translation Layer reads a page from NAND device.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsNFTL_PageReadFailed | ( | uint32_t | instance, |
uint32_t | row | ||
) |
Event on NAND page read error (Error)
[in] | instance | NFTL instance number |
[in] | row | page address |
The event PageReadFailed is generated when NAND media driver fails to execute page read operation.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsNFTL_PageWrite | ( | uint32_t | instance, |
uint32_t | pbn, | ||
uint32_t | pg | ||
) |
Event on page write (Op)
[in] | instance | NFTL instance number |
[in] | pbn | physical block number |
[in] | pg | page number |
The event PageWrite is generated when NAND Flash Translation Layer writes a page to NAND device.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsNFTL_ParameterInvalid | ( | uint32_t | instance | ) |
Event on invalid function parameter(s) (Error)
[in] | instance | NFTL instance number |
The event ParameterInvalid is generated when NAND Flash Translation Layer detects invalid function parameter.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsNFTL_PbnOutOfRange | ( | uint32_t | instance, |
uint32_t | pbn, | ||
uint32_t | max | ||
) |
Event when physical block number is out of range (Error)
[in] | instance | NFTL instance number |
[in] | pbn | physical block number |
[in] | max | maximum logical block number |
The event PbnOutOfRange is generated NAND Flash Translation Layer detect physical block number which is higher than total number of physical blocks.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsNFTL_ReadBootBlock | ( | uint32_t | instance | ) |
Event on NFTL boot block read (Op)
[in] | instance | NFTL instance number |
The event ReadBootBlock is generated when NAND Flash Translation Layer attempts to read its boot information block.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsNFTL_ReadBootBlockFailed | ( | uint32_t | instance | ) |
Event on NFTL boot block error (Error)
[in] | instance | NFTL instance number |
The event ReadBootBlock is generated when NAND Flash Translation Layer fails to read its boot information block.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsNFTL_ReadInfo | ( | uint32_t | instance, |
uint32_t | info | ||
) |
Event on NFTL driver uninitialization (Op)
[in] | instance | NFTL instance number |
[in] | info | fsMediaInfo structure address |
The event ReadInfo is generated on attempt to read NFTL storage geometry properties.
Value of the Event Recorder shows:
__STATIC_INLINE void EvrFsNFTL_ReadInfoSuccess | ( | uint32_t | instance, |
uint32_t | sect_count | ||
) |
Event on succesful media capacity retrieval (Op)
[in] | instance | NFTL instance number |
[in] | sect_count | capacity in number of sectors |
The event ReadInfoSuccess is generated when NFTL storage geometry properties are retrieved successfully.
Value of the Event Recorder shows:
__STATIC_INLINE void EvrFsNFTL_ReadSector | ( | uint32_t | instance, |
uint32_t | sector, | ||
uint8_t * | buf, | ||
uint32_t | cnt | ||
) |
Event on NFTL read sector operation (Op)
[in] | instance | NFTL instance number |
[in] | sector | sector number |
[in] | buf | data buffer |
[in] | cnt | number of sectors to read |
The event ReadSector is generated when NAND Flash Translation Layer attempts to read data from the flash.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsNFTL_ReadSectorSuccess | ( | uint32_t | instance | ) |
Event on successful NFTL read sector operation (Op)
[in] | instance | NFTL instance number |
The event ReadSectorSuccess is generated when NAND Flash Translation Layer successfully reads data from the flash.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsNFTL_ReadTable | ( | uint32_t | instance | ) |
Event on NFTL invalid boot signatures (Op)
[in] | instance | NFTL instance number |
The event DataBlockCapacity is generated when NAND Flash Translation Layer attempts to load the block translation table.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsNFTL_ReadTableFailed | ( | uint32_t | instance | ) |
Event on NFTL (Error)
[in] | instance | NFTL instance number |
The event ReadTableFailed is generated when block translation table read fails.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsNFTL_RelocateBlock | ( | uint32_t | instance, |
uint32_t | pbn | ||
) |
Event on attempt to change block physical location (Op)
[in] | instance | NFTL instance number |
[in] | pbn | physical block number |
The event RelocateBlock is generated when NAND Flash Translation Layer attempts to relocate content from a bad block.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsNFTL_RelocateBlockFailed | ( | uint32_t | instance, |
uint32_t | pbn | ||
) |
Event on failed attempt to change block physical location (Error)
[in] | instance | NFTL instance number |
[in] | pbn | physical block number |
The event RelocateBlockFailed is generated when NAND Flash Translation Layer fails to relocate content from a bad block.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsNFTL_ResetDevice | ( | uint32_t | instance | ) |
Event on NAND device reset (Op)
[in] | instance | NFTL instance number |
The event ResetDevice is generated on attempt to reset the NAND device.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsNFTL_ResetDeviceFailed | ( | uint32_t | instance | ) |
Event on NAND device reset error (Error)
[in] | instance | NFTL instance number |
The event ResetDeviceFailed is generated when NAND media driver fails to execute device reset operation.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsNFTL_ResetDeviceTimeout | ( | uint32_t | instance | ) |
Event on NAND device reset timeout (Error)
[in] | instance | NFTL instance number |
The event ResetDeviceTimeout is generated when device reset operation fails due to the timeout.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsNFTL_SetBadBlockMarker | ( | uint32_t | instance, |
uint32_t | pbn | ||
) |
Event on setting NAND block as bad (Op)
[in] | instance | NFTL instance number |
[in] | pbn | physical block number |
The event MoveData is generated on attempt to mark block as bad.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsNFTL_SetupPageLayout | ( | uint32_t | instance, |
uint32_t | sector_inc, | ||
uint32_t | spare_ofs, | ||
uint32_t | spare_inc | ||
) |
Event on page layout setup (Detail)
[in] | instance | NFTL instance number |
[in] | sector_inc | increment till next sector |
[in] | spare_ofs | first spare area offset |
[in] | spare_inc | increment till next spare |
The event SetupPageLayout is generated when NAND Flash Translation Layer sets NAND page layout configuration.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsNFTL_SetupSpareLayout | ( | uint32_t | instance, |
uint32_t | ofs_lsn, | ||
uint32_t | ofs_dcm, | ||
uint32_t | ofs_bbm, | ||
uint32_t | ofs_ecc | ||
) |
Event on spare area layout setup (Detail)
[in] | instance | NFTL instance number |
[in] | ofs_lsn | LSN position offset |
[in] | ofs_dcm | DCM position offset |
[in] | ofs_bbm | BBM position offset |
[in] | ofs_ecc | ECC position offset |
The event SetupSpareLayout is generated when NAND Flash Translation Layer sets spare area layout configuration.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsNFTL_SkipBadBlock | ( | uint32_t | instance, |
uint32_t | pbn | ||
) |
Event on skipped bad block (Op)
[in] | instance | NFTL instance number |
[in] | pbn | physical block number |
The event SkipBadBlock is generated when NAND Flash Translation Layer detects bad block and skips the operation till next valid block.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsNFTL_StatusRead | ( | uint32_t | instance, |
uint32_t | status | ||
) |
Event on status read (Op)
[in] | instance | NFTL instance number |
[in] | status | NAND status byte |
The event StatusRead is generated when NAND Flash Translation Layer retrieves NAND device status.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsNFTL_TableEntryNotFound | ( | uint32_t | instance, |
uint32_t | lbn | ||
) |
Event on nonexisting translation table entry (Op)
[in] | instance | NFTL instance number |
[in] | lbn | logical block number |
The event TableEntryNotFound is generated when translation table does not contain translation information for specified logical block.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsNFTL_TableLookup | ( | uint32_t | instance, |
uint32_t | lbn | ||
) |
Event on NFTL translation table lookup (Op)
[in] | instance | NFTL instance number |
[in] | lbn | logical block number |
The event TableLookup is generated NAND Flash Translation Layer attempts to read translation table in order to retrieve translation information for specified logical block.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsNFTL_TableUpdate | ( | uint32_t | instance, |
uint32_t | lbn, | ||
uint32_t | pbn_0, | ||
uint32_t | pbn_1 | ||
) |
Event on translation table update (Op)
[in] | instance | NFTL instance number |
[in] | lbn | logical block number |
[in] | pbn_0 | physical block number |
[in] | pbn_1 | physical block number |
The event TableUpdate is generated when NAND Flash Translation Layer updates logical to physical block translation info.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsNFTL_Uninit | ( | uint32_t | instance | ) |
Event on NFTL device uninitialization (Op)
[in] | instance | NFTL instance number |
The event Uninit is generated when the function funinit executes and attempts to de-initialize the NAND Flash Translation Layer.
Value of the Event Recorder shows:
__STATIC_INLINE void EvrFsNFTL_UninitDriver | ( | uint32_t | instance | ) |
Event on NFTL driver uninitialization (Op)
[in] | instance | NFTL instance number |
The event UninitDriver is generated on attempt to de-initialize the NAND media driver.
Value of the Event Recorder shows:
__STATIC_INLINE void EvrFsNFTL_UninitDriverFailed | ( | uint32_t | instance | ) |
Event on NFTL driver uninitialization error (Error)
[in] | instance | NFTL instance number |
The event UninitDriverFailed is generated when the NAND media driver de-initialization fails.
Value of the Event Recorder shows:
__STATIC_INLINE void EvrFsNFTL_WriteSector | ( | uint32_t | instance, |
uint32_t | sector, | ||
const uint8_t * | buf, | ||
uint32_t | cnt | ||
) |
Event on NFTL write sector operation (Op)
[in] | instance | NFTL instance number |
[in] | sector | sector number |
[in] | buf | data buffer |
[in] | cnt | number of sectors to write |
The event WriteSector is generated when NAND Flash Translation Layer attempts to write data to the flash.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsNFTL_WriteSectorSuccess | ( | uint32_t | instance | ) |
Event on successful NFTL write sector operation (Op)
[in] | instance | NFTL instance number |
The event WriteSectorSuccess is generated when NAND Flash Translation Layer successfully writes data to the flash.
Value in the Event Recorder shows: