1.ST-LINK/V2 USB driver for Windows 7, Vista and XP
http://www.st.com/web/en/catalog/tools/PF258167
2.STM32 ST-LINK utility
http://www.st.com/web/en/catalog/tools/PF258168
3.STM32F3 Discovery kit firmware package, including 28 examples and preconfigured projects for 4 different IDEs(STM32F3-Discovery_FW_V1.1.0)
http://www.st.com/web/en/catalog/tools/PF258154
下载1,2,3的文件
4.下载安装KeilMDK3.7
5.安装1,2,解压3.
6.如图所示,进入文件夹STM32F3-Discovery_FW_V1.1.0,打开Master_WorkSpace.uvmpw
7.Demo工程就是STM32F3的例程,将他设为活动工程,进行编译。
8.编译生成文件 Demo.hex
9打开STM32 ST-LINK Utility
File->Open 打开Demo.hex.
用USB连接PC和STM32F3 Discovery
Target->connect连接目标板
Target->rograme&Verify.
烧写OK。
就可以在板子上看到demo程序的运行。