-
Notifications
You must be signed in to change notification settings - Fork 92
how to build flash and use hydrafw on windows
Benjamin Vernoux edited this page Jun 12, 2024
·
24 revisions
- Official compiler for hydrafw v0.10 release is GCC ARM 4.9 2015q3(GNU_ARM_4_9_2015q3)
- This new version versus GCC ARM 4.7 2013 q3 improve lot of stuff (mainly it generate better/more compact code and GDB debugger support python ...)
- WARNING: GCC ARM 4.8.x & GCC ARM 5.0/5-2016-q1 up to GCC ARM 8-2019-q3-update (https://bugs.launchpad.net/gcc-arm-embedded/+bug/1570613) shall be avoided as they crash during link of chibios ...
- This issue is fixed with https://launchpad.net/gcc-arm-embedded/+milestone/8-2018-q4-major or more
- Since 8600bd92a5ed083174e0867355f65a743dcfb9df, it is possible to use GCC 8.1 and newer to compile hydrafw
- Install MSYS2 + MINGW64 from https://www.msys2.org
- Install of mingw-w64-x86_64-gcc +
cd src/build-scripts && make clean all
is to rebuild pre-built windows src/build-scripts/hex2dfu.exe so it not mandatory
- Install of mingw-w64-x86_64-gcc +
- Install GCC toolchain GNU_ARM_4_9_2015q3 from https://launchpad.net/gcc-arm-embedded/+milestone/4.9-2015-q3-update
- At end of Installation
Install wizard Complete
choose onlyAdd path to environment variable
- At end of Installation
- Launch MSYS2 MINGW64 shell and type following commands:
- Example installation of GNU_ARM_4_9_2015q3 to D:\GNU_ARM_4_9_2015q3\bin
export PATH=$PATH:/D/GNU_ARM_4_9_2015q3/bin
cd ~
pacman -S git make mingw-w64-x86_64-gcc
git clone https://github.com/hydrabus/hydrafw.git hydrafw
cd ~/hydrafw
git submodule init
git submodule update
cd src/build-scripts
make clean all
MSYS2 MINGW64 is required. The firmware is set up for compilation with the GCC toolchain GNU_ARM_4_9_2015q3.
cd ~/hydrafw/src
make clean
make
See the wiki https://github.com/hydrabus/hydrafw/wiki/Getting-Started-with-HydraBus-flash-and-use-hydrafw-on-windows
- 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