Tech Support > Computer Hardware > Microprocessors > AT91SAM7S64: flash programming
AT91SAM7S64: flash programming
Posted by Roman Mashak on June 4th, 2008


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


Posted by Boudewijn Dijkstra on June 5th, 2008


Op Wed, 04 Jun 2008 17:42:57 +0200 schreef Roman Mashak <mrv@tusur.ru>:
3) Access to the Flash in read mode is permitted regardless of the setting
of the Lock or NVM bits.


--
Gemaakt met Opera's revolutionaire e-mailprogramma:
http://www.opera.com/mail/


Similar Posts