12.09.2020 - HydraFW v0.2 Beta for HydraBus v1 + HydraNFC Shield v2
Generic:
- Update ChibiOS 18.2.0 (git version)
- Plug & Play USB Serial Driver using standard driver for windows 8.1 & 10 (Thanks to Guigz2000)
- HydraNFC v2 HAL fix platformProtectST25RComm() / platformUnprotectST25RComm() to mask/unmask the PA1 IRQ connected to ST25R3916 IRQ
MCU Debug
- Debug SWO/ITM Trace and added console UART (Thanks AAsyunkin-se for the pull request/contributions)
NFC BBIO mode
- BBIO Reader supporting different technology NFC-A/B/V (Thanks gvinet for the pull request/contributions)
- BBIO Card Emulator iso14443 a (Thanks gvinet for the pull request/contributions)
- See examples python3 scripts using the BBIO Reader / Card Emulator
NFC Shield v2 nfc mode
- Commands
set-nfc-obsvandget-nfc-obsvadded- It is for debug mode see ST25R3916 datasheet "Analog test and observation register 1" for more details
- Add options to select technology NFC-A/B/ST25TB/V/F or ALL (NFC-A/B/V/F)
nfc-allSelect technology NFC-A/B/V/Fnfc-aSelect technology NFC-A(ISO14443A)nfc-bSelect technology NFC-B(ISO14443B)nfc-st25tbSelect technology NFC-B(ISO14443B ST25TB)nfc-vSelect technology NFC-V Vicinity(ISO15693)nfc-fSelect technology NFC-F FeliCa
- Command
scanadd options scan once(by default) orcontinuouswithperiodof scan (in ms) - Command
scanadd more details- NFC-A/B/V/F add tag tx/rx bitrate in kbit/s
- NFC-A add Tag Type
- NFC-A add ATQA, SAK and ATS(on tag supporting it) details
- See HydraFW-HydraNFC-v2-guide#read-uid-of-any-nfc-tag-iso14443a-iso14443b-iso15693vicinity-felicanfc-abvf for more details
- Command
ceadded (Thanks AAsyunkin-se for the pull request/contributions)- Set Tag properties for Card Emulation (UID, SAK...) those parameters are common to
emul-3aandemul-t4tcommands - sub-parameter `uid' Set UID to be used for Card Emulation; 4 or 7 bytes. Hex string with no spaces or prefixes, e.g. f1e2d3c4
- This parameter is required by
emul-3aand/oremul-t4tcommands
- This parameter is required by
- sub-parameter `sak' Set (final) SAK to be used for Card Emulation. 1 byte hex with no spaces or prefixes, e.g. 20
- This parameter is required by
emul-3aand/oremul-t4tcommands
- This parameter is required by
- sub-parameter `uri' Set URI to be used for T4T Card Emulation
- This parameter is required by
emul-t4tcommand
- This parameter is required by
- See HydraFW-HydraNFC-v2-guide#nfc-emulation-iso-14443a for more details/examples
- Set Tag properties for Card Emulation (UID, SAK...) those parameters are common to
- Command
emul-3aadded (Thanks AAsyunkin-se for the pull request/contributions)- Emul Tag ISO14443A using
ce=>uidandsakparameters - See HydraFW-HydraNFC-v2-guide#nfc-emulation-iso-14443a for more details/examples
- Emul Tag ISO14443A using
- Command
emul-t4tadded (Thanks AAsyunkin-se for the pull request/contributions)- Emul Tag ISO14443A T4T using
ce=>uid,sakanduriparameters - See HydraFW-HydraNFC-v2-guide#emulation-iso-14443a-tag-uid-4-or-7-bytes-sakconfigurable-ndef-with-data-uri for more details/examples
- Emul Tag ISO14443A T4T using
- Commands
connectandsendadded (Thanks gvinet for the pull request/contributions)- Add command
connectConnect to a smartcard (ISO 14443 A & B) or ISO 15693/Vicinity card - Add command
sendSend APDU data to a card initialized with the connect command (ISO 14443 A & B tags), or data with automatic CRC computation for ISO 15693/Vicinity cards. - See HydraFW-HydraNFC-v2-guide#connect-send-apdu-data for more details/examples
- Add command
- Command
connect-optadded (Thanks gvinet for the pull request/contributions)- sub-parameter
verbositySet verbosity. 0: print only APDU. 8: print all exchanges - sub-parameter
fsdFrame size between 1 and 250 (only for ISO 14443 cards)
- sub-parameter
NFC Shield v2 dnfc mode (Debug/Developer mode)
-
See https://github.com/hydrabus/hydrafw_hydranfc_shield_v2/wiki/HydraFW-HydraNFC-v2-guide-dnfc-mode
-
Add
dnfcmode with Init of HydraNFC Shield v2 when entering in this mode -
Protocol configuration/information
frequency(to change SPI frequency),show,show pins,show registers- See HydraFW-HydraNFC-v2-guide-dnfc-mode for more details/examples
-
Get/Set NFC Mode (NFCA/B/V/F/Custom)
- Add command
set-nfc-modeSet the NFC mode using following sub-parameter- sub-parameter
nfc-modeSet NFC Mode to one of this value: POLL_NFCA=1, POLL_NFCA_T1T=2, POLL_NFCB=3, POLL_B_PRIME=4, POLL_B_CTS=5, POLL_NFCF=6, POLL_NFCV=7, POLL_PICOPASS=8, POLL_ACTIVE_P2P=9, LISTEN_NFCA=10, LISTEN_NFCB=11, LISTEN_NFCF=12, LISTEN_ACTIVE_P2P=13 - sub-parameter
nfc-mode-tx_brSet TX BitRate to one of this value: BR_106=0, BR_212=1, BR_424=2, BR_848=3, BR_52p97=235, BR_26p48=236, BR_1p66=237 - sub-parameter
nfc-mode-rx_brSet RX BitRate to one of this value: BR_106=0, BR_212=1, BR_424=2, BR_848=3, BR_52p97=235, BR_26p48=236, BR_1p66=237
- sub-parameter
- Add command
get-nfc-modeGet NFC Mode and parameters values - See HydraFW-HydraNFC-v2-guide-dnfc-mode#debugdeveloper-mode-for-nfc-shield-v2-with-dnfc-mode-using-nfc-mode-and-doing-manual-anti-collision-on-nfc-a for more details/examples
- Add command
-
Add commands to enable nfc field and send various data to tag (Thanks gvinet for the pull request/contributions)
- Add command
nfc-off-onto set RF field off/on - Add command
nfc-reqato Send ISO 14443-A REQA - Add command
nfc-wupato Send ISO 14443-A WUPA - Add command
sendto Send bytes according to the selected mode - Add command
send-autoto Send bytes according to the selected mode and add CRC - See HydraFW-HydraNFC-v2-guide-dnfc-mode#debugdeveloper-mode-for-nfc-shield-v2-with-dnfc-mode-using-nfc-mode-and-doing-manual-anti-collision-on-nfc-a for more details/examples
- Add command
-
Add Transparent test mode see command
nfc-transp(Enter NFC Transparent Test Mode) -
Add Stream test mode see command
nfc-stream(Enter NFC Stream Test Mode) -
Add Sniffer test mode see command
sniff(Enter NFC Sniff Test Mode)
Documentation / Wiki
- Wiki Getting Started with HydraBus and STM32CubeIDE (Include also advanced debugging with SWO/ITM Traces) see https://github.com/hydrabus/hydrafw_hydranfc_shield_v2/wiki/Getting-Started-with-HydraBus-and-STM32CubeIDE
- HydraFW-HydraNFC-v2-guide
- HydraFW-HydraNFC-v2 Dev/Debug dnfc guide
- Read & Fuzz contactless smart cards with HydraNFC v2 (Part 1)
- Read & Fuzz contactless smart cards with HydraNFC v2 (Part 2)
HydraNFC Shield v2 st25r3916 NFC chipset spi decoder/dumps for sigrok/PulseView
HydraNFC Shield v2 / ST25R39xx chipset NFC decoder available in Sigrok/PulseView nigthly builds
Benjamin Vernoux
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.