-
Notifications
You must be signed in to change notification settings - Fork 92
HydraFW 1 wire guide
This guide is updated towards firmware release HydraFW v0.11 and later
Bus: 1-wire
Connections: One pin and ground
Output types: open drain/open collector
Pull-up resistors: required for open drain output mode (2K – 10K).
Pull-up/down resistors Integrated in MCU: Between 30 to 50K (Typical 40K).
Maximum voltage: 5.5volts (5volt safe)
-
show
Show 1-wire parameters orshow pins
Show pins used in this mode -
pull
with parameterup
ordown
orfloating
to choose internal MCU pull up/down or no pull/external -
msb-first
orlsb-first
to send/receive respectively MSB first or LSB first. -
scan
Discovers one or multiple devices on the 1-wire bus and displays their addresses. -
debug
Use the 1-wire line as a SWIO debugger probe compatible with minichlink -
exit
to exit 1-wire mode
Note default value:
> 1-wire
Device: onewire1
GPIO resistor: floating
Bit order: LSB first
Hardware Informations:
onewire1> show pins
PIN: PB11
Configuration of onewire1 wit internal pullup :
> 1-wire
Device: onewire1
GPIO resistor: floating
Bit order: LSB first
onewire1> pull up
onewire1> show
Device: onewire1
GPIO resistor: pull-up
Bit order: LSB first
onewire1>
trigger
configures the trigger mode
onewire1> scan
Discovered devices : 28 FF 10 2E A6 15 01 3B
onewire1> [ 0x33 hd:8
WRITE: 0x33
28 FF 10 2E A6 15 01 3B | (......;
For more information about the 1-wire protocol, see : https://www.maximintegrated.com/en/app-notes/index.mvp/id/1796
Since a2d1f57d96c454d93113f98bfb4391cf17cc0d42, Hydrabus can be used to program SWIO-enabled microcontrollers like CH32V003.
The debug
spawns a "Ardulink" interface that can be used with minichlink.
Note that an external 1K pullup resistor must be added in order to work correctly. The STM32F405 internal pullups are too strong and don't allow the line to rise fast enough.
- 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