FAQ

HANcoder

1. Why can’t I flash my Olimexino/E407 over USB with MicroBoot?
2. Why did USB driver installation with Zadig.exe fail?
3. Why does my Simulink model contain blocks with ‘Unresolved Links’?
4. Why does MicroBoot not start flashing after building?
5. Why do I get the error ‘Could not clear memory’ when I try to flash my target with MicroBoot?
6. Why did USB driver installation with Zadig.exe fail?

HANtune

1. Why don’t I see any signals in HANtune?
2. Why can’t I add a viewer in HANtune?
3. I have updated my Simulink model and flashed the micro controller and now I get an error while connecting with HANtune?
4. Why don’t I see any signals in HANtune?
5. Why don’t I see a signal from Simulink in HANtune?
6. Why does HANtune not start or hang at the splash screen?

 


 

HANcoder

1. Why can’t I flash my Olimexino/E407 over USB with MicroBoot?

Option 1: The wrong bootloader is installed: The Olimexino’s and E407’s are shipped with the Olimex bootloader, you will need to change this bootloader for a HANcoder bootloader in order to flash with MicroBoot.

Option 2: The driver for the bootloader is not installed: The driver for the HANcoder bootloader needs to be installed in Windows. Click this link to go to the wiki page about flashing with the bootloader.

2. Why did USB driver installation with Zadig.exe fail?

When the openblt.cfg file is in a path with a long name the installation can fail. Switch to Advanced mode in the Options menu of the program to check is the Openblt.cfg file can be opened.

3. Why does my Simulink model contain blocks with ‘Unresolved Links’?

This probably means the paths have not been set correctly. Make sure the current folder of Matlab is the same folder as where the model file (.slx) is located. Close and reopen the model file once you have set the correct directory in Matlab, you should see the directory ‘blockset’.

Alternatively to reopening the model you can run the m-script librarySetup.m after redirecting Matlab to the correct directory.

4. Why does MicroBoot not start flashing after building?

This could be because MicroBoot is in the wrong directory. Matlab takes it’s current directory and then tries to find Microboot from there. It first goes up one level and then searches from there for /Host/MicroBoot/MicroBoot.exe. If MicroBoot.exe is not found, it cannot be started. Place MicroBoot back in ../Host/MicroBoot relative to the current folder (directory that holds the model) or start MicroBoot manually.

Another reason could be that the ‘AutoFlash’ function is turned off. AutoFlash can be turned on by adding the ‘Build settings block’ to the model and turning the function on in that block.

5. Why do I get the error ‘Could not clear memory’ when I try to flash my target with MicroBoot?

Because the model was not set up for use with the boat loader. Set ‘HANcoder_BOOTLOADER=1’ at ‘Make command:’ in the configuration parameters of the model as seen in the images below.

6. Why did USB driver installation with Zadig.exe fail?

When the openblt.cfg file is in a path with a long name the installation can fail. Switch to Advanced mode in the Options menu of the program to check is the Openblt.cfg file can be opened.

HANtune

1. Why don’t I see any signals in HANtune?

To view signals or parameters you must first load an ASAP2 (.a2l) file which contains signals and/or parameters.

2. Why can’t I add a viewer in HANtune?

To add viewers or editors you must first create/load a layouts.

3. I have updated my Simulink model and flashed the micro controller and now I get an error while connecting with HANtune?

The ASAP2(a2l) file should be updated. This can be done by double clicking it once to unload the old ASAP2 file and double click again to load the new one.

4. Why don’t I see any signals in HANtune?

The may be caused by an outdated version of the Java Runtime Environment (JRE).

5. Why don’t I see a signal from Simulink in HANtune?

A common mistake is to press enter when giving a name to a signal in Simulink, this will result in an enter in the name which is an invalid name. The signal will not be included in the ASAP2 (.a2l) file and therefor will not be visible in HANtune.
Check the name of the signal in the Matlab workspace. If the name is correct check if the Storage Class is set to ‘ExportedGlobal’.

6. Why does HANtune not start or hang at the splash screen?

The may be caused by an outdated version of the Java Runtime Environment (JRE).