README
st25tb_kameleon_stm32
ST25TB / SRx NFC Emulator / Initiator - kameleon/kiemul - based on Hyrabus with HydraNFC
Hydrabus & HydraNFC
From Benjamin VERNOUX ( @bvernoux )
- https://hydrabus.com/hydrabus-1-0-specifications/
- https://hydrabus.com/hydranfc-1-0-specifications/
Build
This firmware is using STM32CubeIDE, compatible with STM32CubeMX - project supports code regeneration without altering the ST25TB part.
Hydrabus is using a STM32F405, you need its stack from ST: https://www.st.com/en/embedded-software/stm32cubef4.html - but the IDE care about it itself.
For reference, it was developped with STM32Cube MCU Package for STM32F4 series version 1.28.0 (maybe patch1 ?), if you want to use another version, you may have to edit the .ioc file then regenerate the project.
Flash
You can flash the firmware from the IDE itself, but you can also use STM32CubeProgrammer, the GUI or the CLI.
By example for DFU mode in CLI: STM32_Programmer_CLI --connect port=usb1 --download st25tb_kameleon_stm32_hydrabus_hydranfc_v1.hex --verify
-------------------------------------------------------------------
STM32CubeProgrammer v2.17.0
-------------------------------------------------------------------
USB speed : Full Speed (12MBit/s)
Manuf. ID : STMicroelectronics
Product ID : STM32 BOOTLOADER
SN : 207036B25853
DFU protocol: 1.1
Board : --
Device ID : 0x0413
Device name : STM32F405xx/F407xx/F415xx/F417xx
Flash size : 1 MBytes (default)
Device type : MCU
Revision ID : --
Device CPU : Cortex-M4
Memory Programming ...
Opening and parsing file: st25tb_kameleon_stm32_hydrabus_hydranfc_v1.hex
File : st25tb_kameleon_stm32_hydrabus_hydranfc_v1.hex
Size : 27.13 KB
Address : 0x08000000
Erasing memory corresponding to segment 0:
Erasing internal memory sector 0
erasing sector 0000 @: 0x08000000 done
Erasing memory corresponding to segment 1:
Erasing internal memory sector 1
erasing sector 0001 @: 0x08004000 done
Erasing memory corresponding to segment 2:
Erasing internal memory sectors [2 3]
erasing sector 0002 @: 0x08008000 done
erasing sector 0003 @: 0x0800c000 done
Download in Progress:
██████████████████████████████████████████████████ 100%
File download complete
Time elapsed during download operation: 00:00:01.965
Verifying ...
Read progress:
██████████████████████████████████████████████████ 100%
Download verified successfully
Notes
--erase allcan be added before--downloadport=usb1is not mandatory, you can also add asn=___- use
STM32_Programmer_CLI --listto be sure before...
- use
References
-
Hydrabus- https://hydrabus.com/hydrabus-1-0-specifications/
- https://github.com/hydrabus/hydrabus
- https://github.com/hydrabus/hydrafw
-
HydraNFC- https://hydrabus.com/hydranfc-1-0-specifications/
- https://github.com/hydrabus/hydranfc
- https://github.com/hydrabus/hydrafw (included in original firmware)
-
HydraNFC v2- not compatible with this firmware- https://hydrabus.com/hydranfc-shield-v2-specifications/
- https://github.com/hydrabus/hydrafw_hydranfc_shield_v2
-
STM32F405RG- https://www.st.com/en/microcontrollers-microprocessors/stm32f405rg.html -
TRF7970A- https://www.ti.com/product/TRF7970A
Question & Answers
1. Can I buy one?
Yes, maybe, Benjamin VERNOUX ( @bvernoux ) mades them, if you're lucky on https://hydrabus.com/shop/ or maybe you can still find them:
-
Hydrabus : https://www.digikey.fr/en/products/detail/benjamin-vernoux/HYDRABUS-V1/15652912
-
HydraNFC : https://lab401.com/fr/products/hydranfc
... but Benjamin is now more focus on HydraNFC v2 - https://hydrabus.com/hydranfc-shield-v2-specifications/ - with a better NFC chip :
ST25R3916(B)
Author
Benjamin DELPY 🥝 gentilkiwi, you can contact me on Twitter ( @gentilkiwi ) or by mail ( benjamin [at] gentilkiwi.com )
This is a personal development, please respect its philosophy and don't use it for bad things!
Benjamin VERNOUX (@bvernoux) is the author of Hydrabus hardware, HydraNFC hardware and their original firmwares
Licence
CC BY 4.0 licence - https://creativecommons.org/licenses/by/4.0/