Difference between revisions of "Downloads/HANcoder"

From OpenMBD
Jump to: navigation, search
m
 
(14 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{HANcoder}}==HANcoder RC30 Target==
+
{{HANcoder}}=HANcoder STM32 Target Download instructions=
The source code is available upon request (hancoder@han.nl).
+
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.
  
{{HANcoder}}==HANcoder STM32 Target Source code==
+
{{HANcoder}}==Option 1 - An example project: HANcoder STM32 Target + OpenBLT==
The source code of HANcoder STM32 Target is available for download on '''[https://gitlab.com/AutomotiveResearch/hancoder GitLab]'''
 
  
==OpenBLT==
+
These example projects are complete: all necessary files and folders are in the correct place.<br>
HANcoder STM32 Target works best with OpenBLT V1.0.1 bootloader running on the STM32 target microcontroller and the MicroBoot PC application for programming the STM32 target microcontroller.
 
  
===Binaries===
+
  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]'''
OpenBLT bootloader version 1.0.1 by [https://www.feaser.com Feaser] can be used for flashing the STM32 targets.<br>
+
 
The binaries of the bootloaders are available for download: [[File:OpenBLT v1.0.1 Bootloaders.zip]]<br>
+
  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]'''
Howto install such a bootloader initially is described in the '''[http://openmbd.com/wiki/HANcoder/STM32/Installation_Manual Installation manual]'''.
+
  '''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]'''.
  
 
<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>
Line 18: Line 37:
 
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 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:
+
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:  
  ./Target/blockset/toolbox/blocks/FlashSTM32Target.m
 
 
 
By default, the Host folder should be at the same level as the Target folder:  
 
  
 
   ./Host
 
   ./Host
Line 36: Line 52:
 
     +-  ...
 
     +-  ...
  
''Tip: An example project that shows this folder structure is provided below''
+
''Tip 1'': Have look at the combined HANcoder STM32 Target + OpenBLT example projects above for an example of this folder structure.
  
{{HANcoder}}==Combined HANcoder STM32 Target + OpenBLT example projects==
+
''Tip 2'': An easy way to get the latest GitLab version in a fully prepared environment:<br>
 +
1. Download one of the example projects<br>
 +
2. In the example project, replace the Target folder with the Target folder as provided on GitLab.<br>
  
As an example, the two following projects are provided for download.<br>
+
{{HANcoder}}=HANcoder RC30 Target=
These examples show how HANcoder STM32 Target folders and OpenBLT folders should be combined, because several scripts use paths relative to the installation folder.
+
HANcoder RC30 Target is available upon [mailto:hancoder@han.nl request] in open and closed source version.
 
 
HANcoder STM32 Target 1.1 Beta + OpenBLT v1.0.1: '''[http://openmbd.com/wp-content/uploads/2019/05/HANcoder-STM32-Target-v1.1-Beta.zip Download]'''<br>
 
HANcoder STM32 Target 1.0  + OpenBLT v1.0.1: '''[http://openmbd.com/wp-content/uploads/2018/07/HANcoder-STM32-Target-v1.0-Beta.zip Download]'''<br>
 
 
 
''Tip: An easy way to get the latest GitLab version in a fully prepared environment:<br>
 
1. Download one of the example projects<br>
 
2. In the example project, replace the Target folder with the Target folder as provided on GitLab.''<br>
 

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.