2.3.2.4 BL_FlashWrite()
bl_mem_result_t BL_FlashWrite (flash_address_t address, flash_data_t * buffer, size_t length)
Wrapper to the NVM Write Flash function which writes multiple bytes to the desired address in program Flash.
in | address |
- Starting address for the Flash write operation |
in | buffer |
- Storage buffer for the Flash bytes to be written |
in | length |
- Total number of bytes to be written to Flash |
BL_MEM_PASS - Flash write succeeded BL_MEM_FAIL - Flash write failed BL_MEM_INVALID_ARG - An invalid argument is passed to the function |