ATxmega128A3 Atmel Corporation, ATxmega128A3 Datasheet - Page 367

no-image

ATxmega128A3

Manufacturer Part Number
ATxmega128A3
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of ATxmega128A3

Flash (kbytes)
128 Kbytes
Pin Count
64
Max. Operating Frequency
32 MHz
Cpu
8-bit AVR
# Of Touch Channels
16
Hardware Qtouch Acquisition
No
Max I/o Pins
50
Ext Interrupts
50
Usb Speed
No
Usb Interface
No
Spi
10
Twi (i2c)
2
Uart
7
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
16
Adc Resolution (bits)
12
Adc Speed (ksps)
2000
Analog Comparators
4
Resistive Touch Screen
No
Dac Channels
2
Dac Resolution (bits)
12
Temp. Sensor
Yes
Crypto Engine
AES/DES
Sram (kbytes)
8
Eeprom (bytes)
2048
Self Program Memory
YES
Dram Memory
No
Nand Interface
No
Picopower
Yes
Temp. Range (deg C)
-40 to 85
I/o Supply Class
1.6 to 3.6
Operating Voltage (vcc)
1.6 to 3.6
Fpu
No
Mpu / Mmu
no / no
Timers
7
Output Compare Channels
22
Input Capture Channels
22
Pwm Channels
22
32khz Rtc
Yes
Calibrated Rc Oscillator
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATxmega128A3-AU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATxmega128A3-AUR
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATxmega128A3-MH
Manufacturer:
ZARLINK
Quantity:
101
Part Number:
ATxmega128A3U-AU
Manufacturer:
ATMEL
Quantity:
39
Part Number:
ATxmega128A3U-AU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATxmega128A3U-AUR
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATxmega128A3U-MH
Manufacturer:
ATMEL
Quantity:
1
Part Number:
ATxmega128A3U-MH
Manufacturer:
ATMEL
Quantity:
929
30.11 Self-Programming and Boot Loader Support
30.11.1
30.11.1.1
Table 30-1.
8077H–AVR–12/09
Section being addressed by Z-pointer
during the programming?
Application Section (RWW)
Boot Loader Section (NRWW)
User Signature Row section (NRWW)
Flash Programming
Application and Boot Loader sections
Summary of RWW and NRWW functionality
Both the EEPROM and the Flash memory can be read and written from the application software
in the device. This is referred to as self-programming. A Boot Loader (Application code located
in the Boot Loader Section of the Flash) can both read and write the Flash Program Memory,
User Signature Row and EEPROM, and write the Lock Bits to a more secure setting. Application
code in both the Application Section can read from the Flash, User Signature Row, Calibration
Row and Fuses, and read and write the EEPROM.
The Boot Loader support provides a real Read-While-Write self-programming mechanism for
downloading and uploading program code by the device itself. This feature allows flexible appli-
cation software updates controlled by the device using a Boot Loader application that reside in
the Boot Loader Section in the Flash. The Boot Loader can use any available communication
interface and associated protocol to read code and write (program) that code into the Flash
memory, or read out the program memory code. It has the capability to write into the entire
Flash, including the Boot Loader Section. The Boot Loader can thus modify itself, and it can also
erase itself from the code if the feature is not needed anymore.
The Application and Boot Loader sections are different when it comes to self-programming. The
Application Section is Read-While-Write (RWW) while the Boot Loader Section is No Read-
While-Write (NRWW). Here “Read-While-Write” refers to the section being programmed (erased
or written), not the section being read during a Boot Loader software update. Whether the CPU
can continue to run and execute code or is halted to stop program execution during a Boot
Loader software update is depending on the Flash address being programmed:
The User Signature Row section is NRWW, hence erasing or writing this section has the same
properties as for the Boot Loader Section.
During an on-going programming, the software must ensure that the Application Section is not
accessed. Doing this will halt the program execution from the CPU. The user software can not
read data located in the Application Section during a Boot Loader software operation.
• When erasing or writing a page located inside the Application Section (RWW), the Boot
• When erasing or writing a page located inside the Boot Loader Section (NRWW), the CPU is
Loader Section (NRWW) can be read during the operation, thus the CPU can run and
execute code from the Boot Loader Section (NRWW).
halted during the entire operation and code cannot execute.
Section that can be read during
programming
Boot Loader Section (NRWW)
None
None
CPU Halted
No
Yes
Yes
Read-While-Write
Supported
Yes
No
No
XMEGA A
367

Related parts for ATxmega128A3