1.5.5.4.23 SRV_FU_DataWrite Function
C
void SRV_FU_DataWrite(uint32_t address, uint8_t *buffer, uint16_t size);
Summary
Writes image in memory.
Description
This function is used to write the image in memory.
Precondition
The SRV_FU_Initialize function should have been called before calling this function.
Parameters
| Parameters | Description |
|---|---|
| address | Image address to write |
| buffer | Pointer to the buffer to store the information |
| size | Number of bytes to write |
Returns
None.
Example
uint32_t image[100];
SRV_FU_DataWrite(0x100, &image, sizeof(image));
Remarks
This function is called by the PRIME stack.
