View source for HANcoder/STM32/Installation Manual
You do not have permission to edit this page, for the following reason:
You can view and copy the source of this page.
Template used on this page:
Return to HANcoder/STM32/Installation Manual.
You do not have permission to edit this page, for the following reason:
The action you have requested is limited to users in one of the groups: Administrators, Bureaucrats.
You can view and copy the source of this page.
Template used on this page:
Return to HANcoder/STM32/Installation Manual.
This page is for the user who wants to make a software program using Simulink and the HANcoder blockset for the Olimexino STM32 development board. It contains installation tutorials for the programs necessary to work with the blockset. It will also explain the template model, building a model in Simulink and flashing the software to the Olimexino. Furthermore, it will explain how you can view signals and edit parameters while the software runs on the Olimexino. This is done with a program called HANtune. So HANcoder is used to build the software program from a Simulink model and HANtune is used to view and edit (tune) the program once the program is running on the hardware.
Before you start make sure you have the latest version of HANcoder and HANtune:
Download HANcoder and unzip all files into a directory of your choice.
Download HANtune and unzip all files as well.
If you encounter problems with the installation of HANcoder or HANtune please visit the troubleshooting section or the forum
A step by step guide on how to install Matlab Simulink and the necessary toolboxes. Learn more.
The GNU ARM Toolchain is necessary to build code for generating code for the STM32 series microcontrollers Learn more.
After installing Matlab and the GNU ARM Toolchain it is time to test the code generation from the template model. Learn more.
Putting the with Simulink generated software on the micro controller is called flashing. This can be done using the flash program Microboot when the micro controller has a bootloader program on it. Learn more.
Flashing can also be done with an ST-Link, this is a special tool from ST to flash their micro controllers. Learn more.
To be able to connect over USB with HANtune a special driver must be installed. The installation of this driver and other relevant knowledge to be able to use HANtune can be found here. Learn more.
To be able to connect over CAN with HANtune a PEAK CAN to USB dongle is used.Learn more.
When there is no bootloader on the microcontroller (yet) it is necessary to use the ST-Link to flash the micro controller. The installation procedure for this tool is described in this chapter. Learn more.
Please check this section if you encounter any problems. Troubleshooting