SAM7L128 Atmel Corporation, SAM7L128 Datasheet - Page 149

no-image

SAM7L128

Manufacturer Part Number
SAM7L128
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of SAM7L128

Flash (kbytes)
128 Kbytes
Pin Count
144
Max. Operating Frequency
36 MHz
Cpu
ARM7TDMI
Hardware Qtouch Acquisition
No
Max I/o Pins
80
Ext Interrupts
80
Usb Speed
No
Usb Interface
No
Spi
1
Twi (i2c)
1
Uart
3
Segment Lcd
40
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
4
Adc Resolution (bits)
10
Adc Speed (ksps)
460
Resistive Touch Screen
No
Temp. Sensor
No
Crypto Engine
No
Sram (kbytes)
6
Self Program Memory
YES
Dram Memory
No
Nand Interface
No
Picopower
No
Temp. Range (deg C)
-40 to 85
I/o Supply Class
1.8/3.3
Operating Voltage (vcc)
1.8 to 3.6
Fpu
No
Mpu / Mmu
no / no
Timers
3
Output Compare Channels
3
Input Capture Channels
3
Pwm Channels
4
32khz Rtc
Yes
Calibrated Rc Oscillator
No
Figure 19-7. Example of Partial Page Programming
19.3.3.3
19.3.3.4
6257A–ATARM–20-Feb-08
X words
X words
X words
X words
Erase Commands
Lock Bit Protection
So Page Y erased
Erase All Flash
FF
FF
FF
FF
FF
FF
FF
FF
FF
FF
FF
FF
32-bit wide
Step 1.
FF
FF
FF
FF
FF
FF
FF
FF
FF
FF
FF
FF
...
...
...
...
FF
FF
FF
FF
FF
FF
FF
FF
FF
FF
FF
FF
By using the WP command, a page can be programmed in several steps if it has been erased
before (see
Erase commands are allowed only on unlocked regions.
The erase sequence is:
Two errors can be detected in the MC_FSR register after a programming sequence:
Lock bits are associated with several pages in the embedded Flash memory plane. This defines
lock regions in the embedded Flash memory plane. They prevent writing/erasing protected
pages.
The lock sequence is:
• a Lock Error: the page to be programmed belongs to a locked region. A command must be
• Erase starts as soon as one of the erase commands and the FARG field are written in the
• When the programming completes, the FRDY bit in the Flash Programming Status Register
• a Command Error: a bad keyword has been written in the MC_FCR register.
• a Lock Error: at least one page to be erased belongs to a locked region. The erase command
• The Set Lock command (SLB) and a page number to be protected are written in the Flash
FF
FF
FF
FF
FF
FF
FF
FF
FF
FF
FF
FF
previously run to unlock the corresponding region.
Flash Command Register.
(MC_FSR) rises. If an interrupt has been enabled by setting the bit FRDY in MC_FMR, the
interrupt line of the Memory Controller is activated.
has been refused, no page has been erased. A command must be previously run to unlock
the corresponding region.
Command Register.
Figure
Programming of the second part of Page Y
19-7).
FF
FF
FF
CA FE
CA FE
CA FE
FF
FF
FF
FF
FF
FF
32-bit wide
FF
FF
FF
Step 2.
FF
FF
FF
FF
FF
FF
...
...
...
...
AT91SAM7L128/64 Preliminary
FF
FF
FF
CA
CA
CA
FF
FF
FF
FF
FF
FF
FF
FF
FF
FE
FE
FE
FF
FF
FF
FF
FF
FF
Programming of the third part of Page Y
FF
FF
FF
CA FE
CA FE
CA FE
DE CA
DE CA
DE CA
FF
FF
FF
32-bit wide
FF
FF
FF
FF
FF
FF
Step 3.
...
...
...
...
FF
FF
FF
CA
CA
CA
DE CA
DE CA
DE CA
FF
FF
FF
FF
FF
FF
FF
FF
FF
FE
FE
FE
149

Related parts for SAM7L128