STM32-H407 user`s manual

Transcription

STM32-H407 user`s manual
STM32-H407 development board
USER’S MANUAL
Document revision E, May 2016
Designed by OLIMEX Ltd, 2012
All boards produced by Olimex LTD are ROHS compliant
OLIMEX© 2016
STM32-H407 user's manual
DISCLAIMER
© 2016 Olimex Ltd. Olimex®, logo and combinations thereof, are registered trademarks of Olimex Ltd. Other product
names may be trademarks of others and the rights belong to their respective owners.
The information in this document is provided in connection with Olimex products. No license, express or implied
or otherwise, to any intellectual property right is granted by this document or in connection with the sale of
Olimex products.
This work is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License. To view a copy of
this license, visit http://www.creativecommons.org/licenses/by-sa/3.0/.
This hardware design by Olimex LTD is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported
License.
The software is released under GPL.
It is possible that the pictures in this manual differ from the latest revision of the board.
The product described in this document is subject to continuous development and improvements. All particulars of the
product and its use contained in this document are given by OLIMEX in good faith. However all warranties implied or
expressed including but not limited to implied warranties of merchantability or fitness for purpose are excluded. This
document is intended only to assist the reader in the use of the product. OLIMEX Ltd. shall not be liable for any loss or
damage arising from the use of any information in this document or any error or omission in such information or any
incorrect use of the product.
This evaluation board/kit is intended for use for engineering development, demonstration, or evaluation purposes only
and is not considered by OLIMEX to be a finished end-product fit for general consumer use. Persons handling the
product must have electronics training and observe good engineering practice standards. As such, the goods being
provided are not intended to be complete in terms of required design-, marketing-, and/or manufacturing-related
protective considerations, including product safety and environmental measures typically found in end products that
incorporate such semiconductor components or circuit boards.
Olimex currently deals with a variety of customers for products, and therefore our arrangement with the user is not
exclusive. Olimex assumes no liability for applications assistance, customer product design, software performance, or
infringement of patents or services described herein.
THERE IS NO WARRANTY FOR THE DESIGN MATERIALS AND THE COMPONENTS
USED TO CREATE STM32-H407. THEY ARE CONSIDERED SUITABLE ONLY FOR
STM32-H407.
Page 2 of 30
OLIMEX© 2016
STM32-H407 user's manual
Table of Contents
DISCLAIMER............................................................................................................. 2
CHAPTER 1 OVERVIEW......................................................................................... 5
1. Introduction to the chapter.......................................................................................................5
1.1 Features.....................................................................................................................................5
1.2 H407 or E407?..........................................................................................................................6
1.3 Target market and purpose of the board...............................................................................6
1.4 Organization.............................................................................................................................6
CHAPTER 2 SETTING UP THE STM32-H407 BOARD.......................................7
2. Introduction to the chapter.......................................................................................................7
2.1 Electrostatic warning...............................................................................................................7
2.2 Requirements........................................................................................................................... 7
2.3 Powering the board..................................................................................................................8
2.4 Prebuilt software......................................................................................................................8
CHAPTER 3 STM32-H407 BOARD DESCRIPTION............................................ 9
3. Introduction to the chapter.......................................................................................................9
3.1 Layout (top view).....................................................................................................................9
3.2 Layout (bottom view).............................................................................................................10
CHAPTER 4 THE STM32F407ZGT6 MICROCONTROLLER......................... 11
4. Introduction to the chapter..................................................................................................... 11
4.1 The STM32F407ZGT6 features............................................................................................11
CHAPTER 5 CONTROL CIRCUITY AND HARDWARE MODULES.............13
5. Introduction to the chapter.....................................................................................................13
5.1 Reset........................................................................................................................................13
5.2 Clocks......................................................................................................................................13
CHAPTER 6 CONNECTORS AND PINOUT....................................................... 14
6. Introduction to the chapter.....................................................................................................14
6.1 JTAG/SWD debug................................................................................................................. 14
6.2 SD/MMC slot..........................................................................................................................14
6.3 UEXT module.........................................................................................................................15
6.4 USB HOST..............................................................................................................................16
6.5 USB_OTG...............................................................................................................................16
6.6 Arduino platform................................................................................................................... 16
6.7 20-pin connectors – PD – PE – PF – PG.............................................................................. 18
6.8 PWR Jack...............................................................................................................................19
6.9 Battery connector...................................................................................................................19
6.10 U3BOOT...............................................................................................................................19
6.11 Jumper description.............................................................................................................. 19
Page 3 of 30
OLIMEX© 2016
STM32-H407 user's manual
6.11.1 PWR_SEL................................................................................................................................ 19
6.11.2 B1_1/B1_0 and B0_1/B0_0...................................................................................................... 20
6.11.3 R-T............................................................................................................................................ 20
6.11.4 3.3V_E....................................................................................................................................... 20
6.11.5 AGND_E................................................................................................................................... 20
6.11.6 AREF_EN................................................................................................................................. 21
6.12 Additional hardware components...................................................................................... 21
CHAPTER 7 HOW TO USE THE BOARD WITH ARDUINO IDE...................22
CHAPTER 8 BLOCK DIAGRAM AND MEMORY.............................................23
8. Introduction to the chapter.....................................................................................................23
8.1 Processor family block diagram........................................................................................... 23
8.2 Physical memory map........................................................................................................... 24
CHAPTER 9 SCHEMATICS...................................................................................25
9. Introduction to the chapter.....................................................................................................25
9.1 Eagle schematic......................................................................................................................25
9.2 Physical dimensions...............................................................................................................27
CHAPTER 10 REVISION HISTORY AND SUPPORT........................................28
10. Introduction to the chapter...................................................................................................28
10.1 Document revision............................................................................................................... 28
10.2 Board's revision....................................................................................................................28
10.3 Useful web links and purchase codes.................................................................................29
10.4 Product support................................................................................................................... 30
Page 4 of 30
OLIMEX© 2016
STM32-H407 user's manual
CHAPTER 1 OVERVIEW
1. Introduction to the chapter
Thank you for choosing the STM32-H407 single board computer from Olimex! This document
provides a user’s guide for the Olimex STM32-H407 board. As an overview, this chapter gives the
scope of this document and lists the board’s features. The differences between the members of the
OLIMEX STM32 F407 boards are mentioned. The document’s organization is then detailed.
The STM32-H407 development board enables code development of applications running on the
microcontroller STM32F407ZGT6, manufactured by STMicrocontrollers.
1.1 Features
 STM32F407ZGT6 Cortex-M4 210DMIPS, 1MB Flash, 196KB RAM, 3×12-bit 2.4 MSPS
