Module avr_boot::spm

source ·
Expand description

Low level API for calling bootloader functions

Functions

  • Wait for the current SPM operation to complete.
  • Fill the whole buffer at once
  • Erase the page from program memory
  • Write data to the page buffer
  • Re-enable the RWW section after programming, to enable it to be read
  • Store a whole page into program memory by erasing the page, filling the buffer, and writing the buffer to the program memory.
    address must be page aligned.
  • Write the page from the buffer to the program memory