Difference between revisions of "Core STM32 Startup Guide"
From Microduino Wiki
Line 27: | Line 27: | ||
* Run Maple IDE, click menu Tools -> Board, select Microduino-CoreSTM32 to RAM if you just want to test the program, or Microduino-CoreSTM32 to Flash if you want to run the program after resetting the board. | * Run Maple IDE, click menu Tools -> Board, select Microduino-CoreSTM32 to RAM if you just want to test the program, or Microduino-CoreSTM32 to Flash if you want to run the program after resetting the board. | ||
+ | |||
+ | = Setup Microduino-CoreSTM32 with ST-Link debugger = | ||
+ | |||
+ | If you have a ST-Link debugger or a STMicroelectronics' Discovery board, you can debug and download programs using ST-Link. | ||
+ | |||
+ | ST-Link Debugger connection | ||
+ | {| class="wikitable" | ||
+ | |- | ||
+ | ! SWD Pin !! Pin Name !! CoreSTM32 Pin !! Description | ||
+ | |- | ||
+ | | 1 || VDD_TARGET || 3V3 || VDD from the CoreSTM32 | ||
+ | |- | ||
+ | | 2 || SW_CLK || D6 || SWD Clock | ||
+ | |- | ||
+ | | 3 || GND || GND || Ground | ||
+ | |- | ||
+ | | 4 || SWDIO || D5 || SWD Data input/output | ||
+ | |- | ||
+ | | 5 || NRST || RST || Reset | ||
+ | |- | ||
+ | | 6 || SWO || D8 || TRACESWO if async trace enabled, not necessary | ||
+ | |} | ||
= Download bootloader(firmware) using Microduino-USB2TTL = | = Download bootloader(firmware) using Microduino-USB2TTL = | ||
Line 49: | Line 71: | ||
* Wait for the progress finish. When the Flash loader promts "Download operation finished successfully", your Microduino-CoreSTM32 is OK to use! | * Wait for the progress finish. When the Flash loader promts "Download operation finished successfully", your Microduino-CoreSTM32 is OK to use! | ||
[[File:STM32 flash loader 5.png|thumb|center|600px|Flash loader - 5]] | [[File:STM32 flash loader 5.png|thumb|center|600px|Flash loader - 5]] | ||
+ | |||
+ | |||
|} | |} |
Revision as of 11:01, 12 July 2014
ContentsSetup Microduino-CoreSTM32 with Maple IDE (Windows)
http://leaflabs.com/docs/maple-ide-install.html#maple-ide-install
If you ar using Windows 7 64bit or Windows 8Try this http://wiki.leaflabs.com/Maple_IDE_Windows_8_Installation Programming Microduino-CoreSTM32
Setup Microduino-CoreSTM32 with ST-Link debuggerIf you have a ST-Link debugger or a STMicroelectronics' Discovery board, you can debug and download programs using ST-Link. ST-Link Debugger connection
Download bootloader(firmware) using Microduino-USB2TTL
|