A/D, 2×12-bit D/A converters, USB OTG HS and USB OTG HS, Ethernet, 14 timers, 3 SPI,
3 I2C, Ethernet, 2 CANs, 3 12 bit ADCs, 2 12 bit DACs, 114 GPIOs, Camera interface
 JTAG connector with ARM 2×10 pin layout for programming/debugging
 UEXT connector
 USB host
 USB-OTG
 SD-card
 Input DCDC power supply which allows operation from 6-16VDC source
 Power and user LEDs
 Reset and user buttons
 Arduino shield platform with provided headers
 4 full 20-pin ports with the external memory bus for add-on modules
 PCB: FR-4, 1.5 mm (0,062"), soldermask, silkscreen component print
 Dimensions: 90×76 mm (3.54×3")
Page 5 of 30
OLIMEX© 2016
STM32-H407 user's manual
1.2 H407 or E407?
The major difference between STM32-H407 and STM32-E407 is that the latter has built-in
Ethernet (physical level transceiver Micrel). STM32-E407 also features an extra USB-OTG and a
number of SMD jumpers on the bottom which help the user to control the multiplexing on some
pins easier. STM32-E407 has 2 x USB-OTG both with a miniUSB interface. STM32-H407 has 1x
USB-OTG and 1x USB-HOST with the On-The-Go interfaced by miniUSB and the HOST by USB
type A connector.
If you need built-in Ethernet check the STM32-E407.
1.3 Target market and purpose of the board
STM32-H407 is a development board featuring a powerful ARM Cortex-M4F microcontroller with
the most important peripherals, interfaces and connectors mounted and ready to use. The board can
be powered by a number of different sources, can be programmed via two different interfaces, has a
TON of GPIO pins available on a number of headers. The board's Arduino platform headers give
another option for enthusiasts who wish to implement support for Arduino/Maple/Pinguino shields
giving the board additional features altogether with the option to add Olimex extension modules on
the OLIMEX UEXT.
All of the above options make the board quite versatile and suitable for numerous tasks and
situations. The power of ARM and the creativity of OLIMEX come at the best price and the wellknown quality.
Every ARM enthusiast would see STM32-H407 as an interesting bargain and quite capable board
for its low price.
1.4 Organization
Each section in this document covers a separate topic, organized as follow:
– Chapter 1 is an overview of the board usage and features
– Chapter 2 provides a guide for quickly setting up the board
– Chapter 3 contains the general board diagram and layout
– Chapter 4 describes the component that is the heart of the board: the STM32F207ZET6
microcontroller
– Chapter 5 is an explanation of the control circuitry associated with the microcontroller to
reset. Also shows the clocks on the board
– Chapter 6 covers the connector pinout, peripherals and jumper description
– Chapter 7 gives advice on how to use the board with Arduino IDE
– Chapter 8 shows the memory map
– Chapter 9 provides the schematics
– Chapter 10 contains the revision history, useful links and support information
Page 6 of 30
OLIMEX© 2016
STM32-H407 user's manual
CHAPTER 2 SETTING UP THE STM32-H407 BOARD
2. Introduction to the chapter
This section helps you set up the STM32-H407 development board for the first time.
Please consider first the electrostatic warning to avoid damaging the board, then discover the
hardware and software required to operate the board.
The procedure to power up the board is given, and a description of the default board behavior is
detailed.
2.1 Electrostatic warning
STM32-H407 is shipped in a protective anti-static package. The board must not be exposed to high
electrostatic potentials. A grounding strap or similar protective device should be worn when
handling the board. Avoid touching the component pins or any other metallic element.
2.2 Requirements
In order to set up the STM32-H407 optimally, the following items are required:
- JTAG or SWD interface programmer/debugger – can power the board and gives the ability to
program/debug the board – to choose the correct programmer be sure that you are aware what
software tools you are going to use when programming STM32-H407, and that the programmer
supports STM32F407 processor.
Additional components can be acquired in order to increase the functionality of the board:
- External power supply
- SD-card or USB-mini cable or extensive UEXT modules are recommended but not required
- 3.7V Battery
- MOD-XXXX boards for additional features on the UEXT (RTC, TC, GSM, MP3, RS-485 among
others) – note that you will have to implement the software setup between the boards
- Arduino/Maple/Pinguino shields – every shield is hardware compatible with H407 but will not
work out-of-the-box, software implementation should be considered
Some of the suggested items can be purchased by Olimex, for instance:
ARM-USB-TINY-H – high-speed OpenOCD ARM JTAG debugger
ARM-USB-OCD-H – high-speed OpenOCD ARM JTAG debugger with buffer protection
USB-MINI-CABLE – USB mini to USB-A cable
BATTERY-LIPO1400MAH – lithium-polymer battery 1400mAh
SY0612E – power supply adapter 12V/0.5A for iMX233-STM32-H407
Page 7 of 30
OLIMEX© 2016
STM32-H407 user's manual
2.3 Powering the board
The board is powered in one of the following ways: 1) by PWR jack, 2) by JTAG/SWD
programmer, 3) by USB-OTG.
The PWR jack should be supplied from a 6V to 16V source with maximum current of 1A from the
power jack. Without additional components and peripherals (no microSD card mounted, nothing
connected to the USB, etc.) the typical consumption is 30mA @ 12V. For the European customers
we sell an affordable power supply adapter 12V/0.5A – SY0612E.
It is worth mentioning that the board can NOT be powered by the battery connector. The battery
connected keeps some of the processor's functions remain intact (hibernate) during power down but
it provides insufficient power for the board to operate properly. For example the RTC doesn't lose
the values when there is a battery connected.
2.4 Prebuilt software
Upon powering initially the board's red PWR LED and the green PWR LED should turn on.
Page 8 of 30
OLIMEX© 2016
STM32-H407 user's manual
CHAPTER 3 STM32-H407 BOARD DESCRIPTION
3. Introduction to the chapter
In this chapter you will get acquainted with the main parts of the board. Note the names used on the
board differ from the names used to describe them. For the actual names check the STM32-H407
board itself.
The board comes with a bag with 4 headers for the Arduino/Maple/Pinguino platform which were
left unsoldered in case you don't wish to use those environments or you don't plan on using shields.
There is also a bag of 4 rubber pads which can be placed in the 4 corner holes of the board. That
way the board will be safe from short-circuiting on the bottom if placed on low-resistance surface.
The placement stability of the board will also increase.
3.1 Layout (top view)
Page 9 of 30
OLIMEX© 2016
STM32-H407 user's manual
3.2 Layout (bottom view)
On the bottom there are three tables printed – general jumper table, boot mode jumper table, power
mode jumper table. The default positions of the tables are also shown.
Page 10 of 30
OLIMEX© 2016
STM32-H407 user's manual
CHAPTER 4 THE STM32F407ZGT6 MICROCONTROLLER
4. Introduction to the chapter
In this chapter is located the information about the heart of STM32-H407 – its Cortex-M4F
microcontroller. The information is a modified version of the datasheet provided by its
manufacturers from ST.
4.1 The STM32F407ZGT6 features
 Core: ARM 32-bit Cortex™-M4 CPU with FPU, Adaptive real-time accelerator (ART
Accelerator™) allowing 0-wait state execution from Flash memory, frequency up to 168
MHz, memory protection unit, 210 DMIPS/1.25 DMIPS/MHz (Dhrystone 2.1), and DSP
instructions
 Memories
 1 Mbyte of Flash memory
 192+4 Kbytes of SRAM including 64-Kbyte of CCM (core coupled memory) data RAM
 Flexible static memory controller supporting Compact Flash, SRAM, PSRAM, NOR
