-
Notifications
You must be signed in to change notification settings - Fork 92
HydraFW commands
I recommend Putty for terminal to be used with HydraBus(hardware) and hydrafw(firmware) connected with USB1 or 2.
-
When connected type h for help and use TAB key for completion, you can also use arrow up or down for history.
-
For microSD read performance test results (command sd_rperfo) see: https://github.com/bvernoux/hydrafw/wiki/HydraBus-microSD-read-perfomance
Those commands are updated towards firmware release HydraFW v0.4 Beta: HydraFW (HydraBus) v0.4-beta 86abbd5 2014-12-19
##HydraFW (HydraBus/HydraNFC) supported commands
Note:
* All commands shall be separated by a space.
* During a blocking read or write which wait for data(for example Slave mode),
you can abort the wait by pressing HydraBus UBTN.
##All Commands > help help Available commands history Command history clear Clear screen show Show information sd SD card management adc Read analog values gpio Get or set GPIO pins spi SPI mode i2c I2C mode uart UART mode nfc NFC mode debug Debug mode
###SD Card commands > help sd SD card management mount Mount SD card umount Unmount SD card erase Erase and reformat SD card cd Change SD card directory pwd Show current SD card directory ls List files on SD card test-perf Test SD card performance cat Display (ASCII) file on SD card hd Hexdump file on SD card rm Remove file or directory mkdir Create new directory
###ADC commands > help adc Read analog values adc1 ADC1 (PA1) tempsensor Temperature sensor vrefint Internal reference voltage vbat VBAT voltage samples Number of samples period Delay between samples (msec) continuous Read continuously
For more details see https://github.com/bvernoux/hydrafw/wiki/HydraFW-ADC-guide
###GPIO commands > help gpio Get or set GPIO pins One or more GPIO pins (PA0-15, PB0-11, PC0-15, PA* ...) mode Configure as input, output or open drain pull GPIO pull up, down or floating period Delay between reads, in milliseconds continuous Read continuously on Set GPIO pin off Clear GPIO pin read Read GPIO values
For more details see https://github.com/bvernoux/hydrafw/wiki/HydraFW-GPIO-guide
###Protocol SPI commands > help spi SPI mode device SPI device (1 or 2) pull GPIO pull mode Master or slave mode frequency Read/write frequency polarity Clock polarity (0 or 1) phase Clock phase (0 or 1) msb-first Send/receive MSB first lsb-first Send/receive LSB first
For more details see https://github.com/bvernoux/hydrafw/wiki/HydraFW-SPI-guide
###Protocol I2C commands > help i2c I2C mode pull GPIO pull frequency Read/write frequency
For more details see https://github.com/bvernoux/hydrafw/wiki/HydraFW-I2C-guide
###Protocol UART commands > help uart UART mode device UART device (1 or 2) speed Bitrate parity Parity (none/even/odd) stop-bits Stop bits (1 or 2)
For more details see https://github.com/bvernoux/hydrafw/wiki/HydraFW-UART-guide
###Additional commands for HydraBus+HydraNFC: > help nfc NFC mode mifare MIFARE (ISO14443A) vicinity Vicinity (ISO/IEC 15693) scan Scan sniff Sniff (ISO14443A only) exit Exit NFC mode
For more details see https://github.com/bvernoux/hydrafw/wiki/HydraFW-HYDRANFC-guide
- 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