It has a different layout from the ones that are commonly used in the tutorials I've been trying to follow. I cannot for the life of me get it to upload from the Arduino IDE. I have followed the instructions from this site and have tired various different things. These are the settings I'm trying :
Board : "Generic STM32F103 Series"
Varient : "STM32F103C8 20k RAM. 64k Flash"
CPU Speed(MHz) : "72Mhz (Norma)"
Upload Method : "Serial"
Optimize : "Smallest (Default)"
Port : "/dev/cu.wchusbserial640"
Programmer : "AVRISP mkll"
The jumper pins are in a different place on this board but I'm just assuming the arrangement of the pins for program mode is the same as the others because when I set the jumpers and reset the default blink that came on the board stops.
I am using this USB to Serial with the following connections ...
RXD > A9
TXD > A10
VC > 3V ( on the four pins at the end of the STM32 board )
GND > G ( on the four pins at the end of the STM32 board )
I'm using Arduino 1.8.3 and I get the following error in the Arduino IDE console
Code: Select all
Failed to init device. stm32flash Arduino_STM32_0.9 http://github.com/rogerclarkmelbourne/arduino_stm32 Using Parser : Raw BINARY Interface serial_posix: 230400 8E1