Skip to content

Getting Started with HydraBus flash and use hydrafw on windows

Benjamin Vernoux edited this page Aug 1, 2015 · 28 revisions

##Flash and use hydrafw on Windows

###Prerequisites for Windows:

###Flash hydrafw on Windows: HydraBus board USB DFU mode

######1) PowerOff HydraBus board (disconnect all USB) ######2) Connect HydraBus pins "BOOT0 to 3V3" & "BOOT1 to GND" (using two dual female splittable jumper wire) to enter USB DFU

Note: If your board firmware is HydraFW v0.5 or more, you can just keep pressing UBTN button at PowerON/Reset in order to enter USB DFU and you do not need any jumper wire.

If you have some problems to enter USB DFU remove all wires/extension connected (on J1/J2/J3) and connect BOOT0 & BOOT1 like described hereafter.

######3) Connect MicroUsb cable from PC to HydraBus USB1 board, now windows shall detect a new device If windows have problem to detect the device use an USB1.1 or 2.0 Hub as there is problem with USB3.0 port on some computer and windows version. ######4) Install the USB DFU driver

  1. Download and Extract archive STSW-STM32080 from URL: http://www.st.com/web/catalog/tools/FM147/CL1794/SC961/SS1533/PF257916

######5) Launch from current directory update_fw_usb_dfu_hydrafw.bat (will flash latest firmware during about 10s) Before this step you shall build the firmware or extract a prebuilt firmware from https://github.com/bvernoux/hydrafw/releases example build_HydraFW.xxx.zip and extract it in root of hydrafw in order to have build directory with all prebuilt files in it. Steps to build the firmware are available in https://github.com/bvernoux/hydrafw

Note: If you have error to update the firmware, change USB port or try with an USB 2.0 Hub as there is sometimes problems with some USB2.0/USB3.0 ports, then retry this step.

######6) Disconnect MicroUsb cable from HydraBus and Disconnect "BOOT0 to 3V3" and "BOOT1 to GND" ######7) Reconnect MicroUsb cable on USB1 or USB2(both port are supported), Now hydrafw is started. When hydrafw is running and connected on a Windows XP, Vista, 7 & 8, you need to install HydraBus Virtual COM Port Driver (only the first time) from: https://github.com/bvernoux/hydrafw/tree/master/driver_usb_cdc

###Using HydraBus with Putty Terminal on Windows:

  1. In order to communicate with HydraBus (Through USB Virtual COM Port), I recommend the use of Putty Terminal
  2. HydraFW commands are described in wiki https://github.com/bvernoux/hydrafw/wiki/HydraFW-commands

How to Flash/Use HydraFW

How to Build/Flash/Use HydraFW

Developer Getting-Started with HydraBus and STM32CubeIDE

Hardware

Firmware (hydrafw) performances

Firmware (hydrafw) Application guides

Firmware (hydrafw) guides

How to Help

Clone this wiki locally