SAM3X8C Atmel Corporation, SAM3X8C Datasheet - Page 1450

no-image

SAM3X8C

Manufacturer Part Number
SAM3X8C
Description
Manufacturer
Atmel Corporation
Datasheets
48.2
48.2.1
48.2.1.1
48.2.1.2
1450
Errata Revision A Parts
SAM3X/A
Flash Memory
Flash: Flash Programming
Flash: Fetching Error after Reading the Unique Identifier
Revision A parts Chip IDs are as follows:
When writing data into the Flash memory plane (either through the EEFC, using the IAP function
or FFPI), the data may not be correctly written (i.e the data written is not the one expected).
Set the number of Wait States (WS) at 6 (FWS = 6) during the programming.
After reading the Unique Identifier (or using the STUI/SPUI command), the processor may fetch
wrong instructions. It depends on the code and on the region of the code.
In order to avoid this problem, follow the steps below:
Note:
• SAM3X8H (Rev A) 0x286E0A60
• SAM3X8E (Rev A) 0x285E0A60
• SAM3X4E (Rev A) 0x285B0960
• SAM3X8C (Rev A) 0x284E0A60
• SAM3X4C (Rev A) 0x284B0960
• SAM3A8C (Rev A) 0x283E0A60
• SAM3A4C (Rev A) 0x283B0960
1. Set bit 16 of EEFC Flash Mode Register to 1
2. Send the Start Read Unique Identifier command (STUI) by writing the Flash Command
3. Register with the STUI command.
4. Wait for the FRDY bit to fall
5. Read the Unique ID (and next bits if required)
6. Send the Stop Read Unique Identifier command (SPUI) by writing the Flash Command
7. Register with the SPUI command.
8. Wait for the FRDY bit to rise
9. Clear bit 16 of EEFC Flash Mode Register
Problem Fix/Workaround
Problem Fix/Workaround
During the sequence, the software cannot run out of Flash (so needs to run out of SRAM).
11057A–ATARM–17-Feb-12

Related parts for SAM3X8C