ATTINY861A-SU Atmel, ATTINY861A-SU Datasheet - Page 165

no-image

ATTINY861A-SU

Manufacturer Part Number
ATTINY861A-SU
Description
IC, MCU, 8BIT, 8K FLASH, 20SOIC
Manufacturer
Atmel
Datasheet

Specifications of ATTINY861A-SU

Controller Family/series
ATtiny
No. Of I/o's
16
Eeprom Memory Size
512Byte
Ram Memory Size
512Byte
Cpu Speed
20MHz
No.
RoHS Compliant
Core Size
8bit
Program Memory Size
8KB
Oscillator Type
External, Internal
Rohs Compliant
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATTINY861A-SUR
Manufacturer:
Atmel
Quantity:
950
17.7
17.8
8197B–AVR–01/10
Preventing Flash Corruption
Programming Time for Flash when Using SPM
To read the Fuse High Byte (FHB), simply replace the address in the Z-pointer with 0x0003 and
repeat the procedure above. If successful, the contents of the destination register are as follows.
Refer to
To read the Fuse Extended Byte (FEB), replace the address in the Z-pointer with 0x0002 and
repeat the previous procedure. If successful, the contents of the destination register are as
follows.
Refer to
Byte.
During periods of low V
too low for the CPU and the Flash to operate properly. These issues are the same as for board
level systems using the Flash, and the same design solutions should be applied.
A Flash program corruption can be caused by two situations when the voltage is too low. First, a
regular write sequence to the Flash requires a minimum voltage to operate correctly. Secondly,
the CPU itself can execute instructions incorrectly, if the supply voltage for executing instructions
is too low.
Flash corruption can easily be avoided by following these design recommendations (one is
sufficient):
The calibrated oscillator is used to time Flash accesses.
ming time for Flash accesses from the CPU.
Table 17-1.
Note:
Bit
Rd
Bit
Rd
Flash write (Page Erase, Page Write, and
write Lock bits by SPM)
1. Keep the AVR RESET active (low) during periods of insufficient power supply voltage.
2. Keep the AVR core in Power-down sleep mode during periods of low V
This can be done by enabling the internal Brown-out Detector (BOD) if the operating
voltage matches the detection level. If not, an external low V
can be used. If a reset occurs while a write operation is in progress, the write operation
will be completed provided that the power supply voltage is sufficient.
vent the CPU from attempting to decode and execute instructions, effectively protecting
the SPMCSR Register and thus the Flash from unintentional writes.
1. Minimum and maximum programming time is per individual operation.
Table 18-4 on page 168
Table 18-3 on page 168
SPM Programming Time
FHB7
FEB7
Symbol
7
7
CC
FHB6
FEB6
, the Flash program can be corrupted because the supply voltage is
6
6
for detailed description and mapping of the Fuse High Byte.
FHB5
FEB5
for detailed description and mapping of the Fuse Extended
5
5
(1)
Min Programming Time
FHB4
FEB4
4
4
3.7 ms
FHB3
FEB3
3
3
Table 17-1
FHB2
FEB2
2
2
CC
shows the typical program-
reset protection circuit
Max Programming Time
FHB1
FEB1
1
1
CC
. This will pre-
4.5 ms
FHB0
FEB0
0
0
165

Related parts for ATTINY861A-SU