Core STM32 Startup Guide

From Microduino Wiki
Revision as of 10:08, 12 July 2014 by Southwolf (talk)
Jump to: navigation, search

Setup Microduino-CoreSTM32 with Maple IDE (Windows)

  • Download Maple IDE on
   http://leaflabs.com/docs/maple-ide-install.html#maple-ide-install
  • 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.
Download Maple IDE
  • UnZip the Maple IDE into a folder, like C:\maple\
  • If you are using Windows XP, just plug Microduino-CoreSTM32 into your USB port, Open your Device Manager, you will see a Device named "Maple", with a yellow exclamation.
  • Right click on the Maple, Select "Update Driver". Click on "Not this time", then Next.
  • Select the following option: Install from a list or specific location (Advanced), and then click Next.
  • Select "Search for the best drivers in these locations", Click on "Include this location in the search, and then Browse into folder like "C:\maple\drivers", Click Next.
  • You should now have the CoreSTM32 driver installed.

If you ar using Windows 7 64bit or Windows 8

Try this http://wiki.leaflabs.com/Maple_IDE_Windows_8_Installation

Programming Microduino-CoreSTM32

  • Make sure you have already installed driver of CoreSTM32
  • Download and setup Microduino-CoreSTM32 hardware supporting package
  • 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.

Download bootloader(firmware) using Microduino-USB2TTL

  • Open Flash loader demonstrator, when you see the following dialog, press and hold the BUT button, then click the RESET button, and then release the BUT button. Then click "Next"
Flash loader - 1
  • Click Next again on this page
Flash loader - 2
  • Check if the Target is 128K, and all pages are UnProtected, click Next
Flash loader - 3
  • Select "Download to Device", browse to the "maple_mini_boot.bin", click Next
Flash loader - 4
  • Wait for the progress finish. When the Flash loader promts "Download operation finished successfully", your Microduino-CoreSTM32 is OK to use!
Flash loader - 5