-
Notifications
You must be signed in to change notification settings - Fork 92
HydraFW binary NAND Flash mode guide
This guide is updated towards development firmware
Once the NAND mode has been selected, the following commands are available :
-
0b00000000
Return to main mode. ReturnsBBIO1
-
0b00000001
Displays the current mode. ReturnsFLA1
-
0b00000010
Puts the CE pin low. Returns0x01
-
0b00000011
Puts the CE pin high. Returns0x01
-
0b00000100
Write-then-read (see below) -
0b00000110
Write command -
0b00000111
Read byte -
0b00001000
Wait for RB# -
0b0001xxxx
Write address
This command is used to send at most 4096 bytes and will read at most 4096 bytes of data. Format :
Byte 1 2 3 4 5 6 ...
|----------|----------|----------|----------|----------|----------|------...
[command] [Bytes to write] [Bytes to read] [Data to write
The bytes to read/write are in big-endian format. All data will be buffered before being sent to the Flash bus. Read data will also be buffered on the Hydrabus before being sent back to the user.
This command will read the next byte, then send it to the flash with the CL line high.
Hydrabus will send a 0x01
(acknowledge) once the operation is done.
In this mode, the last 4 bits of the command define the number of bytes to write (from 1 to 16) (Command 0b00010000
will send 1 byte). The same number of bytes will be read and sent to the flash with the AL line high.
Hydrabus will send a 0x01
(acknowledge) once the operation is done.
This command will read a byte from the flash, send a 0x01
(acknowledge), then the read byte.
This command will wait until thr RB# line is high, then send a 0x01
(acknowledge).
- 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