Source

STM32F103C8T6 ARM STM32 Minimum System Development Board

1 Systeme

1.1 CooCox

1.2 Arduino STM32

https://github.com/rogerclarkmelbourne/Arduino_STM32

http://www.stm32duino.com/

1.2.1 Bootloader


https://github.com/rogerclarkmelbourne/STM32duino-bootloader

Binary available: pc13







STM32F103 based boards. Both medium and high density

1.3 Maple

http://www.leaflabs.com/about-maple/



2 CooCox + ST-Link V2 + stm32f10x

SWCLK

DCK

SWDIO

DIO

GND

GND

3.3V

3.3V












3 Source



#include "stm32f10x_gpio.h"
#include "stm32f10x_rcc.h"

GPIO_InitTypeDef GPIO_InitStructure;
void wait_ms(int t){
	volatile int i;
	for (i=0;i<t*2000;i++);
}
void setup_gpio(){
	  RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOC, ENABLE);
	  GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz;
	  GPIO_InitStructure.GPIO_Mode  = GPIO_Mode_Out_PP;
	  GPIO_InitStructure.GPIO_Pin   = GPIO_Pin_All ;
	  GPIO_Init(GPIOC, &GPIO_InitStructure);
}

int main(void){
  setup_gpio();
  while(1){
    GPIO_WriteBit(GPIOC,GPIO_Pin_13,Bit_SET);
    wait_ms(1000);
    GPIO_WriteBit(GPIOC,GPIO_Pin_13,Bit_RESET);
    wait_ms(1000);

  }
}

4 Links

Hello World

http://www.mikrocontroller.net/topic/350400#4042953 schematic reverse engineered; thx

http://www.buyincoins.com/item/45180.html#.VXx4sLylilM



Tutorial:

https://sites.google.com/site/learningeclipsearm/5-using-stm32-std-lib/b-digital-io-pins

http://www.element14.com/community/servlet/JiveServlet/previewBody/17030-102-1-52869/ARM%20System%20Developers%20Guide-Designing%20and%20Optimizing%20System%20Software.pdf



Kner 2011 /home/roland/Dropbox/home/50.arm/STM32F103C8T6 ARM STM32 Minimum System Development Board.odt 1/6