FLASH_If_Write() is only used within IAP_Main.
 
Symbols
loading...
Files
loading...

FLASH_If_Write() function

This function writes a data buffer in flash (data are 32-bit aligned).

Syntax

uint32_t FLASH_If_Write(uint32_t FlashAddress,     uint32_t* Data,     uint32_t DataLength);
Implemented in flash_if.c:91

Arguments

FlashAddress

start address for writing data buffer

Data

pointer on data buffer

DataLength

length of data buffer (unit is 32-bit word)

Return value

0: Data successfully written to Flash memory 1: Error occurred while writing data in Flash memory 2: Written Data in flash memory is different from expected one

Notes

After writing data buffer, the flash content is checked.

References

LocationReferrerText
flash_if.c:91
uint32_t FLASH_If_Write(uint32_t FlashAddress, uint32_t* Data ,uint32_t DataLength)
flash_if.h:87
uint32_t FLASH_If_Write(uint32_t FlashAddress, uint32_t* Data, uint32_t DataLength);
ymodem.c:386Ymodem_Receive()
if (FLASH_If_Write(flashdestination, (uint32_t*) ramsource, packet_length/4) == FLASHIF_OK)

Call Tree

Functions calling FLASH_If_Write()
Functions called by FLASH_If_Write()
all items filtered out
FLASH_If_Write()
all items filtered out
Data read by FLASH_If_Write()
Data written by FLASH_If_Write()
FLASH_If_Write()
FLASH_If_Write()::i
all items filtered out
Type of FLASH_If_Write()
FLASH_If_Write()
uint32_t
all items filtered out