Olimex Driver

  

Overview¶

  1. Olimex Driver Windows 7
  2. Olimex Motor Driver
  3. Olimex Mk2 Driver
  4. Olimex Drivers Ed

Yes, I'm using AVRdude 6.3. I have tried several other versions. 6.1, 5.11, 5.9 none would pick up the ISP MKII clone (the Olimex version) at all. I was hesitant to play with its driver, because it worked flawlessly with Atmel Studio 6.2 (but not with the ancient AVR studio 4). I have given up using the Olimex one for backup for legacy projects. OLIMEX Open Source Hardware Development Boards. STMP1-OLinuXino-LIME2 Industrial grade Linux Computer project took us almost an year of work to build proper software support for our hardware with mainline uboot and kernel.

Zephyr applications use the olimex_stm32_e407 board configurationto run on the OLIMEX-STM32-E407 open source hardware. It is based onthe STMicroelectronics STM32F407ZG ARM Cortex-M4 CPU.

Hardware¶

Information about the board can be found at theOLIMEX-STM32-E407 website and OLIMEX-STM32-E407 user manual.The ST STM32F407ZG Datasheet contains the processor’sinformation and the datasheet.

Olimex

Supported Features¶

The olimex_stm32_e407 board configuration supports the followinghardware features:

InterfaceControllerDriver/Component
NVICon-chipnested vectoredinterrupt controller
SYSTICKon-chipsystem clock
UARTon-chipserial port
GPIOon-chipgpio

Other hardware features are not supported by the Zephyr kernel.

Pin Mapping¶

LED¶

  • LED (green) = PC13
  • PWR_LED (red) = power

External Connectors¶

JTAG/SWD debug

PIN #Signal NamePin #Signal Name
1+3.3V11
2+3.3V12GND
3PB4 / TRST13PB3 / TDO
4GND14GND
5PA15 / TDI15PB4 / TRST
6GND16GND
7PA13 / TMS17
8GND18GND
9PA14 / TCK19+5V_JTAG
10GND20GND

UEXT

PIN #Wire NameSTM32F407 port
1+3.3V
2GND
3PC6/USART6_TXPC6
4PC7/USART6_RXPC7
5PB8/I2C1_SCLPB8
6PB9/I2C1_SDAPB9
7PC2/SPI2_MISOPC2
8PC3/SPI2_MOSIPC3
9PB10/SPI_SCK/UART3_TXPB10
10RB7/UEXT_CSPB7

Arduino Headers¶

CON1 power

PinSignal NameSTM32F407 Pin#
RSTRESET25
3V3VCC (3V3)N/A
5VVDD (5V)N/A
GNDGNDN/A
GNDGNDN/A
VINVINN/A

Olimex Driver Windows 7

CON2 analog

PinSignal NameSTM32F407 Pin#
A0PC026
A1PF618
A2PF719
A3PF820
A4PF921
A5PF1022

CON3 digital

PinSignal NameSTM32F407 Pin#
D0PB7/USART1_RX137
D1PB6/USART1_TX136
D2PE21
D3PE43
D4PE54
D5PR65
D6PG792
D7PG893

CON4 digital

PinSignal NameSTM32F407 Pin#
D8PG1235
D9PG1570
D10PA440
D11PB543
D12PA642
D13PA541
GNDAGND31
AREFAREF32

PD

PIN #Signal NamePin #Signal Name
1+3.3V11PD8
2GND12PD9
3PD013PD10
4PD114PD11
5PD2/SD_MMC15PD12
6PD316PD13
7PD417PD14
8PD518PD15
9PD619+5V
10PD720GND

PE

PIN #Signal NamePin #Signal Name
1+3.3V11PE8
2GND12PE9
3PE013PE10
4PE114PE11
5PE2/D215PE12
6PE316PE13
7PE4/D317PE14
8PE5/D418PE15
9PE6/D519+5V
10PE720GND

PF

PIN #Signal NamePin #Signal Name
1+3.3V11PF8/A3
2GND12PF9/A4
3PF013PF10/A5
4PF114PF11/A6
5PF215PF12
6PF316PF13
7PF417PF14
8PF518PF15
9PF6/A119+5V
10PF7/A220GND

PG

PIN #Signal NamePin #Signal Name
1+3.3V11PG8/D7
2GND12PG9
3PG013PG10/UEXT_CS
4PG114PG11/TX_EN
5PG215PG12/D8
6PG316PG13/TXD0
7PG417PG14/TXD1
8PG518PG15/D9
9PG619+5V
10PG7/D620GND

System Clock¶

OLIMEX-STM32-E407 has two external oscillators. The frequency ofthe slow clock is 32.768 kHz. The frequency of the main clockis 12 MHz. The processor can setup HSE to drive the master clock,which can be set as high as 168 MHz.

