iLLD_TC29x  1.0
IfxFlash.c File Reference

FLASH basic functionality. More...

#include "IfxFlash.h"

Go to the source code of this file.

Functions

void IfxFlash_clearCorrectableErrorTracking (IfxFlash_PortId portId)
 Clear the Correctable errors in Corrected Bits Address Buffer Configuration Port x (CBABCFGx) register. More...
 
void IfxFlash_clearStatus (uint32 flash)
 Performs the "Clear Status" sequence. Operation and error flags are cleared. More...
 
void IfxFlash_clearUncorrectableErrorTracking (IfxFlash_PortId portId)
 Select the uncorrectable errors in UnCorrectable Bits Address Buffer Configuration Port x (UBABCFGx) register. More...
 
void IfxFlash_disableCorrectableErrorTracking (IfxFlash_PortId portId, boolean disable)
 Disable the Correctable errors in Corrected Bits Address Buffer Configuration Port x (CBABCFGx) register. More...
 
void IfxFlash_disableUncorrectableErrorTracking (IfxFlash_PortId portId, boolean disable)
 Clear the uncorrectable errors in UnCorrectable Bits Address Buffer Configuration Port x (UBABCFGx) register. More...
 
void IfxFlash_disableWriteProtection (uint32 flash, IfxFlash_UcbType ucb, uint32 *password)
 The password protection of the selected UCB (if this UCB offers this feature) is temporarily disabled. The command fails by setting PROER when any of the supplied PWs does not match. In this case until the next application reset all further calls of "Disable Protection" fail with PROER independent of the supplied password. More...
 
uint8 IfxFlash_enterPageMode (uint32 pageAddr)
 Performs the sequence for entering program page mode. More...
 
void IfxFlash_eraseMultiplePhysicalSectors (uint32 sectorAddr, uint32 numSector)
 Performs the erase sequence for n sectors in program or data flash. More...
 
void IfxFlash_eraseMultipleSectors (uint32 sectorAddr, uint32 numSector)
 Performs the erase sequence for n sectors in program or data flash. More...
 
void IfxFlash_erasePhysicalSector (uint32 sectorAddr)
 Performs the erase sequence for a physical sector in program or data flash. More...
 
void IfxFlash_eraseSector (uint32 sectorAddr)
 Performs the erase sequence for a sector in program or data flash. More...
 
void IfxFlash_eraseVerifyMultipleSectors (uint32 sectorAddr, uint32 numSector)
 Performs the "Erase Verify" sequence for multiple sectors. More...
 
void IfxFlash_eraseVerifySector (uint32 sectorAddr)
 Performs the "Erase Verify" sequence. More...
 
uint32 IfxFlash_getTrackedCorrectableErrors (IfxFlash_PortId portId, IfxFlash_ErrorTracking_Address *trackedFlashAdresses)
 Returns the tracked correctable error addresses, error types and number of errors which are stored in the CBAB registers. More...
 
uint32 IfxFlash_getTrackedUncorrectableErrors (IfxFlash_PortId portId, IfxFlash_ErrorTracking_Address *trackedFlashAdresses)
 Returns the tracked uncorrectable error addresses, error types and number of errors which are stored in the UBAB registers. More...
 
void IfxFlash_loadPage (uint32 pageAddr, uint32 wordL, uint32 wordU)
 performs a load page sequence with a single 64bit access More...
 
void IfxFlash_loadPage2X32 (uint32 pageAddr, uint32 wordL, uint32 wordU)
 performs a load page sequence with two 32bit accesses More...
 
void IfxFlash_resetToRead (uint32 flash)
 reset to read mode More...
 
void IfxFlash_resumeProtection (uint32 flash)
 Performs the "Resume Protection" sequence. More...
 
void IfxFlash_selectCorrectableErrorTracking (IfxFlash_PortId portId, IfxFlash_ErrorTracking errorTracking)
 Enables error tracking for correctable flash errors. More...
 
void IfxFlash_selectUncorrectableErrorTracking (IfxFlash_PortId portId, IfxFlash_ErrorTracking errorTracking)
 Enables error tracking for uncorrectable flash errors. More...
 
void IfxFlash_suspendResumeMultipleSectors (uint32 sectorAddr, uint32 numSector)
 Performs the "Suspend Resume" sequence for multiple sectors. More...
 
void IfxFlash_suspendResumeSector (uint32 sectorAddr)
 Performs the "Suspend Resume" sequence. More...
 
uint8 IfxFlash_waitUnbusy (uint32 flash, IfxFlash_FlashType flashType)
 Polls the selected status flag in flash status register until it turns to 0. More...
 
void IfxFlash_writeBurst (uint32 pageAddr)
 Performs the "Write Burst" sequence, similar to write page but performs a burst transfer instead of page.Make sure the appropriate amount of data is loaded using load page command. More...
 
void IfxFlash_writePage (uint32 pageAddr)
 Performs the "Write Page" sequence. More...
 
void IfxFlash_writePageOnce (uint32 pageAddr)
 Performs the "Write Page Once" sequence, similar to write page but performs a program verify after writing. More...
 

Detailed Description

FLASH basic functionality.

Version
iLLD_1_0_0_11_0
                            IMPORTANT NOTICE

Infineon Technologies AG (Infineon) is supplying this file for use exclusively with Infineon's microcontroller products. This file can be freely distributed within development tools that are supporting such microcontroller products.

THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. INFINEON SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.

Definition in file IfxFlash.c.