AT90CAN128-16AE ATMEL Corporation, AT90CAN128-16AE Datasheet - Page 349

no-image

AT90CAN128-16AE

Manufacturer Part Number
AT90CAN128-16AE
Description
8-bit Avr Microcontroller With 128K Bytes of Isp Flash And CAN Controller.flash (Kbytes) 128 Vcc (V) 2.7-5.5 EEPROM (Kbytes) 4 SRAM (bytes) 4K CAN (mess. Obj.) 15
Manufacturer
ATMEL Corporation
Datasheet
Programming Algorithm
Entering Programming Mode
Leaving Programming Mode
Performing Chip Erase
4250C–CAN–03/04
including the first read byte. This ensures that the first data is captured from the first
address set up by PROG_COMMANDS, and reading the last location in the page
makes the program counter increment into the next page.
Figure 165. Flash Data Byte Register
The state machine controlling the Flash Data Byte Register is clocked by TCK. During
normal operation in which eight bits are shifted for each Flash byte, the clock cycles
needed to navigate through the TAP controller automatically feeds the state machine for
the Flash Data Byte Register with sufficient number of clock pulses to complete its oper-
ation transparently for the user. However, if too few bits are shifted between each
Update-DR state during page load, the TAP controller should stay in the Run-Test/Idle
state for some TCK cycles to ensure that there are at least 11 TCK cycles between each
Update-DR state.
All references below of type “1a”, “1b”, and so on, refer to Table 135.
1. Enter JTAG instruction AVR_RESET and shift 1 in the Reset Register.
2. Enter instruction PROG_ENABLE and shift 0b1010_0011_0111_0000 in the Pro-
1. Enter JTAG instruction PROG_COMMANDS.
2. Disable all programming instructions by using no operation instruction 11a.
3. Enter instruction PROG_ENABLE and shift 0b0000_0000_0000_0000 in the
4. Enter JTAG instruction AVR_RESET and shift 0 in the Reset Register.
1. Enter JTAG instruction PROG_COMMANDS.
2. Start Chip Erase using programming instruction 1a.
3. Poll for Chip Erase complete using programming instruction 1b, or wait for
gramming Enable Register.
programming Enable Register.
t
WLRH_CE
(refer to Table 148 on page 369).
TDO
TDI
D
A
A
T
Machine
State
STROBES
ADDRESS
EEPROM
Lock Bits
Fuses
Flash
AT90CAN128
349

Related parts for AT90CAN128-16AE