Module spm

Source
Expand description

Low level API for calling bootloader functions

Functionsยง

busy_wait
Wait for the current SPM operation to complete.
copy_to_buffer
Fill the whole buffer at once
erase_page
Erase the page from program memory
fill_page
Write data to the page buffer
lock_bits_set
rww_enable
Re-enable the RWW section after programming, to enable it to be read
store_page
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_page
Write the page from the buffer to the program memory