Using STM32 Microcontrollers and the ST-Link Programmer in Linux

Introduction

STM32 is a series of ARM-based microcontrollers from STMicroelectronics. ST makes a USB-based programming and debugging adapter called the ST-Link, now available in its second version. The official software for using these programmers is only available for windows, but some third-party tools have been written for Linux

The ST-Link v1 uses a mass-storage-based USB protocol that emulates a 32MB storage device and uses special SCSI commands for controlling the device. This works under windows, but does not work properly under Linux since the kernel will send extra commands to it thinking it is a real mass storage device. The ST-Link v2 uses a protocol implemented directly on top of USB and can be accessed from userspace with libusb without these problems

Linux tools

-- StephenCavilia - 25 May 2012

This topic: Computers/Linux > WebHome > STLinkSTM32
Topic revision: 25 May 2012, StephenCavilia
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding CodenamePending? Send feedback