ATA6613-EK Atmel, ATA6613-EK Datasheet - Page 16

no-image

ATA6613-EK

Manufacturer Part Number
ATA6613-EK
Description
BOARD DEMO LIN-MCM FOR ATA6613
Manufacturer
Atmel
Datasheets

Specifications of ATA6613-EK

Main Purpose
Interface, LIN + MCU
Embedded
Yes, MCU, 8-Bit
Utilized Ic / Part
ATA6613
Primary Attributes
LIN-SBC (System-Basis-Chip) Transceiver, LIN 2.0, Voltage Regulator, Window Watchdog
Secondary Attributes
16 kB Flash, 4 Power Modes: Pre-Normal, Normal, Sleep, Silent, 48-QFN
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
4. Programming and Debugging the ATA6612/ATA6613
4.1
4.2
4.3
16
Programming the ATA6612/ATA6613
Debugging the ATA6612/ATA6613
Separating the Microcontroller and the LIN SBC for Debugging Purposes
ATA6612/ATA6613
The easiest way to program and to debug the ATA6612/ATA6613 is to use the AVR Studio
environment together with the STK
Integrated Development Environment (IDE) for writing and debugging AVR applications in
Windows
tool, source file editor, chip simulator, and in-circuit emulator interface for the powerful AVR
8-bit RISC family of microcontrollers.
Connect the selected hardware (STK500 or JTAG-ICE MkII) to the ISP header of the
ATA6612/ATA6613 - EK via the 6-wire cable. Pin “1” is marked with two little triangles on the
board.
In the AVR Studio, the two devices ATA6612 and ATA6613 are not listed in the supported
devices list, as they contain the standard devices Atmega88 and Atmega168 respectively. So
to program the ATA6612, select the Atmega88 and to program the ATA6613, select the
ATmega168.
For further information about using the STK500, the JTAG-ICE MkII or the AVR Studio, refer
to the relevant documentation, which is available on the web.
Combined with AVR Studio, the JTAGICE MkII can perform on-chip debugging on all AVR
8-bit RISC microcontrollers with JTAG Interface or debugWIRE interface. The ATA6612 and
ATA6613 come with a debugWIRE interface so only a minimum of 3 wires is required for com-
munication between JTAGICE MkII and the board. These Signals are RESET, VCC and GND.
The debugWIRE on-chip debug system uses a one-wire bi-directional interface to control the
program flow, execute AVR instructions in the CPU, and to program the different non-volatile
memories. For debugging via debugWIRE, the reset line is used and the jumper NRES has to
be removed as the JTAG ICE mkII needs exclusively access to this line.
For more detailed information about debugging via the debugWIRE interface, refer to the rele-
vant documentation, which is available on the web.
For testing and/or debugging purposes sometimes it might be helpful to handle both integrated
ICs completely independently from each other. In this way, it is much easier to locate the
source of an occurring error.
To achieve a system with no connections between the microcontroller and the LIN SBC is
easy, as there are no internal connections between both ICs. Just the following three things
have to be done:
• Remove the jumper PVCC in order to remove the voltage supply to the controller.
• Remove the 0 resistors BR1 and BR2 in order to avoid the microcontroller to be supplied
• Remove the jumpers NRES, NTRIG, and EN.
over the internal protection structure.
®
9x/Me/NT/2000/XP environments. AVR Studio provides a project management
®
500 or the JTAG-ICE MkII from Atmel. AVR Studio is an
9127A–AUTO–05/08

Related parts for ATA6613-EK