X-Git-Url: http://git.linex4red.de/pub/USBaspLoader.git/blobdiff_plain/df81f1760a068c18bf951f826182ecba6a3ba385..46f882c01510143ab4d076831fafa8bec772f956:/firmware/spminterface.h diff --git a/firmware/spminterface.h b/firmware/spminterface.h index 4fd6249..da46501 100644 --- a/firmware/spminterface.h +++ b/firmware/spminterface.h @@ -105,6 +105,11 @@ ret * Call the "bootloader__do_spm"-function, located within the BLS via comfortable C-interface * During operation code will block - disable or reset watchdog before call. * + * ATTANTION: Since the underlying "bootloader__do_spm" will automatically reenable the + * rww-section, only one way to program the flash will work. + * (First erase the page, then fill temp. buffer, finally program...) + * Since unblocking rww-section erases the temp. pagebuffer (which happens + * after a page-erase), first programming this buffer does not help !! * * REMEMBER: interrupts have to be disabled! (otherwise code may crash non-deterministic) *