and NAND memories
 LCD parallel interface, 8080/6800 modes
 Clock, reset and supply management
 1.8 V to 3.6 V application supply and I/Os
 POR, PDR, PVD and BOR
 4-to-26 MHz crystal oscillator
 Internal 16 MHz factory-trimmed RC (1% accuracy)
 32 kHz oscillator for RTC with calibration
 Internal 32 kHz RC with calibration
 Sleep, Stop and Standby modes
 VBATsupply for RTC, 20×32 bit backup registers + optional 4 KB backup SRAM
 3×12-bit, 2.4 MSPS A/D converters: 24 channels and 7.2 MSPS in triple interleaved mode
 2×12-bit D/A converters
 General-purpose DMA: 16-stream DMA controller with FIFOs and burst support
 Up to 17 timers: up to twelve 16-bit and two 32-bit timers up to 168 MHz, each with up to 4
IC/OC/PWM or pulse counter and quadrature (incremental) encoder input
 Debug mode
 Serial wire debug (SWD) & JTAG interfaces
 Cortex-M4 Embedded Trace Macrocell™
 114 I/O ports with interrupt capability
 Up to 15 communication interfaces
 3 × I2C interfaces (SMBus/PMBus)
 4 USARTs/2 UARTs (10.5 Mbit/s, ISO 7816 interface, LIN, IrDA, modem control)
 3 SPIs (37.5 Mbits/s), 2 with muxed full-duplex I2S to achieve audio class accuracy via
internal audio PLL or external clock
 2 × CAN interfaces (2.0B Active)
 SDIO interface
 Advanced connectivity
 USB 2.0 full-speed device/host/OTG controller with on-chip PHY
Page 11 of 30
OLIMEX© 2016





STM32-H407 user's manual
 USB 2.0 high-speed/full-speed device/host/OTG controller with dedicated DMA, onchip full-speed PHY and ULPI
 10/100 Ethernet MAC with dedicated DMA: supports IEEE 1588v2 hardware,
