-
Notifications
You must be signed in to change notification settings - Fork 92
Getting Started with HydraBus flash and use hydrafw on windows
- Putty Terminal or other terminal to communicate with HydraBus board through USB called USB communications device class (or USB CDC).
- Download the latest release (.zip archive example build_HydraFW.xxx.zip): https://github.com/hydrabus/hydrafw/releases
- Optionally you can also build the firmware from source code see https://github.com/hydrabus/hydrafw/blob/master/README.md
2) Keep pressing UBTN button at PowerON/RESET in order to enter USB DFU (you do not need any jumper wire)
Note: You can also do that step with an HydraNFC connected on Top (or any other official shield)
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(it works on any revision of HydraBus Board).
For very old HydraBus Board v1.0 Rev1 with HydraFW < v0.5 (those boards are not sold anymore since years) do this step
Note: USB DFU is working only on HydraBus USB1 (USB2 cannot be used for that)
If windows have problem to detect the device use an External USB1.1 or 2.0 Hub as there is problem with USB3.0 port/internal USB Hub on some computer and windows version.
- Download and Extract archive STSW-STM32080 from URL: http://www.st.com/web/catalog/tools/FM147/CL1794/SC961/SS1533/PF257916
-
When archive STSW-STM32080 is extracted follow readme.txt (in root dir) to install USB DFU driver and other tools.
-
Also depending on Windows system especially windows 8 or 8.1 it is required to disable signed driver else install of USB DFU Driver is impossible.
- Step by step tutorial to disable signed driver on Win8.x: https://learn.sparkfun.com/tutorials/disabling-driver-signature-on-windows-8/disabling-signed-driver-enforcement-on-windows-8
- Then repeat previous step to install USB DFU driver and other tools.
5) go into the utils\windows_dfu_util folder and run 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/hydrabus/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/hydrabus/hydrafw
Note: If you have error to update the firmware, change USB port or try with an External 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 (disconnect also jumper wire "BOOT0 to 3V3" and "BOOT1 to GND" if they was previously connected)
7) Reconnect MicroUsb cable on USB1 or USB2(both port are supported), Now hydrafw is started (ULED shall blink)
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/hydrabus/hydrafw/tree/master/utils/windows_usb_driver
- Also depending on Windows system especially windows 8 or 8.1 it is required to disable signed driver else install of USB CDC driver is impossible.
- Step by step tutorial to disable signed driver on Win8.x: https://learn.sparkfun.com/tutorials/disabling-driver-signature-on-windows-8/disabling-signed-driver-enforcement-on-windows-8
- Retry to install USB CDC driver (from https://github.com/hydrabus/hydrafw/tree/master/utils/windows_usb_driver)
- You can follow this tutorial to explain how to install USB CDC Driver on Windows https://startingelectronics.org/articles/atmel-ARM/SAM-BA-USB-CDC-driver-install/ thanks to choose https://github.com/hydrabus/hydrafw/tree/master/utils/windows_usb_driver
- Note: You shall have only one file hydrabus_usb_cdc.inf in its own directory windows_usb_driver before to install the driver (the best is to clone https://github.com/hydrabus/hydrafw/tree/master/utils/windows_usb_driver directory)
- In order to communicate with HydraBus (Through USB Virtual COM Port), I recommend the use of Putty Terminal
- HydraFW commands are described in wiki https://github.com/hydrabus/hydrafw/wiki/HydraFW-console-commands
- CHANGELOG
- Console commands
- Binary mode guide
-
NFC/HydraNFC v1 guide
- Read UID of an ISO/IEC_14443 Tag
- Read UID and data of a MIFARE Ultralight Tag
- Read UID of an ISO/IEC 15693 Tag
- Emul ISO14443a Tag
- Emul MIFARE Ultralight Tag
- Emul Mifare Classic Tag
- Unique NFC sniffer design
- Launch NFC sniffer from console
- Sniffer ISO14443A wireshark pcap
- Autonomous/stand-alone sniffer mode
- Sniffer ISO14443A real-time infinite trace mode
- HydraFW-HydraNFC-v1.x-TRF7970A-Tutorial