Difference between revisions of "Using ChibiStudio"

From uGFX Wiki
Jump to: navigation, search
(First start of Chibistudio)
Line 1: Line 1:
This documentation will cover the installation of ChibiStudio, ugfx and st-linkV2 for [http://www.mikroe.com/mikromedia/stm32-m4/ mikromedia STM32F4 board]. But, if you use another board/programmer it's should be working with some modifications. For the moment, ChibiStudio is only available for Windows. If you want to install it on Linux or OSX please refer to the official site of chibios.
+
This documentation will cover the installation of ChibiStudio, ugfx and st-linkV2 for [http://www.mikroe.com/mikromedia/stm32-m4/ mikromedia STM32F4 board]. But, if you use another board/programmer it's should be working with some modifications. For the moment, ChibiStudio is only available for Windows 32 bits. If you want to install it on Linux or OSX please refer to the official site of chibios.
 +
 
 +
Be careful, if you use Windows 64 bits, you need to install java in 32 bits or ChibiStudio will not start.
  
  
Line 82: Line 84:
  
  
ChibiStudio needs java. If you don't installed it before, we could see this warning :
+
ChibiStudio needs java. If you don't installed it before or have Windows 64 bits with java 64 bits, you will see this warning :
  
 
[[File:no-java.png|300px]]
 
[[File:no-java.png|300px]]
Line 92: Line 94:
  
 
[[File:chibi-IDE.png|300px]]
 
[[File:chibi-IDE.png|300px]]
 +
 +
 +
=== create the first demo project ===
 +
 +
Close the welcome screen. ChibiStudio is provided with two workspace. One for the chibios 3 unstable and one for  chibios 2. As the version 3 is not stable you need to switch to version 2. To do it, go the the file menu, switch workspace and select '''c:\chibistudio\workspace26'''.
 +
 +
[[File:switchworkspace.png|300px]]

Revision as of 19:22, 18 June 2015

This documentation will cover the installation of ChibiStudio, ugfx and st-linkV2 for mikromedia STM32F4 board. But, if you use another board/programmer it's should be working with some modifications. For the moment, ChibiStudio is only available for Windows 32 bits. If you want to install it on Linux or OSX please refer to the official site of chibios.

Be careful, if you use Windows 64 bits, you need to install java in 32 bits or ChibiStudio will not start.


Installation

ST-LinkV2

First of all, you need to install the Windows drivers for the programmer.

Download the official STM32 ST-LINK utility form ST web site.

St-linv2.png

ST use a two page download step. After you have click on the link bellow, a new page is open. Go on the down the page and click on download.

St-linv2-down.png

Extract the archive and double click on the file STM32 ST-LINK Utility_v3.6.0.exe.

At the end of the installation, a wizard will ask you to install the drivers (may be the wizard will appear twice). Please install it or you won't be able to transfer a program on the board.

ChibiStudio

Please download the last version of ChibiStudio with the link here : ChibiStudio

Chibistudio.png For this documentation, we have use the version : ChibiStudio_Preview11.7z


The package is a self-extracted folder that will contain all you need in one folder. Be careful, you need absolutely to extract the file into the root of you C drive.

ExtractionChibiStudio.png

Then after the extraction you need to have a folder like :

c:\chibistudio

Chibiasroot.png

ugfx

For the installation of ugfx, please note that we strongly encourage you to use the git repository. If you have already git installed, download it like this :

But for this documentation, we will use this direct link.

Extract the content of the archive on the c:\chibbistudio.


Ugfxextract.png You need to extract the contain of the archive in chibistudio folder.


Then after the extraction, you need to have a folder like :

c:\chibistudio\ugfx_release_23_150516

For best practice, and to be easier to remember, rename the folder ugfx. Then after the folder rename you should have :

Chibifolder.png

Congratulation, you have finished the installation process. Now you need to do some customization because the board is not officially supported by chibios.

Configuration

First start of Chibistudio

It's now time to start ChibiStudio. You can find a shortcut in the c:\chibistudio.

Shortcut-chibi.png

If you want, you can copy it to your desktop. Double click on the shortcut. A warning window will open.

Run-warning.png


Uncheck "Always ask before opening this file" and click the Run button.


ChibiStudio needs java. If you don't installed it before or have Windows 64 bits with java 64 bits, you will see this warning :

No-java.png

Download java and install it.


You don't need to reboot your computer. After install it java, relaunch chibi studio shortcut.

Chibi-IDE.png


create the first demo project

Close the welcome screen. ChibiStudio is provided with two workspace. One for the chibios 3 unstable and one for chibios 2. As the version 3 is not stable you need to switch to version 2. To do it, go the the file menu, switch workspace and select c:\chibistudio\workspace26.

Switchworkspace.png