DIAMEX EXA-PROG Руководство - Страница 9

Просмотреть онлайн или скачать pdf Руководство для Адаптер DIAMEX EXA-PROG. DIAMEX EXA-PROG 13 страниц. 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 STM32 Controller
 DIP SWITCH: 2 = ON, 3 = OFF, 4 = ON
NOTICES, TIPS:
So that the bootloader can be started it must be taken care of that BOOT1 (PB2) is at ground potential during the
RESET (no longer available with newer controller types). If the pin is not used otherwise you can connect it directly to
GND. Otherwise, please connect it to GND via a 10 kOhm resistor.
To program the STM32, it must be supplied with 3.3 volts. If the power consumption is no higher than 300mA the
controller (including the circuit) can also be supplied by the EXA-PROG.
Programming does not need a crystal connected to the STM32. The bootloader of the STM32 uses the internal RC
oscillator (HSI clock) to generate the system clock.
Unfortunately, the BOOT0 and RESET lines cannot be controlled with the programming tool "STM Flash-Loader". Do
not connect the lines BOOT0 and RESET. In this case you have to take care of activating the STM32 bootloader
yourself (BOOT0 to high, then RESET to low for a moment. This is also possible via the reset button on the EXA-
PROG.
If you develop your own programming tool the lines BOOT and RESET can be controlled via the signals DTR (BOOT)
and RTS (!RESET).
STM8 controllers are not supported by this programmer.
Connect the programming connector leads on the EXA-PROG directly to
the pins on the controller:
10 Pin Header
PIN1 (TXD)
PIN3 (BOOT)
PIN5 (RESET)
PIN9 (RXD)
PIN10 (GND)
optional:
PIN2 (VCC)
The pin numbers of the STM32 vary depending on the type and the shape of the case. Please
check out the data sheet of the STM32 in order to determine the pin numbers that match your
controller.
DIP switch 1: must be set to OFF = 3.3V.
STM32 Controller
USART1-RX (PA10)
BOOT0
RESET
USART1-TX (PA9)
GND
VCC
Page 9
Control
DTR
!RTS