Hello,
Reading the SAM7 datasheet's chapter on embedded flash I ran across this snippet:
"Access to the Flash in read mode is permitted when a Lock or Unlock command is performed ... Access to the Flash in read mode is permitted when a Set, Clear or Get General-purpose NVM bit cmmand is performed"
Does this imply that:
1) C-functions implementing Lock/Unlock/Set/Clear do not need to be run from RAM (in terms of IAR such functions should not be prefixed with "__ramfunc" keyword)? 2) interrupts can be left untouched (i.e. no need to disable interrupts flash before operation and enable them back after) ?Thanks.
Best regards, Roman.