DIAMEX EXA-PROG Manual - Página 7

Navegue en línea o descargue pdf Manual para Adaptador DIAMEX EXA-PROG. DIAMEX EXA-PROG 13 páginas. Usb programming adapter for avr-isp, avr-updi, stm32, lpc, esp8266, esp32

EXA-PROG
USB programming adapter for AVR-ISP, AVR-UPDI, STM32, LPC, ESP8266, ESP32
Connection of an AVR Controller with ISP Interface
 DIP SWITCH: 2 = OFF, 3 = OFF, 4 = OFF
NOTICES, TIPS:
A few AVR controllers (e.g. AT90CAN32/64/128, ATMega64/128) have special programming pins PDI, PDO. Please
use these lines instead of MISO/MOSI (see data sheet).
EXA-PROG supports the adaptive SPI bitrate adjustment. An SPI bitrate set too high usually causes that the connected
AVR controller is not recognized. The rule says that the SPI bit rate can be a maximum of a quarter of the clock rate of
the controller. If no connection can be established with the set bit rate EXA-PROG automatically switches to lower bit
rates until the controller responds.
If the connected AVR controller does not respond anyway, please check the line connections first. MISO to MISO and
MOSI to MOSI (that gets confused very often), SCK to SCK and RESET to RESET. Are there no other components
connected to the programming lines? Any capacitor present on the RESET pin must be removed. Does the connected
microcontroller have a power supply? The AVR controller may be missing the system clock because the fuses are set
to external clock. In this case, a crystal can be connected to the XTAL pins of the controller or put on the clock signal
of PIN3 (OSC) of the 10-pin header on XTALIN or XTAL1 to generate the clock (see data sheet of the controller). The
default clock frequency on PIN3 of the ISP connector is approximately 1.3MHz.
EXA-PROG does not support ATXMega controllers with PDI interface as well as ATTiny controllers with TPI interface.
Connect only PIN2 to the circuit to be programmed if it does not have its own power supply and if the expected power
consumption does not exceed the maximum limit of the EXA-PROG.
For boards with a 6-pin ISP connector please use the optionally available adapter or connect your circuit to the 10-pin
ISP connector using appropriate jumper cables.
Connect the programming connector leads on the EXA-PROG directly to
the pins on the controller:
10 Pin Header
PIN1 (MOSI)
PIN5 (RESET)
PIN7 (SCK)
PIN9 (MISO)
optional:
PIN3 (OSC)
PIN10 (GND)
optional:
PIN2 (VCC)
The pin numbers of the AVR controller vary depending on the type and the shape of the case.
Please check out the data sheet in order to determine the pin numbers that match your con-
troller.
DIP switch 1: OFF = 3.3V, ON = 5V. Be sure to set the same voltage here your circuit is
running at. If the microcontroller is programmed in an external socket, both voltage values can
be set.
adapter 10-pin to 6-pin ISP
(optional accessories, not included with the EXA-
PROG)
AVR Controller
MOSI or PDI
RESET
SCK
MISO or PDO
XTAL1 (XTALIN)
GND
VCC
Page 7