Programming and Debugging¶

The OLIMEX-STM32-E407 board does not include an embedded debug toolinterface. You will need to use ST tools or an external JTAG probe.In the following examples a ST-Link V2 USB dongle is used.

If you have an external JTAG probe compliant with the default Zephyr OpenOCDconfiguration, however, then applications for the olimex_stm32_e407 boardconfiguration can be built and flashed in the usual way (seeBuild an Application and Run an Application for more details).

Flashing an application to the Olimex-STM32-E407¶

Connect the ST-Link USB dongle to your host computer and to the JTAG port ofthe OLIMEX-STM32-E407 board. Then build and flash an application.

Here is an example for the Hello World application.

Run a serial host program to connect with your board:

After resetting the board, you should see the following message:

Debugging¶

Provided that you have a JTAG probe, you can debug an application in the usualway. Here is an example for the Hello World application.

High-speed 3-IN-1 fast USB ARM/ESP32 JTAG, USB-to-RS232 virtual port and powersupply 5VDC device.Official reference can be found here.

Contents

You can configure debugging tool using debug_tool option in“platformio.ini” (Project Configuration File):

If you would like to use this tool for firmware uploading, please changeupload protocol:

Olimex Motor Driver

More options:

Windows:
Mac:

macOS contains default FTDIUSBSerialDriver driver which conflicts withdebug tools which are based on this chip. FTDI Chip company recommendsremoving this default driver from a system. Everything should work aftersystem rebooting. See detailed instruction in official application note(Page 16, Section 4: Uninstalling FTDI Drivers on OS X)AN134: FTDI Drivers Installation guide for MAC OS X

Linux:

Please install “udev” rules 99-platformio-udev.rules. If you already installedthem before, please check that your rules are up-to-date or repeat steps.

Olimex ARM-USB-OCD-H JTAG 20-Pin ConnectorBoard JTAG PinDescription
1VCCPositive Supply Voltage — Power supply for JTAG interface drivers
4GNDDigital ground
5TDITest Data In pin
7TMSTest Mode State pin
9TCKJTAG Return Test Clock
13TDOTest Data Out pin
3RESETConnect this pin to the (active low) reset input of the target CPU (EN for ESP32)
NameDescription
CHIPS AllianceThe CHIPS Alliance develops high-quality, open source hardware designs relevant to silicon devices and FPGAs.
Espressif 32Espressif Systems is a privately held fabless semiconductor company. They provide wireless communications and Wi-Fi chips which are widely used in mobile devices and the Internet of Things applications.
Kendryte K210Kendryte K210 is an AI capable RISCV64 dual core SoC.
SiFiveSiFive brings the power of open source and software automation to the semiconductor industry, making it possible to develop new hardware faster and more affordably than ever before.
NameDescription
ArduinoArduino Wiring-based Framework allows writing cross-platform software to control devices attached to a wide range of Arduino boards to create all kinds of creative coding, interactive objects, spaces or physical experiences
Espressif IoT Development FrameworkESP-IDF is the official development framework for the ESP32 and ESP32-S Series SoCs.
FreeRTOSFreeRTOS is a real-time operating system kernel for embedded devices that has been ported to 40 microcontroller platforms
Freedom E SDKOpen Source Software for Developing on the SiFive Freedom E Platform
Kendryte FreeRTOS SDKKendryte SDK with FreeRTOS support
Kendryte Standalone SDKKendryte Standalone SDK without OS support
SimbaSimba is an RTOS and build framework with aims to make embedded programming easy and portable
WD-FirmwareThe WD Firmware package contains firmware applications and Processor Support Package (PSP) for various cores, alongside demos which support all features
Zephyr RTOSThe Zephyr Project is a scalable real-time operating system (RTOS) supporting multiple hardware architectures, optimized for resource constrained devices, and built with safety and security in mind

Olimex Mk2 Driver

Note

Olimex Drivers Ed

For more detailed board information please scroll tables below by horizontal.

