stm32 boards
Posted at 2014-10-10.
I've ended up with four STM32 boards at this point. I also have a JLink JTAG and an STLink clone as well as a pile of UART modules.
There's some interest in minimal boards on STM32 side as well. (Try to ignore the flaming and sniping in these threads.)
It's good to see what are really the critical parts to use with these chips in a design.
Olimex style board
LC technology "blue board".
This is a small STM32F103RBT6 breakout with USB, regulators, and JTAG. Kind of resembles Olimex STM32-H103 and other similar boards.
There is a JTAG connector and JLink was happy to talk to it. The 32k crystal also seems to be populated.
F103 black board
Another F103 board, this one stamped as JM Electronics.
I attached an USB uart dongle (CP2102) to this and stm32flash would detect it. The USB port by itself doesn't do anything useful (except power) out of the box.
The chip seems to report 128k Flash. Oversized memory areas compared to the text on the chip aren't apparently uncommon.
$ stm32flash /dev/ttyUSB0
stm32flash 0.3
http://stm32flash.googlecode.com/
Serial Config: 57600 8E1
Version : 0x22
Option 1 : 0x00
Option 2 : 0x00
Device ID : 0x0410 (Medium-density)
- RAM : 20KiB (512b reserved by bootloader)
- Flash : 128KiB (sector size: 4x1024)
- Option RAM : 16b
- System RAM : 2KiB
Resetting device... done.
Maple style board
Leaflabs Maple based board stamped Baite electronics.
This has the maple bootloader and dfu-util appears to work nicely with it. I flashed in a USB serial test program and at least the communication part of it works fine.
Libmaple or Rambutan may be a Free alternative to the STM32 libraries.
ChibiOS would probably be even more useful.
F030 blue board
An F0 board. Not quite as clean as the others.
This responded via the UART pins to stm32flash.
$ stm32flash /dev/ttyUSB0
stm32flash 0.3
http://stm32flash.googlecode.com/
Serial Config: 57600 8E1
Version : 0x31
Option 1 : 0x00
Option 2 : 0x00
Device ID : 0x0444 (STM32F030/F031)
- RAM : 8KiB (4096b reserved by bootloader)
- Flash : 64KiB (sector size: 4x1024)
- Option RAM : 12b
- System RAM : 3KiB
Resetting device... failed.
STLink
LC technology STLink debugger dongle. I haven't managed to use it for anything yet. It does detect, but texane/stlink doesn't connect to it. OpenOCD shows some signs of action, but I haven't got far with that.