Tag Archives: STM32

Control board PCBs arrived

We have now received our first control board PCBs from ITead Studio. It took two weeks from placing the order to receive the boards. ITead provides quite cheap services. You can get a 5cmx5cm 2-layer PCB at less than 2$ … Continue reading

Posted in Hardware | Tagged , , | 2 Comments

Designing a robot control board

Basic idea behind starting to create this board was to create an open and easy to develop platform with the latest technology. We started from scratch so that we could learn cool things but also because it gives us the … Continue reading

Posted in Hardware | Tagged , , | Leave a comment

Compiling STM32 examples in Linux

stm32-cortexm3-log

ST has quite a lot of source code examples for their evaluation boards introducing about all features of the boards. The downside is they support only commercial compilation environments, like IAR EWARM, MDK-ARM, RIDE, TASKING and TrueSTUDIO. The examples can … Continue reading

Posted in Tools | Tagged , | Leave a comment

OpenOCD with SWD

Bug

It’s often tricky to know what’s happening inside a microcontroller when everything is not going as planned. This post is about enabling GDB with chips providing the SWD interface, e.g. STM32 chips. For this you need an SWD dongle. If … Continue reading

Posted in Tools | Tagged , , , | Leave a comment

The cheapest SWD dongle: STM32 F1 discovery

stm32vl_discovery_small

There are two common big problems when playing with embedded software. How to get that to the chip and how to debug why nothing is happening. Many modern chips include a bootloader embedded in the ROM code that can program … Continue reading

Posted in Tools | Tagged , , , , | 4 Comments