MII/RMII
8- to 14-bit parallel camera interface up to 54 Mbytes/s
True random number generator
CRC calculation unit
96-bit unique ID
RTC: subsecond accuracy, hardware calendar
For comprehensive information on the microcontroller visit the ST’s web page for a datasheet.
At the moment of writing the microcontroller datasheet can be found at the following link:
document DM00037051
Page 12 of 30
OLIMEX© 2016
STM32-H407 user's manual
CHAPTER 5 CONTROL CIRCUITY AND HARDWARE MODULES
5. Introduction to the chapter
Here you can find information about reset circuit and quartz crystals locations, the power supply
circuit is discussed.
5.1 Reset
STM32-H407's reset circuit includes R21 (10KΩ), R19 (1 KΩ), C35 (100nF) and a RESET button.
5.2 Clocks
There are two quartz crystals available on the board:
12 MHz quartz crystal Q1 is connected to pins 23 and 24 of the CORTEX-M4F processor.
Quartz crystal Q2 is a 32 768Hz RTC (real-time clock) and is connected to pins 8 and 9. 5.3 Power
supply circuit
The power supply circuit of STM32-H407 allows flexible input supply from 6V to 16V direct
current. This means a wide range of power supplies, adapters, converters are applicable. The
maximum amperage the board can draw is 1A.
The Li-Po battery connector cannot be used to fully power the board. Its function is to give an
option to save internal data if the board needs to be relocated. It will keep the RTC alive, for
instance.
If you have successfully powered the board the red PWR LED will turn on. Note that it is possible
to have the PWR LED on even if there isn't enough power for proper operation of the board and all
the peripherals currently connected.
Page 13 of 30
OLIMEX© 2016
STM32-H407 user's manual
CHAPTER 6 CONNECTORS AND PINOUT
6. Introduction to the chapter
In this chapter are presented the connectors that can be found on the board all together with their
pinout and notes about them. Jumpers functions are described. Notes and info on specific
peripherals are presented. Notes regarding the interfaces are given.
Note that slashed signals (xxxx/yyyy) in the tables below might mean either multiplexing between
signals or port name correspondence on the processor.
6.1 JTAG/SWD debug
The board can be debugged from the 20-pin JTAG connector either by a JTAG or a SWD
compatible debugger. Below is the table of the JTAG. This interface can be used with the Olimex's
OpenOCD debuggers.
JTAG/SWD interface
Pin #
Signal
Name
Signal
Name
Pin #
1
+3.3V
11
-
2
+3.3V
12
GND
3
PB4/TRST
13
PB3/TDO
4
GND
14
GND
5
PA15/TDI
15
PB4/TRST
6
GND
16
GND
7
PA13/TMS
17
-
8
GND
18
GND
9
PA14/TCK
19
+5V_JTAG
10
GND
20
GND
6.2 SD/MMC slot
The microSD card slot is a standard 8pin connector.
We have tested a number of microSD cards on the STM32-H407 boards and all of them worked
fine regardless manufacturer or capacity. However, keep in mind that some of the lower quality
microSD cards might draw too much current from the slot which might cause power-state problems.
If you suspect the microSD card is causing problems please try using another one of better quality
for better results.
Page 14 of 30
OLIMEX© 2016
STM32-H407 user's manual
microSD card connector
Pin #
Signal Name
1
DAT2/RES
2
CD/DAT3/CS
3
CMD/DI
4
VDD
5
SCL/SCLK
6
VSS
7
DAT0/RES
8
DAT1/RES
Notice that the pad numeration is written at the bottom of STM32-H407 under the microSD card
connector.
When removing the card, please make sure that you release it from the connector by pushing and
NOT by pulling the card directly (this can damage both the connector and the microSD card).
6.3 UEXT module
STM32-H407 board has UEXT connector and can interface Olimex's UEXT modules.
For more information on UEXT please visit:
https://www.olimex.com/Products/Modules/UEXT/
UEXT connector
Pin #
Wire Name
Microcontroller port
1
3.3V
-
2
GND
-
3
PC6/USART6_TX
PC6
4
PC7/USART6_RX
PC7
5
PB8/I2C1_SCL
PB8
6
PB9/I2C1_SDA
PB9
7
PC2/SPI2_MISO
PC2
8
PC3/SPI2_MOSI
PC3
9
PB10/SPI2_SCK/UART3_TX
PB10
10
RB7/UEXT_CS
PB7
Page 15 of 30
OLIMEX© 2016
STM32-H407 user's manual
6.4 USB HOST
The big advantage of having USB hosts available over USB devices is that you can as well use
them as masters. A USB host may implement multiple host controllers and each host controller may
provide one or more USB ports.
Note DFU bootloader uses the host USB port, and a "USB A-A" cable is required.
The signals follow the familiar and standard USB host pattern:
USB 2-level host
PIN#
SIGNAL NAME
1
+5V_HOST_PWR
2
USB_HOST_D-
3
USB_HOST_D+
4
GND
6.5 USB_OTG
USB On-The-Go, often abbreviated USB OTG, is a specification that allows USB devices such as
digital audio players or mobile phonesto act as a host allowing a USB flash drive, mouse, or
keyboard to be attached and also connecting USB peripherals directly for communication purposes
among them.
Pin #
Signal Name
1
+5V_OTG_PWR
2
USB_OTG_D-
3
USB_OTG_D+
4
PB12/OTG_HS_ID
5
GND
6.6 Arduino platform
The Arduino/Maple platform connectors (2×6 pin and 2×8 pin plastic headers) are not mounted but
are included in the package. The reasons for not mounting the headers on the pin holes are two: first
you might not need them if you do not wish to experiment with Arduino/Maple software; second
there are two rows depending on the shield you might want to use the difference between the two
rows is the distance between the two digital rows one is made according to the Arduino shield
standard (e.g. you want to mount the row there if using Arduino certified shield), the other one is
adjusted properly at 100mil step (e.g. you want to solder the digital pins here if using properly
adjusted shields).
The pinhole names are printed near the actual pinhole on the top of the board.
Page 16 of 30
OLIMEX© 2016
STM32-H407 user's manual
Arduino platform pinholes
CON1
CON2
Pin Signal Name
Processor
pin#
Pin Signal Name
Processor pin#
RST
RST
25
A0
PC0
26
3V3
3.3V
-
A1
PC1
27
5V
5V
-
A2
PB0
46
GND
GND
-
A3
PB1
47
GND
GND
-
A4
PC4
44
VIN
VIN
-
A5
PC5
45
Arduino platform pinholes
CON3
CON4
Pin Signal Name
Processor pin#
Pin Signal Name
Processor pin#
D0
PA3/USART_RX
37
D8
PA1
35
D1
PA2/USART_TX
36
D9
PB11
70
D2
PG7
92
D10 PA4
40
D3
PG8
93
D11 PA7
43
D4
PG12
127
D12 PA6
42
D5
PG13
128
D13 PA5
41
D6
PG14
129
GND AGND
31
D7
PG15
132
AREF AREF
32
Page 17 of 30
OLIMEX© 2016
STM32-H407 user's manual
6.7 20-pin connectors – PD – PE – PF – PG
The 4×20-pin connectors combine different processor ports and provide very nice GPIO option –
you can use them with your breadboarding wires, you can mount headers, you can take measures,
etc, etc.
Note that all 4 headers come without connectors (unlike the UEXT or the JTAG) and connectors are
not included in the package (unlike the Arduino platform). However they follow the standard
100mil step connectors – not hard to find and mount/solder if needed etc.
PD
Pin #
PE
Signal Name Pin # Signal Name Pin # Signal Name
Pin #
Signal Name
1
+3.3V
11
PD8
1
+3.3V
11
PE8
2
GND
12
PD9
2
GND
12
PE9
3
PD0
13
PD10
3
PE0
13
PE10
4
PD1
14
PD11
4
PE1
14
PE11
5
PD2
15
PD12
5
PE2
15
PE12
6
PD3
16
PD13
6
PE3
16
PE13
7
PD4
17
PD14
7
PE4
17
PE14
8
PD5
18
PD15
8
PE5
18
PE15
9
PD6
19
+5V
9
PE6
19
+5V
10
PD7
20
GND
10
PE7
20
GND
PF
Pin #
Signal
Name
PG
Pin #
Signal Name
Pin #
Signal
Name
Pin #
Signal Name
1
+3.3V
11
PF8
1
+3.3V
11
PG8
2
GND
12
PF9
2
GND
12
PG9
3
PF0
13
PF10
3
PG0
13
PG10
4
PF1
14
PF11
4
PG1
14
PG11
5
PF2
15
PF12
5
PG2
15
PG12
6
PF3
16
PF13
6
PG3
16
PG13
7
PF4
17
PF14
7
PG4
17
PG14
8
PF5
18
PF15
8
PG5
18
PG15
9
PF6
19
+5V
9
PG6
19
+5V
10
PF7
20
GND
10
PG7
20
GND
Page 18 of 30
OLIMEX© 2016
STM32-H407 user's manual
6.8 PWR Jack
The power jack used is the typical 2.5mm one used by Olimex in most of our products. You should
provide between 6 and 16 volts @ 1A to the board.
Pin #
Signal Name
1
Power Input
2
GND
More info about the power supply can be found in chapters 2 and 5 of this manual.
6.9 Battery connector
When using the battery connector keep in mind that it is an energy solution that wouldn't be able to
power the board and all the peripherals!
It help keeping information in the processor if you need to transport the board from one power
supply to other.
Pin #
Signal Name
1
VBAT
2
GND
The pin names are also written on the bottom of the board in the base of the connector.
6.10 U3BOOT
U3BOOT are 3 pinholes set on USART3 and are named on the bottom – GND, RX, TX3 and notice
there are two vias near them which are actually VCC and can be used if connecting U3BOOT. More
information about booting over UART can be found in the processor's datasheet.
6.11 Jumper description
Please note some of the jumpers on the board are SMD type. If you feel insecure in your
soldering/cutting technique it is better not to try adjusting SMD jumpers.
Also if you feel incapable of removing the PTH jumper with hand better use tweezers. We do.
6.11.1 PWR_SEL
PWR_SEL is important PTH jumper allowing easy switching of input current. If you are powering
the board via the PWR_JACK set it to position 1-2 (default → to the edge of the board).
If powering from the JTAG/SWD set the jumper in position 3-4 (middle position).
Page 19 of 30
OLIMEX© 2016
STM32-H407 user's manual
If powering from the USB-OTG set it in 5-6 position (to the tall capacitor C46)
The default position is 1-2.
6.11.2 B1_1/B1_0 and B0_1/B0_0
B1_1/B1_0 and B0_1/B0_0 are PTH jumpers which can be moved relatively easy.
Notice that these two jumpers must be moved together – they are responsible for the boot mode if
bootloader is present. The board can search for bootloader on three places – User Flash Memory,
System Memory or the Embedded SRAM.
If B0_0 is closed the board will try to boot from User Flash Memory.
If B0_1 is closed there are two variants depending on the state of B1_1/B1_0 jumper – if B0_1 is
closed and B1_0 is closed the board will try to boot from System Memory. If B0_1 is closed and
B1_1 is closed bootloader must be located in the Embedded SRAM.
The default positions are B0_0 and B1_0 (Boot from User Flash Memory).
6.11.3 R-T
This is SMD type jumper.
If you close/solder this jumper RST and TRST at the JTAG will be connected.
The default position is open/unsoldered.
6.11.4 3.3V_E
This is SMD type jumper.
Board digital power will be disabled if open/unsoldered
The default position is closed.
6.11.5 AGND_E
This is SMD type jumper.
If open/unsoldered will disable analog ground.
The default position is closed.
Page 20 of 30
OLIMEX© 2016
STM32-H407 user's manual
6.11.6 AREF_EN
This is SMD type jumper.
If open/unsoldered will disable ADC reference.
The default position is closed.
6.12 Additional hardware components
The components below are mounted on STM32-H407 but are not discussed above. They are listed
here for completeness:
Reset button – used for hardware reset of the board
WKUP button – can be used as user button
User LED + Power LED
Page 21 of 30
OLIMEX© 2016
STM32-H407 user's manual
CHAPTER 7 HOW TO USE THE BOARD WITH ARDUINO IDE
In order to program the board with Arduino IDE you would need a mini USB cable. Note that you
you would also need to enter bootloader mode by manipulating the B1 and B0 jumpers.
1) Download and install latest Arduino IDE (1.6.8)
2) Go to: File --> Preferences --> Additional Boards Manager URLs and add the url of our STM32
board support package:
https://raw.githubusercontent.com/OLIMEX/Arduino_configurations/master/package_olimex_stm_i
ndex.json
3) Navigate to Tools --> Board --> Boards manager...
4) Select "Olimex STM32 boards" --> Install (if Arduino SAM Boards package is not installed it
will download the compiler so it will take some time)
5) Select: Tools --> Board --> STM32-E407
6) Select: File --> Examples --> STM32E407 --> <choose one of the examples>
7) Run the bootloader mode of the board (change the jumpers to to B0 -> 1; B1 -> 0 and reset the
board)
7.1) If the device is not recognized by the Windows install driver (WinUSB
v6.1.7600.16385) using zadig installer (download link: http://zadig.akeo.ie/)
8) Compile and upload the sketch
9) Run the normal mode of the board (again change jumpers B0 -> 0; B1 -> 0 and reset the board)
10) The uploaded sketch should now be executing; to upload new code go to step 7)
Page 22 of 30
OLIMEX© 2016
STM32-H407 user's manual
CHAPTER 8 BLOCK DIAGRAM AND MEMORY
8. Introduction to the chapter
Below you can find a memory map for this family of processors. It is strongly recommended to
refer to the original datasheet released by STMicroelectronics for one of higher quality.
8.1 Processor family block diagram
Page 23 of 30
OLIMEX© 2016
STM32-H407 user's manual
8.2 Physical memory map
Page 24 of 30
OLIMEX© 2016
STM32-H407 user's manual
CHAPTER 9 SCHEMATICS
9. Introduction to the chapter
In this chapter are located the schematics describing logically and physically STM32-H407.
9.1 Eagle schematic
STM32-H407 schematic is visible for reference here. You can also find them on the web page for
STM32-H407 at our site: https://www.olimex.com/Products/ARM/ST/STM32-H407/. They are
located in HARDWARE section.
The EAGLE schematic is situated on the next page for quicker reference.
Page 25 of 30
OLIMEX© 2016
STM32-H407 user's manual
100nF C26
100nF C25
100nF C24
100nF C23
100nF C22
100nF C21
100nF C20
100nF C19
10uF/6.3V C18
0R
C13
2.2uF/6.3V
C27
2.2uF/6.3V
VDD_1
VDD_2
VDD_3
VDD_4
VDD_5
VDD_6
VDD_7
VDD_8
VDD_9
VDD_10
VDD_11
VDD_12
VDD_SA
71
VCAP_1
106
130
120
94
83
61
51
16
38
107
WF2S
3.3V_A
B0_1/B0_0
HN1x3(B0_1:Open;B0_0:Close)
33
AREF_EN
1
C28
C29
10uF/6.3V
100nF
1
2
3
3.3V
2
R16
AREF
32
C30
15R
Close
100nF
31
VBAT
R17
3.3V
10k/1%
T1107A-6_3.8_2.5
3
GND
C31
C32
1k
RESET
3.3V
R25
R26
R28
NA
NA
NA
+5V
1
3
5
7
9
11
13
15
17
19
2
4
6
8
10
12
14
16
18
20
R24
NA
R27
R29
NA
NA
PG1
PG3
PG5
PG7/D2
PG9
PG11
PG13/D5
PG15/D7
PF
3.3V
+5V
1
3
5
7
9
11
13
15
17
19
R18
NA
24
RST
100nF
NA(BH20S)
PF0
PF2
PF4
PF6
RF8
PF10
PF12
PF14
27pF
C35
PG
PG0
PG2
PG4
PG6
PG8/D3
PG10
PG12/D4
PG14/D6
23
R20
150R
Q12.000MHz/HC-49SM(SMD)/20pF
RST
138
27pF
Q1
R21
RESET 1
6
BOOT0
4.7k
R19
U6
NA
2 VCC
2
4
6
8
10
12
14
16
18
20
R9
PB14/OTG_HS_DM
R10
C8
47pF(NA)
PF1
PF3
PF5
PF7
PF9
PF11
PF13
PF15
25
PG0
PG1
PG2
PG3
PG4
PG5
PG6
PG7/D2
PG8/D3
FSMC_NE2/FSMC_NCE3 PG9
FSMC_NCE4_1/FSMC_NCE3 PG10
F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USART3_TX
PC11/UART4_RX/SPI3_MISO/SDIO_D3/DCMI_D4/USART3_RX
PC12/UART5_TX/SDIO_CK/DCMI_D9/SPI3_MOSI/I2S3_SD/USART3_CK
PC13/RTC_AF1
PC14/OSC32_IN
PC15/OSC32_OUT
VSSA
VBAT
BOOT0/VPP
PH0/OSC_IN
PH1/OSC_OUT
NRST
PG0/FSMC_A10
PG1/FSMC_A11
PG2/FSMC_A12
PG3/FSMC_A13
PG4/FSMC_A14
PG5/FSMC_A15
PG6/FSMC_INT2
PG7/FSMC_INT3/USART6_CK
PG8/USART6_RTS/ETH_PPS_OUT
PG9/USART6_RX/FSMC_NE2/FSMC_NCE3
PG10/FSMC_NCE4_1/FSMC_NE3
PG11/FSMC_NCE4_2/ETH_MII_TX_EN
PG12/FSMC_NE4/USART6_RTS
PG13/FSMC_A24/USART6_CTS/ETH_MII_TXD0/ETH_RMII_TXD0
PG14/FSMC_A25/USART6_TX/ETH_MII_TXD1/ETH_RMII_TXD1
PG15/USART6_CTS/DCMI_D13
PD0/FSMC_D2/CAN1_RX
PD1/FSMC_D3/CAN1_TX
PD2/TIM3_ETR/UART5_RX/SDIO_CMD/DCMI_D11
PD3/FSMC_CLK/USART2_CTS
PD4/FSMC_NOE/USART2_RTS
PD5/FSMC_NWE/USART2_TX
PD6/FSMC_NWAIT/USART2_RX
PD7/USART2_CK/FSMC_NE1/FSMC_NCE2
PD8/FSMC_D13/USART3_TX
PD9/FSMC_D14/USART3_RX
PD10/FSMC_D15/USART3_CK
PD11/FSMC_A16/USART3_CTS
PD12/FSMC_A17/TIM4_CH1/USART3_RTS
PD13/FSMC_A18/TIM4_CH2
PD14/FSMC_D0/TIM4_CH3
PD15/FSMC_D1/TIM4_CH4
PF0/FSMC_A0/I2C2_SDA
PF1/FSMC_A1/I2C2_SCL
PF2/FSMC_A2/I2C2_SMBA
PF3/FSMC_A3/ADC3_IN9
PF4/FSMC_A4/ADC3_IN14
PF5/FSMC_A5/ADC3_IN15
PF6/TIM10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12 FSMC_A17
PD13 FSMC_A18
PD14 FSMC_D0
PD15 FSMC_D1
G ND
114
115
116
117
118
119
122
123
77
78
79
80
81
82
85
86
PE0
PE1
PE2
PE3
PE4
PE5
PE6
PE7
PE8
PE9
PE10
PE11
PE12
PE13
PE14
PE15
141
142
1
2
3
4
5
58
59
60
63
64
65
66
67
68
GND_PIN
C48 10nF
C49 3.3nF
MP1482DS
R40
2.2k
L5
10uH/2.3A/YS75/7x8
+5V_OTG_PWR
+5V_JTAG
+5V_EXT
5
3
1
PWR_SEL
6
4
2
4
1
HN2x3(1-2:Close)
R42
4.99k/1%
R41
1.1k/1%
C43
C50
C51
22uF/6.3V
22uF/6.3V
100uF/16V/mini
3.3V
2
C39
22uF/6.3V
U7
IN
EN
LX
FB
GND
SY8008C(AA)C
3
L6
2.2uH/3A/YS75/7x8
1
C38
R38
1.1k/1%
C41
22uF/6.3V
22uF/6.3V
C44
C42
220uF/16V/mini
100nF
AGND_E
2
1
Close
Page 26 of 30
+
1
2
3
4
5
6
7
8
D8
D9
D10
D11
D12
D13
GND
AREF
R30
4.7k
UEXT
1
3
5
7
9
PC6/USART6_TX
PB8/I2C1_SCL
PC2/SPI2_MISO
PB10/SPI2_SCK/UART3_TX
BH10R
2
4
6
8
10
3.3V
R31
4.7k
PC7/USART6_RX
PB9/I2C1_SDA
PC3/SPI2_MOSI
RB7/UEXT_CS
R32
47k/1%
PD
3.3V
PD0
PD2/SD_CMD
PD4
PD6
PD8
PD10
PD12
PD14
1
3
2
4
6
8
10
12
14
16
18
20
R23 5
NA 7
9
11
13
15
17
19
+5V
PD1
PD3
PD5
PD7
PD9
PD11
PD13
PD15
NA(BH20S)
PE
1
3
5
7
9
11
13
15
17
19
3.3V
2
4
6
8
10
12
14
16
18
20
PE1
PE3
PE5
PE7
PE9
PE11
PE13
PE15
USART3_TX
USART3_RX
3
GND
NA(HN1X3)
U3BOOT
WKUP
T 1107A-6_3.8_2.5
R34
1k
C40
D0
D1
D2
D3
D4
D5
D6
D7
NA(BH20S)
2
R33
4.99k/1%
A0
A1
A2
A3
A4
A5
C36 100nF
+5V
Close
22pF
RST
3V3
5V
GND
GND
VIN
PB10/SPI2_SCK/UART 3_TX 1
RB11/D9/UART 3_RX
2
3.3V_E
5
USB-OTG
U4
CON4
NA(PN1X8)
3.3V
USB
100nF C4
NA(PN1X8)
PA1/D8
RB11/D9/UART3_RX
PA4/D10/SPI1_NSS
PA7/D11/SPI1_MOSI
PA6/D12/SPI1_MISO
PA5/D13/SPI1_SCK
AGND
AREF
PE0
PE2
PE4
PE6
PE8
PE10
PE12
PE14
LED/RED/0603
1
3
5
6
1
2
3
4
5
6
7
8
USART3_TX
USART3_RX
3.3V
PWR_LED
IN
BS
EN
SW
SS
FB
GND COMP
1
2
3
4
5
6
NA(PN1X6)
CON3
3.3V
+
C47
8
4
100nF
+ C46
470uF/25V/LOWESR/105C
D4
SMBJ16A
2
47k 7
+
U8
R39
NA(PN1X6)
CON2
PC0/A0
PC1/A1
PB0/A2
PB1/A3
PC4/A4
PC5/A5
PA3/USART2_RX
PA2/USART2_TX
PG7/D2
PG8/D3
PG12/D4
PG13/D5
PG14/D6
PG15/D7
FSMC_NBL0
FSMC_NBL1
FSMC_A23
FSMC_A19
FSMC_A20
FSMC_A21
FSMC_A22
FSMC_D4
FSMC_D5
FSMC_D6
FSMC_D7
FSMC_D8
FSMC_D9
FSMC_D10
FSMC_D11
FSMC_D12
+5V
PWR_JACK
YDJ-1136
3.3V
+5V
3.3V
3.3V
PB0/A2
PB1/A3
R15
PB2
PB3/TDO
4.7k
PB4/TRST
PB5/USB_HS_FAULT
PB6/USB_FS_FAULT
RB7/UEXT_CS
PB8/I2C1_SCL
PB9/I2C1_SDA
PB10/SPI2_SCK/UART3_TX
RB11/D9/UART3_RX ETH_RMII_TX_EN
PB12/OTG_HS_ID
PB13/OTG_HS_VBUS
PB14/OTG_HS_DM
PB15/OTG_HS_DP
26
27
28
29
44
45
96
97
98
99
111
112
113
7
8
9
L3
1
2
3
4
5
6
VIN
VBUS
DD+
ID
GND
FB0805/600R/ 200mA(201209-601)
RST
ETH_RMII_REF_CLK
ETH_RMII_MDIO
ETH_RMII_MDINT
POWER SUPPLY CIRCUIT
VIN
6-16VDC
USB_OTG
CON1
PA0/WKUP
PA1/D8
PA2/USART2_TX
PA3/USART2_RX
PA4/D10/SPI1_NSS
PA5/D13/SPI1_SCK
PA6/D12/SPI1_MISO
PA7/D11/SPI1_MOSI
PA8/USB_HS_VBUSON
PA9/OTG_FS_VBUS
PA10/USB_FS_VBUSON
PA11/OTG_FS_DM
PA12/OTG_FS_DP
PA13/TMS
PA14/TCK
PA15/TDI
SHIELD
USB_A_VERTICAL
USB_OTG
C11
34
35
36
37
40
41
42
43
100
101
102
103
104
105
109
110
L2
FB0805/600R/200mA(201209-601)
+5V_OTG_PWR
USB_OTG_DUSB_OTG_D+
PB12/OTG_HS_ID
100uF/35V/LOWESR/105C/6.3x11mm_RM 2.5
VCAP_2
VREF+
MIC2026-1YM
3.3V
NA(ESDA6V1L)
PA0/WKUP/USART2_CTS/USART4_TX/ETH_MII_CRS/TIM2_CH1_ETR/TIM5_CH1/TIM8_ETR/ADC123_CH0
PA1/USART2_RTS/USART4_RX/ETH_RMII_REF_CLK/ETH_MII_RX_CLK/TIM5_CH2/TIM2_CH2/ADC123_IN1
PA2/USART2_TX/TIM5_CH3/TIM9_CH1/TIM2_CH3/ETH_MDIO/ADC123_IN2
PA3/USART2_RX/TIM5_CH4/TIM9_CH2/TIM2_CH4/OTG_HS_ULPI_D0/ETH_MII_COL/ADC123_IN3
PA4/SPI1_NSS/SPI3_NSS/USART2_CK/DCMI_HSYNC/OTG_HS_SOF/I2S3_WS/ADC12_IN4/DAC1_OUT
PA5/SPI1_SCK/OTG_HS_ULPI_CK/TIM2_CH1_ETR/TIM8_CHIN/ADC12_IN5/DAC2_OUT
PA6/SPI1_MISO/TIM8_BKIN/TIM13_CH1/DCMI_PIXCLK/TIM3_CH1/TIM1_BKIN/ADC12_IN6
PA7/SPI1_MOSI/TIM8_CH1N/TIM14_CH1/TIM3_CH2/ETH_MII_RX_DV/TIM1_CH1N/RMII_CRS_DV/ADC12_IN7
PA8/MCO1/USART1_CK/TIM1_CH1/I2C3_SCL/OTG_FS_SOF
PA9/USART1_TX/TIM1_CH2/I2C3_SMBA/DCMI_D0/OTG_FS_VBUS
PA10/USART1_RX/TIM1_CH3/OTG_FS_ID/DCMI_D1
PA11/USART1_CTS/CAN1_RX/TIM1_CH4/OTG_FS_DM
PA12/USART1_RTS/CAN1_TX/TIM1_ETR/OTG_FS_DP
PA13/JTMS-SWDIO
PA14/JTCK-SWCLK
PA15/JTDI/SPI3_NSS/I2S3_WS/TIM2_CH1_ETR/SPI1_NSS
VDDA
33k
33k
8
ENA
OUT_A 7
FLAG_A
IN 6
FLAG_B
GND 5
ENB
OUT_B
+5V_OTG_PWR
USB_OTG_DUSB_OTG_D+
PB12/OTG_HS_ID
D2
PB12/OTG_HS_ID
VSS_11
VSS_10
VSS_9
VSS_8
VSS_7
VSS_6
VSS_5
VSS_4
VSS_2
RM4G2
RM4G1
NA(USBLC6-2P6)
5
6
15R
1
2
3
4
GND1
GND2
R8
PB15/OTG_HS_DP
U2
3.3V
USB
PB13/OTG_HS_VBUS
22uF/6.3V
33k
33k
GND3
GND4
MICRO
+5V
RM4G4
RM4G3
NA(ESDA6V1L)
PA10/USB_FS_VBUSON
PB6/USB_FS_FAULT
PB5/USB_HS_FAULT
PA8/USB_HS_VBUSON
1
2
3
4
POWER
R11
0R(board_mounted)
R14
NA
10uF/6.3V C17
1
2
100nF C16
3V_BAT
10uF/6.3V C15
L4
FB0805/600R/200mA(201209-601)
10uF/6.3V C14
BAT54C
D3
72
108
143
39
17
52
62
84
95
121
131
30
144
NA(USBLC6-2P6)
100uF/35V/LOWESR/105C/6.3x11mm_RM 2.5
ANALOG
CD/DAT3/CS
CMD/DI
VSS
VDD
CLK/SCLK
DAT0/DO
DAT1/RES
DAT2/RES
U5
STM32F407ZGT6
3.3V
100nF
USB_HOST
+5V_HOST_PWR
USB_HOST_DUSB_HOST_D+
C3
D1
NA(2xPN1x6_2xPN1x8)
22uF/6.3V
47pF(NA)
PA10/USB_FS_VBUSON
PB6/USB_FS_FAULT
PB5/USB_HS_FAULT
PA8/USB_HS_VBUSON
SD/MMC CARD
JTAG
C5
DIGITAL
C45
C2
+5V_HOST_PWR
USB_HOST_DUSB_HOST_D+
1
2
3
C6
33k
33k
RM1G3
L1
C7
47pF(NA)
R7
1M SD/MMC
USB_HOST
U1
6
5
4
ARDUINO: SH PLATFORM
PB4/TRST
1
15R
C1
2
3
6
4
5
7
8
1
PC12/SD_CLK
PC8/SD_D0
PC9/SD_D1
PC10/SD_D2
R-T
R4
DIGITAL
2
PC11/SD_D3
PD2/SD_CMD
PB3/TDO
RST
0R(board_mounted)
100nF C12
NA(10k)
15R
PA12/OTG_FS_DP
0R
100nF
10k
10k
R2
+
10k RM2G2
RM3G2
RM3G1
PB4/TRST
PA15/TDI
PA13/TMS
PA14/TCK
R1
PA11/OTG_FS_DM
NA(10k)
NA(10k)
RM3G3
R6
NA
RM2G3
NA(10k)
PA9/OTG_FS_VBUS
3.3V
R3
NA
R12
R13
+5V_JTAG
RM2G1
NA(10k)
RM1G2
RM2G4
NA(10k)
RM1G1
R5
NA
3.3V
1
2
3
1
3
5
7
9
11
13
15
17
19
RM1G4
JTAG
BH20R
3.3V 3.3V
CL470nH/0805/1.76R/250mA
2
4
6
8
10
12
14
16
18
20
33k
3.3V 3.3V
33k
3.3V
3.3V
BUTTON and LED
3.3V
R35
1k
C37
100nF
R36
1k
R37
47k/1%
PA0/WKUP
STM32-H407_Rev_B1
OLIMEX LTD PLOVDIV
http://www.olimex.com
LED
LED/GREEN/0603
LED
OLIMEX© 2016
STM32-H407 user's manual
9.2 Physical dimensions
Note that all dimensions are in millimeters.
The three highest elements on the board in order from the tallest to the shortest are: capacitor C46 –
17.2mm (0.677'') over the pcb; USB host connectors – 14.3mm (0.563''); capacitors C11 and C3 –
11.5mm (0.453'').
Note that the above measures does not include the PCB.
Page 27 of 30
OLIMEX© 2016
STM32-H407 user's manual
CHAPTER 10 REVISION HISTORY AND SUPPORT
10. Introduction to the chapter
In this chapter you will find the current and the previous version of the document you are reading.
Also the web-page for your device is listed. Be sure to check it after a purchase for the latest
available updates and examples.
10.1 Document revision
Revision,
Date
Changes
Modified Page#
A,
20.07.12
Initial Creation
All
B,
25.07.12
Page 6 – Added comparison details
Page 16 – Table error
6
16
C,
14.02.13
All pages – formatting
Added info about the DFU bootloader
All
17
D,
27.11.13
Formatting fixes
Updated disclaimer and warranty
information
E,
18.05.16
Fixed wrong entry about UEXT pin #10
Updated links
10.2 Board's revision
Revision,
Date
B1,
07.06.12
Revision Notes
Initial release
Page 28 of 30
All
2, 28
15
OLIMEX© 2016
STM32-H407 user's manual
10.3 Useful web links and purchase codes
The web page you can visit for more info on your device is
https://www.olimex.com/Products/ARM/ST/STM32-H407/.
You can get the latest updates on the software at: https://github.com/OLIMEX/STM32F4.
ORDER CODES:
STM32-H407 – the version of the board discussed in this document
STM32-E407 – the version of the board featuring Ethernet
ARM-USB-TINY-H – OpenOCD compatible high-speed debugger/programmer with JTAG
interface
ARM-USB-OCD-H – OpenOCD compatible debugger/programmer with JTAG interface,
protection buffers and better power supply circuit
SY0612E – power supply adapter 12V/0.5A for STM32-H407 – 220V (European compatibility)
How to order?
You can order directly from us or purchase from any of our distributors. List of Olimex distributors
may be found here: https://www.olimex.com/Distributors/.
Please check https://www.olimex.com/ for more information.
Page 29 of 30
OLIMEX© 2016
STM32-H407 user's manual
10.4 Product support
For product support, hardware information and error reports mail to: support@olimex.com. All
document or hardware feedback is welcome. Note that we are primarily a hardware company and
our software support is limited. Please consider reading the paragraph below about the warranty of
Olimex products.
All goods are checked before they are sent out. In the unlikely event that goods are faulty,
they must be returned, to OLIMEX at the address listed on your order invoice.
OLIMEX will not accept goods that have clearly been used more than the amount needed to
evaluate their functionality.
If the goods are found to be in working condition, and the lack of functionality is a result of
lack of knowledge on the customers part, no refund will be made, but the goods will be returned
to the user at their expense.
All returns must be authorized by an RMA Number. Email support@olimex.com for authorization
number before shipping back any merchandise. Please include your name, phone number and order
number in your email request.
Returns for any unaffected development board, programmer, tools, and cables permitted within 7
days from the date of receipt of merchandise. After such time, all sales are considered final.
Returns of incorrect ordered items are allowed subject to a 10% restocking fee. What is
unaffected? If you hooked it to power, you affected it. To be clear, this includes items that
have been soldered to, or have had their firmware changed. Because of the nature of the
products we deal with (prototyping electronic tools) we cannot allow returns of items that have
been programmed, powered up, or otherwise changed post shipment from our warehouse.
All returned merchandise must be in its original mint and clean condition. Returns on damaged,
scratched, programmed, burnt, or otherwise 'played with' merchandise will not be accepted.
All returns must include all the factory accessories which come with the item. This includes
any In-Circuit-Serial-Programming cables, anti-static packing, boxes, etc.
With your return, enclose your PO#. Also include a brief letter of explanation of why the
merchandise is being returned and state your request for either a refund or an exchange.
Include the authorization number on this letter, and on the outside of the shipping box.
Please note: It is your responsibility to ensure that returned goods reach us. Please use a
reliable form of shipping. If we do not receive your package we will not be held liable.
Shipping and handling charges are not refundable. We are not responsible for any shipping
charges of merchandise being returned to us or returning working items to you.
The full text might be found at https://www.olimex.com/wiki/GTC#Warranty for future reference.
Page 30 of 30