I am trying to make a secondary bootloader and I have issues copying data from RAM to flash.
I prepared the sector (command 50), erased the page I want to write into. No errors up to this point. Then when I call (command 51) write RAM to Flash, I get return value = 2. “Ram address not a word (or something like that).” Buffer address is at location 0x02000082 (read from debugger). Page I want to write into is 0x00008000 and data buffer is 256 bytes long.
What could be the cause of this error?
i read in user manual that I need to disable ISR. Is that just a case of having all NVIC ISR=0 or there is something else that needs to be disabled?