boot_page_fill

boot_page_fill(address, data)

Fill the bootloader temporary page buffer for flash address with data word.

Note:

The address is a byte address. The data is a word. The AVR writes data to the buffer a word at a time, but addresses the buffer per byte! So, increment your address by 2 between calls, and send 2 data bytes in a word format! The LSB of the data is written to the lower address; the MSB of the data is written to the higher address.