-
Notifications
You must be signed in to change notification settings - Fork 92
HydraFW binary SDIO mode guide
This guide is updated towards development firmware
Once the SDIO mode has been selected, the following commands are available :
-
0b00000000
Return to main mode. Returns BBIO1 -
0b00000001
Mode identification. ReturnsSDI1
-
0b000001xx
Send SDIO command -
0b000010xx
Send SDIO command and write data block -
0b000011xx
Send SDIO command and read data block
This command reads one byte as the command ID, and 4 bytes as the command argument.
Format :
Byte 1 2 3 4 5 6
|----------|----------|----------|----------|----------|----------|
[command] [ID] [ Argument ]
Depending on the two last bits, the SDIO driver will wait for different response :
-
0b00
: No response from card -
0b01
: Short response -
0b10
: Long response
This command returns 0x01
if successful, 0x00
in case of error.
This command is used to send a SDIO command followed by a data block. The block size is 512 bytes.
This command first reads one byte as the command ID, and 4 bytes as the command argument. 512 data bytes need to be sent afterwards
Format :
Byte 1 2 3 4 5 6 ...
|----------|----------|----------|----------|----------|----------|------...
[command] [ID] [ Argument ] [ Data
Depending on the two last bits, the SDIO driver will wait for a different command response :
-
0b00
: No response from card -
0b01
: Short response -
0b10
: Long response
This command returns 0x01
if successful, 0x00
in case of error.
This command is used to send a SDIO command, then read a data block. The block size is 512 bytes.
This command first reads one byte as the command ID, and 4 bytes as the command argument.
Format :
Byte 1 2 3 4 5 6
|----------|----------|----------|----------|----------|----------|
[command] [ID] [ Argument ]
Depending on the two last bits, the SDIO driver will wait for a different command response :
-
0b00
: No response from card -
0b01
: Short response -
0b10
: Long response
This command returns 0x01
if successful followed by 512 bytes, 0x00
in case of error.
- 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