Difference between revisions of "HANcoder/STM32/Installation Manual"

From OpenMBD
Jump to: navigation, search
(Created page with "right|200px|HANcoder Logo ==Introduction== This document is for the user who wants to make a software program using Simulink and the HANcoder block...")
 
Line 22: Line 22:
 
==Flashing the controller with the bootloader==
 
==Flashing the controller with the bootloader==
  
Putting the with Simulink generated software on the microcontroller is called flashing.
+
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. [[HANcoder/STM32/Getting_Started_Guide_Flashing_With_The_Bootloader|Learn more.]]
[[HANcoder/STM32/Getting_Started_Guide_Flashing_The_Bootloader|Learn more.]]
+
 
 +
==Flashing the controller with the ST-Link==
 +
 
 +
Flashing can also be done with an ST-Link, this is a special tool from ST to flash their micro controllers.
 +
[[HANcoder/STM32/Getting_Started_Guide_Flashing_With_The_ST_Link|Learn more.]]
 +
 
 +
==Installing the Virtual COM port driver==
 +
 
 +
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. [[HANcoder/STM32/Getting_Started_Installing_The_Virtual_COM_port|Learn more.]]
  
  
 
==TroubleShooting==
 
==TroubleShooting==
  
HANtune is not doing what it is supposed to do? Read through this section to get an idea about the most encountered issues and their solutions.
+
 
 
[[HANtune/TroubleShooting|Learn more.]]
 
[[HANtune/TroubleShooting|Learn more.]]

Revision as of 12:34, 29 March 2017

HANcoder Logo

Introduction

This document 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. If you would encounter problems with the blockset or with HANtune, please contact the project developer Jason van Kolfschoten: Jason.vanKolfschoten@han.nl

Matlab Installation

A step by step guide on how to install Matlab Simulink and the necessary toolboxes. Learn more.

GNU ARM Toolchain Installation

The GNU ARM Toolchain is necessary to build code for generating code for the STM32 series microcontrollers Learn more.

Test the build process

After installing Matlab and the GNU ARM Toolchain it is time to test the code generation from the template model. Learn more.

Flashing the controller with the bootloader

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 the controller with the ST-Link

Flashing can also be done with an ST-Link, this is a special tool from ST to flash their micro controllers. Learn more.

Installing the Virtual COM port driver

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.


TroubleShooting

Learn more.