Difference between revisions of "Downloads/HANcoder"

From OpenMBD
Jump to: navigation, search
m
 
(25 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{HANcoder}}==HANcoder Open Source (04-11-2019)==
+
{{HANcoder}}=HANcoder STM32 Target Download instructions=
HANcoder Open Source is available for download on '''[https://gitlab.com/AutomotiveResearch/hancoder GitLab]'''
+
There are '''two''' options for downloading and installing HANcoder STM32 Target.<br>
 +
Option 1 is to download and install an example project that combines HANcoder STM32 Target and the OpenBLT bootloader.<br>
 +
Option 2 is to download and install the latest-and-greatest version of HANcoder STM32 Target source code and the OpenBLT bootloader separately.<br>
 +
Both options are described on this page.
  
==OpenBLT version 1.0.1 binaries (04-11-2019)==
+
{{HANcoder}}==Option 1 - An example project: HANcoder STM32 Target + OpenBLT==
OpenBLT bootloader version 1.0.1 by [https://www.feaser.com Feaser] can be used for flashing the STM32 targets.<br>
+
 
Howto install such a bootloader initially is described in the '''[http://openmbd.com/wiki/HANcoder/STM32/Installation_Manual Installation manual]'''.
+
These example projects are complete: all necessary files and folders are in the correct place.<br>
 +
 
 +
  HANcoder STM32 Target 1.0 + OpenBLT v1.0.1: '''[https://openmbd.com/wp-content/uploads/2018/07/HANcoder-STM32-Target-v1.0-Beta.zip Download]'''
 +
 
 +
  HANcoder STM32 Target 1.1 Beta + OpenBLT v1.0.1: '''[https://openmbd.com/wp-content/uploads/2019/05/HANcoder-STM32-Target-v1.1-Beta.zip Download]'''
 +
  '''This is a Beta release.'''
 +
  ''If you are not sure this release is for you, please download HANcoder STM32 Target 1.0 instead.''
 +
  This release adds the following support for the STM32 Olimexino target:
 +
  - XCP over UART
 +
  - servo motor control
 +
  - variable frequency for PWM outputs
 +
  - signal tower
 +
 
 +
{{HANcoder}}==Option 2 - HANcoder STM32 Target from source code==
 +
 
 +
===HANcoder STM32 Target source code from GitLab===
 +
If you would like to use the latest-and-greatest version of HANcoder STM32 Target, than the source code is available for download on '''[https://gitlab.com/AutomotiveResearch/hancoder-stm32-target GitLab]'''<br>
 +
 
 +
Please note that HANcoder STM32 Target works best with OpenBLT V1.0.1 bootloader running on the STM32 target microcontroller and the MicroBoot PC application for communication with the bootloader. These are, however, not provided on '''[https://gitlab.com/AutomotiveResearch/hancoder-stm32-target GitLab]''' and should be installed manually as described next.
 +
 
 +
===OpenBLT binaries===
 +
OpenBLT bootloader version 1.0.1 by [https://www.feaser.com Feaser] can be used for flash programming the STM32 target microcontrollers.<br>
 +
Several bootloader binaries are available for download: [[File:OpenBLT v1.0.1 Bootloaders.zip]]<br>
 +
Howto install such a bootloader on the STM32 target microcontroller is described in the '''[http://openmbd.com/wiki/HANcoder/STM32/Installation_Manual Installation manual]'''.
  
[[File:OpenBLT v1.0.1 Bootloaders.zip]]<br>
 
<br>
 
 
<i>Note: OpenBLT bootloader source code is available '''[https://sourceforge.net/projects/openblt here]''':</i>
 
<i>Note: OpenBLT bootloader source code is available '''[https://sourceforge.net/projects/openblt here]''':</i>
  
==MicroBoot (04-11-2019)==
+
===MicroBoot===
After building the model, and if enabled within the model, the target can automatically be flashed by using MicroBoot.
+
The MicroBoot PC application as described in the '''[http://openmbd.com/wiki/HANcoder/STM32/Installation_Manual Installation manual]''' needs to be downloaded and installed separately: [[File:Microboot.zip]]
The path to the MicroBoot executable is set in the following file:  
 
  
  ./Target/blockset/toolbox/blocks/FlashSTM32Target.m
+
The location of the MicroBoot application cannot be chosen freely, because several scripts use paths relative to the installation folder.
 
+
Therefore make sure that the Host folder is at the same level as the Target folder:  
By default, the Host folder should be at the same level as the Target folder:  
 
  
 
   ./Host
 
   ./Host
Line 30: Line 52:
 
     +-  ...
 
     +-  ...
  
[[File:Microboot.zip]]
+
''Tip 1'': Have look at the combined HANcoder STM32 Target + OpenBLT example projects above for an example of this folder structure.
 
 
{{HANcoder}}==HANcoder 1.1 Beta (10-05-2019)==
 
'''[http://openmbd.com/wp-content/uploads/2019/05/HANcoder-STM32-Target-v1.1-Beta.zip Download]'''
 
 
 
'''This is a beta release.'''<br>
 
''If you are not sure this release is for you, please download HANcoder 1.0 instead.''<br>
 
  
This release adds the following support for the STM32 Olimexino target:<br>
+
''Tip 2'': An easy way to get the latest GitLab version in a fully prepared environment:<br>
- XCP over UART<br>
+
1. Download one of the example projects<br>
- servo motor control<br>
+
2. In the example project, replace the Target folder with the Target folder as provided on GitLab.<br>
- variable frequency for PWM outputs<br>
 
- signal tower
 
  
{{HANcoder}}==HANcoder 1.0 (26-06-2018)==
+
{{HANcoder}}=HANcoder RC30 Target=
'''[http://openmbd.com/wp-content/uploads/2018/07/HANcoder-STM32-Target-v1.0-Beta.zip Download]'''
+
HANcoder RC30 Target is available upon [mailto:hancoder@han.nl request] in open and closed source version.

Latest revision as of 10:47, 21 July 2021

HANcoder STM32 Target Download instructions

There are two options for downloading and installing HANcoder STM32 Target.
Option 1 is to download and install an example project that combines HANcoder STM32 Target and the OpenBLT bootloader.
Option 2 is to download and install the latest-and-greatest version of HANcoder STM32 Target source code and the OpenBLT bootloader separately.
Both options are described on this page.


Option 1 - An example project: HANcoder STM32 Target + OpenBLT

These example projects are complete: all necessary files and folders are in the correct place.

 HANcoder STM32 Target 1.0 + OpenBLT v1.0.1: Download
 HANcoder STM32 Target 1.1 Beta + OpenBLT v1.0.1: Download
 This is a Beta release.
 If you are not sure this release is for you, please download HANcoder STM32 Target 1.0 instead.
 This release adds the following support for the STM32 Olimexino target:
 - XCP over UART
 - servo motor control
 - variable frequency for PWM outputs
 - signal tower


Option 2 - HANcoder STM32 Target from source code

HANcoder STM32 Target source code from GitLab

If you would like to use the latest-and-greatest version of HANcoder STM32 Target, than the source code is available for download on GitLab

Please note that HANcoder STM32 Target works best with OpenBLT V1.0.1 bootloader running on the STM32 target microcontroller and the MicroBoot PC application for communication with the bootloader. These are, however, not provided on GitLab and should be installed manually as described next.

OpenBLT binaries

OpenBLT bootloader version 1.0.1 by Feaser can be used for flash programming the STM32 target microcontrollers.
Several bootloader binaries are available for download: File:OpenBLT v1.0.1 Bootloaders.zip
Howto install such a bootloader on the STM32 target microcontroller is described in the Installation manual.

Note: OpenBLT bootloader source code is available here:

MicroBoot

The MicroBoot PC application as described in the Installation manual needs to be downloaded and installed separately: File:Microboot.zip

The location of the MicroBoot application cannot be chosen freely, because several scripts use paths relative to the installation folder. Therefore make sure that the Host folder is at the same level as the Target folder:

 ./Host
    |
    +- /MicroBoot
    |    |
    |    +- MicroBoot.exe
    |    +- ...
 ./Target
    |
    +- /blockset
    +- /Development tools
    +-  ...

Tip 1: Have look at the combined HANcoder STM32 Target + OpenBLT example projects above for an example of this folder structure.

Tip 2: An easy way to get the latest GitLab version in a fully prepared environment:
1. Download one of the example projects
2. In the example project, replace the Target folder with the Target folder as provided on GitLab.


HANcoder RC30 Target

HANcoder RC30 Target is available upon request in open and closed source version.