NamePlatformDebugMCUFrequencyFlashRAM
AI Thinker ESP32-CAMEspressif 32ExternalESP32240MHz4MB320KB
ALKS ESP32Espressif 32ExternalESP32240MHz4MB320KB
AZ-Delivery ESP-32 Dev Kit C V4Espressif 32ExternalESP32240MHz16MB520KB
Adafruit ESP32 FeatherEspressif 32ExternalESP32240MHz4MB320KB
Arty FPGA Dev KitSiFiveOn-boardFE310450MHz16MB256MB
Briki ABC (MBC-WB) - ESP32Espressif 32ExternalESP32240MHz3.25MB320KB
Briki MBC-WB - ESP32Espressif 32ExternalESP32240MHz3.25MB320KB
D-duino-32Espressif 32ExternalESP32240MHz4MB320KB
DOIT ESP32 DEVKIT V1Espressif 32ExternalESP32240MHz4MB320KB
Dongsen Tech Pocket 32Espressif 32ExternalESP32240MHz4MB320KB
ESP32 FM DevKitEspressif 32ExternalESP32240MHz4MB320KB
ESP32 Pico KitEspressif 32ExternalESP32240MHz4MB320KB
ESP32vn IoT UnoEspressif 32ExternalESP32240MHz4MB320KB
ESPectro32Espressif 32ExternalESP32240MHz4MB320KB
ESPino32Espressif 32ExternalESP32240MHz4MB320KB
Espressif ESP-WROVER-KITEspressif 32On-boardESP32240MHz4MB320KB
Espressif ESP32 Dev ModuleEspressif 32ExternalESP32240MHz4MB320KB
FireBeetle-ESP32Espressif 32ExternalESP32240MHz4MB320KB
Frog Board ESP32Espressif 32ExternalESP32240MHz4MB320KB
Heltec WiFi LoRa 32Espressif 32ExternalESP32240MHz4MB320KB
Heltec WiFi LoRa 32 (V2)Espressif 32ExternalESP32240MHz8MB320KB
Heltec Wireless StickEspressif 32ExternalESP32240MHz8MB320KB
Hornbill ESP32 DevEspressif 32ExternalESP32240MHz4MB320KB
Hornbill ESP32 MinimaEspressif 32ExternalESP32240MHz4MB320KB
IoTaaP MagnoliaEspressif 32ExternalESP32240MHz4MB320KB
MH ET LIVE ESP32DevKITEspressif 32ExternalESP32240MHz4MB320KB
MH ET LIVE ESP32MiniKitEspressif 32ExternalESP32240MHz4MB320KB
Node32sEspressif 32ExternalESP32240MHz4MB320KB
NodeMCU-32SEspressif 32ExternalESP32240MHz4MB320KB
OLIMEX ESP32-DevKit-LiPoEspressif 32ExternalESP32240MHz4MB320KB
OLIMEX ESP32-EVBEspressif 32ExternalESP32240MHz4MB320KB
OLIMEX ESP32-GATEWAYEspressif 32ExternalESP32240MHz4MB320KB
Pycom LoPyEspressif 32ExternalESP32240MHz4MB320KB
Pycom LoPy4Espressif 32ExternalESP32240MHz4MB1.25MB
RVfpga: Digilent Nexys A7CHIPS AllianceOn-board320MHz16MB1.16MB
SG-O AirMonEspressif 32ExternalESP32240MHz4MB320KB
Silicognition wESP32Espressif 32ExternalESP32240MHz4MB320KB
Sipeed MAIX BiTKendryte K210ExternalK210400MHz16MB6MB
Sipeed MAIX BiT with MicKendryte K210ExternalK210400MHz16MB6MB
Sipeed MAIX GOKendryte K210ExternalK210400MHz16MB6MB
Sipeed MAIX ONE DOCKKendryte K210ExternalK210400MHz16MB6MB
Sipeed MAIXDUINOKendryte K210ExternalK210400MHz16MB6MB
Sipeed MF1 MF1Kendryte K210ExternalK210400MHz16MB6MB
SparkFun ESP32 ThingEspressif 32ExternalESP32240MHz4MB320KB
SparkFun LoRa Gateway 1-ChannelEspressif 32ExternalESP32240MHz4MB320KB
TTGO LoRa32-OLED V1Espressif 32ExternalESP32240MHz4MB320KB
TTGO LoRa32-OLED V2Espressif 32ExternalESP32240MHz4MB320KB
TTGO T-BeamEspressif 32ExternalESP32240MHz4MB1.25MB
TTGO T1Espressif 32ExternalESP32240MHz4MB320KB
VintLabs ESP32 DevkitEspressif 32ExternalESP32240MHz4MB320KB
WEMOS LOLIN D32Espressif 32ExternalESP32240MHz4MB320KB
WEMOS LOLIN D32 PROEspressif 32ExternalESP32240MHz4MB320KB
WEMOS LOLIN32Espressif 32ExternalESP32240MHz4MB320KB
WeMos D1 MINI ESP32Espressif 32ExternalESP32240MHz4MB320KB
WeMos WiFi and Bluetooth BatteryEspressif 32ExternalESP32240MHz4MB320KB
XinaBox CW02Espressif 32ExternalESP32240MHz4MB320KB
oddWires IoT-Bus IoEspressif 32ExternalESP32240MHz4MB320KB
oddWires IoT-Bus ProteusEspressif 32ExternalESP32240MHz4MB320KB