Setup OLIMEXINO-STM32 to work with Arduino IDE

arduinostm32

Arduino IDE support Cortex-M ARM architecture and although STM32 is not “officially” included stm32duino.com has all the resources to add support for STM32 boards in Arduino.

This forum post explains what should be done step by step to setup and use OLIMEXINO-STM32 board with Arduino IDE.

Building an ARMGCC, Eclipse, OpenOCD toolchain for Windows tutorials

Image

Michael Moore sent us set of tutorials how to build ARMGCC, Eclipse, OpenOCD toolchain for Windows and how to debug STM32-E407 with ARM-JTAG-TINY-H.

Part1 – Introduction

Part2 – Setup ARMGCC

Part3 – Setup Eclipse

Part4 – Setup GDB / OpenOCD

Arduino Breadboarding with AVR-T32U4

Image

AVR-T32U4 is the easiest way to do breadboard projects with Arduino. With retail price of EUR 12.95 this is also the Arduino board with best price/performance ratio.

As you see from the picture above AVR-T32U4 snap perfectly to Breadboard-1 and it powers the two power buses with 3.3V and GND and you have access to all Arduino pins A0-A5 and D0-D13 on the breadboard area, so you can easily connect to LEDs, Servo Motors,  Sensors etc.

Here is step by step instructions what you have to do to get started.

1. Download Arduino IDE from http://arduino.cc/en/Main/Software; Unpack the downloaded zip file in main drive C:\arduino-1.0.4

2. Plug AVR-T32U4 to your PC and it will ask for drivers, point it to C:\arduino-1.0.4\drivers

3. After the drivers are installed run C:\arduino-1.0.4\arduino.exe

4. Select the board to be Arduino-Leonardo as per attached picture

Image

5. Right mouse click on “My computer” then select Properties-> Hardware-> Device Manager and check which virtual COM port is created when you plug AVR-T32U4.

Image

as you see on the picture in this case COM33 is created by Arduino-Leonardo

6. From Arduino menu select the com port as per attached picture:

Image

6. Open Blink LED project:

Image

7. Upload the sketch by click on -> button

Connect LED with longer led to D13 and shorter leg via 220 ohm to GND.

You should see the LED blinking as on this video: http://www.youtube.com/watch?v=M0cVerSNUDc

Congratulations you just complete your first Arduino project!

We also highly recommend you when you do prototype work to put USB-ISO between your Arduino and PC in this case even if you do some stupid like to make short on your Arduino board or put wrong voltage somewhere your PC will be always protected, so even if your Arduino board burn your computer will be safe.