339
11100B–ATARM–31-Jul-12
SAM4S Series [Preliminary]
• The User Signature is located in the first 512 bytes of the Flash memory mapping, thus, at
the address 0x00400000-0x004001FF.
• To stop the User Signature mode, the user needs to send the Stop Read User Signature
command (SPUS) by writing the Flash Command Register with the SPUS command.
• When the Stop Read User Signature command (SPUI) has been performed, the FRDY bit in
the Flash Programming Status Register (EEFC_FSR) rises. If an interrupt was enabled by
setting the FRDY bit in EEFC_FMR, the interrupt line of the NVIC is activated.
Note that during the sequence, the software can not run out of Flash (or the second plane, in
case of dual plane).
One error can be detected in the EEFC_FSR register after this sequence:
• Command Error: a bad keyword has been written in the EEFC_FCR register.
To write the User Signature, the sequence is:
• Write the full page, at any page address, within the internal memory area address space.
• Send the Write User Signature command (WUS) by writing the Flash Command Register
with the WUS command.
• When programming is completed, the FRDY bit in the Flash Programming Status Register
(EEFC_FSR) rises. If an interrupt has been enabled by setting the FRDY bit in EEFC_FMR,
the corresponding interrupt line of the NVIC is activated.
Two errors can be detected in the EEFC_FSR register after this sequence:
• Command Error: a bad keyword has been written in the EEFC_FCR register.
• Flash Error: at the end of the programming, the WriteVerify test of the Flash memory has
failed.
To erase the User Signature, the sequence is:
• Send the Erase User Signature command (EUS) by writing the Flash Command Register
with the EUS command.
• When programming is completed, the FRDY bit in the Flash Programming Status Register
(EEFC_FSR) rises. If an interrupt has been enabled by setting the FRDY bit in EEFC_FMR,
the corresponding interrupt line of the NVIC is activated.
Two errors can be detected in the EEFC_FSR register after this sequence:
• Command Error: a bad keyword has been written in the EEFC_FCR register.
• Flash Error: at the end of the programming, the EraseVerify test of the Flash memory has
failed.
Содержание SAM4S Series
Страница 44: ...44 11100B ATARM 31 Jul 12 SAM4S Series Preliminary ...
Страница 412: ...412 11100B ATARM 31 Jul 12 SAM4S Series Preliminary ...
Страница 1105: ...1105 11100B ATARM 31 Jul 12 SAM4S Series Preliminary ...
Страница 1142: ...1142 11100B ATARM 31 Jul 12 SAM4S Series Preliminary Figure 43 3 100 ball VFBGA Package Drawing ...
Страница 1143: ...1143 11100B ATARM 31 Jul 12 SAM4S Series Preliminary Figure 43 4 64 lead LQFP Package Drawing ...
Страница 1145: ...1145 11100B ATARM 31 Jul 12 SAM4S Series Preliminary Figure 43 5 64 lead QFN Package Drawing ...