Skip to content
bvernoux edited this page Nov 1, 2014 · 48 revisions

I recommend Putty for terminal to be used with HydraBus hydrafw 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. mount, umount, ls, cat & erase work only when a micro SD card is inserted in HydraBus.

For microSD read performance test results (command sd_rperfo) see: https://github.com/bvernoux/hydrafw/wiki/HydraBus-microSD-read-perfomance

##HydraFW (HydraBus/HydraNFC) v0.3-beta a1c311e 2014-10-31 supported commands: ###1) HydraBus AND/OR HydraNFC generic commands:

? or h         - Help
clear          - clear screen
info           - info on FW & HW

ch_mem         - memory info
ch_threads     - threads

mount          - mount sd
umount         - unmount sd
cd <dir>       - change directory in sd
pwd            - show current directory path in sd
ls [opt dir]   - list files in sd
cat <filename> - display sd file (ASCII)
hd <filename>  - display sd file (HEX)
sd_rperfo      - sd read performance test
erase          - erase sd

###2) HydraBus only: m - Change mode i - Mode information

####2-1) Mode supported (with command m): 1=HiZ, 2=SPI, 3=UART, 4=I2C

Note: When a mode is fully configured you can use "Protocol Interaction" commands.

####2-1-1) Mode HiZ options supported (with command m 1): This mode is just a safe mode (all I/O are set in HiZ) This mode can be also use to test protocol interaction commands.

####2-1-2) Mode SPI options supported (with command m 2):

See Wiki: https://github.com/bvernoux/hydrafw/wiki/HydraFW-SPI-guide

####2-1-3) Mode UART options supported (with command m 3):

See Wiki: https://github.com/bvernoux/hydrafw/wiki/HydraFW-UART-guide

####2-1-4) Mode I2C options supported (with command m 4):

See Wiki: https://github.com/bvernoux/hydrafw/wiki/HydraFW-I2C-guide

####2-2) Protocol Interaction [ Start

] Stop

{ Start with Read

} Stop

: Repeat (e.g. r:10)

& DELAY us (support optional repeat :)

% DELAY ms (support optional repeat :)

123 0x12 0b110 Send 8bits val (support optional repeat :)

r Read (support optional repeat :)

Note: During a blocking read or write which wait for data(for example Slave mode) you can abort the wait by pressing HydraBus UBTN, else you can also wait timeout which is about 10s.

###3) Additional commands for HydraBus+HydraNFC:

nfc_mifare     - NFC read Mifare/ISO14443A UID
nfc_vicinity   - NFC read Vicinity UID
nfc_dump       - NFC dump registers
nfc_sniff      - NFC start sniffer ISO14443A
nfc_sniff can be started by K3 and stopped by K4 buttons

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