To read the variables and change the parameters that are in the model, you can use HANtune. HANtune is a PC program that reads signals (variables) and writes parameters (constants) from/to the board. By reading these signals, you can see if the software is working correctly and the parameters can be changed to tune the algorithm.
Installing the virtual COM port driver
To use HANtune over USB a virtual COM port is used to connect to the STM32 Olimexino. When the Olimexino is connected the device manager will show it as STM32 Virtual COM port. This is not the right driver, unfortunately another driver has to be installed, hang on this is the last step.
For some reason, the Virtual Com Port VCP drivers for STM32 chips were acting up and not properly enumerating a usable COM port on Windows when I was testing an STM32L476 chip. On my Windows 8 machine, when the BPM is attached to the PC via the supplied USB cable, there is a device with the title CD Class example. This core will allow you to use BSFrance AVR based boards with the Arduino ecosystem, it ibsed on STM32 HAL. At first drivers for the usb-serial (VCP, Virtual Com Port) and DFU (Device Firmware Upgrade) have to be installed. This applies to Windows only, Mac OSX and Linux users wont have to install drivers (in most cases). You can now connect the configurator via the USB port. Adding USB Virtual COM port suport. /lib/main/STM32USB-FS-DeviceDriver: USBPERIPHSRC = $(notdir. This library provides Virtual COM port on USB OTG. This means, that you don’t need external USB-UART converter (like FTDI) to communicate with computer. STM32F4xx will be seen to computer like COM port. Library can be used on all STM32F4xx devices. It has also features to support STM32F4- and STM32F429 Discovery boards. To use USB with HAL, check my HAL USB library. Library Features Enables.
Install the correct driver by running VCP_V1.3.1_Setup.exe or VCP_V1.3.1_Setup_x64.exe located in the directory: /Installs/Drivers/VirtualCOMport/
Follow the instructions given by the installer. After the installation Windows should now recognize the Olimexino as STMicroelectronics Virtual COM Port, see below:
Plug in the kiss fc, go to your windows device manager, in the top menu select view the show hidden devices you should see the previous stm32 virtual com port driver, usually marked with a yellow warning sign. I get, it doesnt work fine. My aim for today s post is to show an example of virtual com port.
Please remember the COM port which has been assigned to it.
Stm Virtual Com Port Driver
Note: When the Olimexino has just started up and is still in bootload mode it will show up in the device manager as WinUSB Bulk Device. After 2 seconds the program will be started and if the ‘XCP over USB’ block is present in the model it will show up as STMicroelectronics Virtual COM Port.
Stm32 Virtual Com Port Device Driver For Mac Download
Stm32 Virtual Com Port Device Driver For Macbook Pro
This finishes the steps to be taken to work with HANcoder, please check the Using HANtune page to learn how to work with HANtune.