
How to setup ChibiStudio
Introduction
In this article we are going to see how to setup ChibiStudio, an Eclipse-based toolchain that conveniently helps to develop embedded firmware for different microcontroller families.
We are going to install ChibiStudio for Windows 2022-01 but the user should always pick the latest version for his Operating System. Every update of ChibiStudio comes with a newer version of ChibiOS, Compiler and Debugger. Older versions of ChibiStudio, as well as a changelog can be found here.
Step by Step Procedure
Get the latest version of ChibiStudio
- Go to the Official page of ChibiStudio
- Download Windows or Linux latest version

Extract the package
- Open the downloaded package with 7zip ( download it for free from 7-zip.org)
- Select the folder ChibiStudio
- Click on Extract
- Choose C:\ as destination
- Press ok
- Check that ChibiStudio is located at C:\ChibiStudio otherwise the toolchain will not work
Launch the toolchain
- Copy the link Chibi Studio GCC x.x onto the desktop and double click on this link to launch the toolchain
- Check the Project Explorer contains ChibiOS Tools and Documents
- Check the bar title contains the version of ChibiStudio and ChibiOS in use as well as the location of the workspace
- Check the toolchain starts with the perspectives C and Debug

Throubleshoot
My ChibiStudio looks very different from the picture above
Cause
It is probable that some files got corrupted or lost while extracting ChibiStudio. There are a few possible causes:
- You are not using 7zip as package extractor
- You extracted the package in a folder and then copied it under C: and some files got corrupted as their path became longer then 260 characters.
- Your antivirus wrongly classified some of the files from ChibiStudio as potential threats and quarantined them.


Solution
Clean up the previously extracted folder and start over being sure to:
- Use the latest version of 7zip
- Extract directly under C:\
- Configure your antivirus for an exception on ChibiStudio files
My ChibiStudio starts but I got errors when building projects
Cause
It is probable that you extracted ChibiStudio at the wrong path or that your antivirus blocked/quarantined the compiler executables.


Solution
Clean up the previously extracted folder and start over being sure to:
- Use the latest version of 7zip
- Extract directly under C:\
- Configure your antivirus for an exception on ChibiStudio file
I am trying to flash the firmware that is given already with the chibi studio and following the video:
https://www.youtube.com/watch?v=BsQm4dbj0A4&list=PLpDawCIUjDFEE7-GBOBlwlhntEtmyHlbz&index=4
i have done everything according to the provided videos but still I receive this error:
Program file does not exist
C:\ChibiStudio\chibios2111\demos\STM32\RT-STM32F407-DISCOVERY not found
C:\ChibiStudio\chibios2111\demos\STM32\RT-STM32F407-DISCOVERY not found
C:\ChibiStudio\chibios2111\demos\STM32\RT-STM32F407-DISCOVERY not found
Hi Shahab, you need to be a little more detailed than that.
What version of ChibiStudio are you using? What evaluation kit?
Does the project build?
Are you able to launch OpenOCD?