Difference between revisions of "Core STM32 Startup Guide"
From Microduino Wiki
(7 intermediate revisions by 5 users not shown) | |||
Line 5: | Line 5: | ||
* Download Maple IDE on | * Download Maple IDE on | ||
− | + | **[https://github.com/wasdpkj/Microduino-IDE/ github] | |
* Although the document says Maple only supports WinXP 32-bit, but you can also run it on Windows 7 or Windows 8 with some workaroud. | * Although the document says Maple only supports WinXP 32-bit, but you can also run it on Windows 7 or Windows 8 with some workaroud. | ||
[[File:01_download_maple.png|thumb|center|600px|Download Maple IDE]] | [[File:01_download_maple.png|thumb|center|600px|Download Maple IDE]] | ||
Line 18: | Line 18: | ||
=== If you ar using Windows 7 64bit or Windows 8 === | === If you ar using Windows 7 64bit or Windows 8 === | ||
− | + | ||
= Programming Microduino-CoreSTM32 = | = Programming Microduino-CoreSTM32 = | ||
− | * Make sure you have already installed driver of CoreSTM32 | + | * Make sure you have already installed driver of CoreSTM32.If you use the upper software, you should installed all the packate for STM32 module. |
− | |||
− | |||
* 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. | ||
Line 32: | Line 30: | ||
If you have a ST-Link debugger or a STMicroelectronics' Discovery board, you can debug and download programs using ST-Link. | 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 | + | '''ST-Link Debugger connection''' |
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
− | ! SWD Pin !! Pin Name !! CoreSTM32 Pin !! Description | + | ! SWD Pin !! JTAG Pin !! Pin Name !! CoreSTM32 Pin !! MCU Pin !! Description |
|- | |- | ||
− | | 1 || VDD_TARGET || 3V3 || VDD from the CoreSTM32 | + | | 1 || 1 || VDD_TARGET || 3V3 || VDD || VDD from the CoreSTM32 |
|- | |- | ||
− | | 2 || SW_CLK || D6 || SWD Clock | + | | 2 || 9 || SW_CLK || D6 || PA14 || SWD Clock |
|- | |- | ||
− | | 3 || GND || GND || Ground | + | | 3 || 8 || GND || GND || GND || Ground |
|- | |- | ||
− | | 4 || SWDIO || D5 || SWD Data input/output | + | | 4 || 7 || SWDIO || D5 || PA13 || SWD Data input/output |
|- | |- | ||
− | | 5 || NRST || RST || Reset | + | | 5 || 15 || NRST || RST || NRST || Reset |
|- | |- | ||
− | | 6 || SWO || D8 || TRACESWO if async trace enabled, not necessary | + | | 6 || 13 || SWO || D8 || PB3 || TRACESWO if async trace enabled, not necessary |
|} | |} | ||
Line 54: | Line 52: | ||
* Download and install STM32 Flash loader demonstrator from http://www.st.com/web/en/catalog/tools/PF257525 | * Download and install STM32 Flash loader demonstrator from http://www.st.com/web/en/catalog/tools/PF257525 | ||
− | |||
* Plug CoreARM on USB2TTL module, connect the USB2TTL module(NOT CoreARM) to your computer. | * Plug CoreARM on USB2TTL module, connect the USB2TTL module(NOT CoreARM) to your computer. | ||
Latest revision as of 01:50, 8 July 2016
ContentsSetup Microduino-CoreSTM32 with Maple IDE (Windows)
If you ar using Windows 7 64bit or Windows 8Programming 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
|