HydraFW v0.5 Beta released

HydraFW v0.5 Beta

  • New USB VID_0x1d50/PID_0x60a7 using OpenMoko HydraFW, update with new drivers
  • Added USB DFU boot by pressing UBTN at PowerOn/RESET for easier future update of the firmware (does not requires any wire).
  • Added Log command (thanks to biot):
    • Log all commands/answer in the Terminal to HydraBus SD card file: logging on off sd
  • Added command debug test-rx (debug rx) in order to test USB CDC reception performance.
  • Added PWM command:
    • Configurable PWM frequency between 1Hz to 42MHz and duty cycle from 0 to 100%: pwm, frequency, duty-cycle
    • Give feedback of real PWM frequency & duty cycle after configuration.
  • Added DAC command:
    • Configurable DAC1(PA4 used by ULED) or DAC2(PA5) with following modes:
      • raw (0 to 4095), volt (0 to 3.3), also returns feedback of raw/volt DAC value after configuration.
      • triangle (5Hz / 3.3V Amplitude), noise (0 to 3.3V Amplitude)
      • dac exit disable DAC1/2 & Timer6/7 and reinit GPIO for PA4 & PA5
  • UART:
    • UART returns real baud rate+% error after configuration.
    • Check and correct min/max value for UART baudrate.
  • I2C added scan (thanks to biot).
  • SPI:
    • Fixed cs on / off bug with Infinite Loop.
    • Fixed SPI mode slave.
    • Fixed configuration for phase & polarity (was always set to 0).
  • HydraNFC:
    • Fixed HydraNFC detection/init/cleanup and autonomous sniffer mode started with K4.
    • Fixed some potential problems/crash with scan/continuous.
  • Add full help for commands.
  • Lot of cleanup and fixes in code.

See all commands here: https://github.com/bvernoux/hydrafw/wiki/HydraFW-commands
HydraFW Link: https://github.com/bvernoux/hydrafw
Release with pre-built firmware: https://github.com/bvernoux/hydrafw/releases/tag/v0.5-beta

HydraFW HydraNFC/TRF7970A Tutorial

HydraFW HydraNFC/TRF7970A Tutorial added for HydraBus/HydraNFC and latest firmware (at least version HydraFW_v0.4-beta-56-g09d47ac see release).

See https://github.com/bvernoux/hydrafw/wiki/HydraFW-HydraNFC-TRF7970A-Tutorial

The tutorial details how to:

  • Initialize GPIO & SPI to communicate with TRF7970A/HydraNFC
  • Initialize & read ISO15693/Vicinity Tag
  • Initialize & read ISO14443A/Mifare Tag
  • Use TRF7970A commands (SLOS743K – August 2011 – revised April 2014)

HydraFW v0.4 Beta released

Major improvement/refactoring towards terminal/syntax using tokenline (instead of microrl) thanks to Bert Vermeulen (biot) for that amazing piece of software and all the work on this project.
Also lot of new commands added like ADC, GPIO, more sd commands.
SPI1&2, I2C and UART1&2 are tested with logic analyzer/oscilloscope.
See all commands here: https://github.com/bvernoux/hydrafw/wiki/HydraFW-commands
HydraFW Link: https://github.com/bvernoux/hydrafw
Release with pre-built firmware: https://github.com/bvernoux/hydrafw/releases/tag/v0.4-beta

Also a very good news now HydraBus have OpenMoko USB VID/PID see more details here
Those ID will be used in next release HydraFW v0.5

HydraFW support of EmBlocks IDE for Windows

In latest version of HydraFW support of EmBlocks IDE have been added to simplify development, build and debug.
Thanks to rdollet for this contribution.
In order to build HydraFW it is required to install mingw (mainly for sh) & python 2.7 (for pre/post build).
When you have installed EmBlocks you just need to Open file “hydrafwEm.ebp” available in root of hydrafw github source code.
Also now code is compliant with Linux Kernel coding style.
HydraFW github: https://github.com/bvernoux/hydrafw

HydraFW v0.3 Beta released

For this new version the following modes have been added: SPI (Master & Slave), I2C (Slave only) & UART.
Also lot of fixes and cleanup.

HydraFW Link: https://github.com/bvernoux/hydrafw
Wiki HydraFW commands: https://github.com/bvernoux/hydrafw/wiki/HydraFW-commands
Release with pre-built firmware: https://github.com/bvernoux/hydrafw/releases/tag/v0.3-beta

Some tests done with SPI, UART and I2C with Logic Analyzer ScanaPLUS:
hydrafw_spi_uart_i2c_tests

HydraBus/HydraNFC Wiki (Getting Started, Task List, Commands)

HydraBus/HydraNFC  Wiki: https://github.com/bvernoux/hydrafw/wiki
HydraBus/HydraNFC  Wiki Getting-Started-with-HydraBus: https://github.com/bvernoux/hydrafw/wiki/Getting-Started-with-HydraBus
HydraBus/HydraNFC  Wiki Task List: https://github.com/bvernoux/hydrafw/wiki/Task-List
HydraBus/HydraNFC  Wiki HydraFW-commands: https://github.com/bvernoux/hydrafw/wiki/HydraFW-commands