Skip to content
Benjamin Vernoux edited this page Apr 16, 2016 · 281 revisions

The first place to look for open tasks that you can help with is the Issues List.

The following list will be removed once everything is moved to the Issues List, completed, or obsolete. If you are interested in helping with any of these tasks, coordinate with the person in parentheses. Try IRC first (freenode channel #hydrabus), then email. ###HydraFW v0.8 Work In Progress:

Generic:
HydraBus specific:
HydraNFC specific:
  • NFC Sniffer (ISO14443A/MIFARE) command for Wireshark with specific dissector (thanks to NicoHub)
  • ISO14443A Emulation (TRF7970A hardware Anticol/UID) see new command emul-3a
    • More accurate emulation (it is too fast today and not compliant with ISO14443A ...)
  • To be released see https://github.com/NicoHub/Wireshark-RFID-dissector for more details

###HydraFW TODO/IDEA:

Generic:
  • Add new utilities:

    • SPI for non intrusive sniffer for MISO/MOSI line (with support of /CS) => Already supported by Binary SPI mode
    • I2C for non intrusive sniffer for SDA line (with support of /CS)
    • Multimeter up to 3.3V/7.2MSPS(12bits) with logging in µSD file in real-time.
  • Bootloader idea using official HydraBus (bootloader) OpenMoko USB ID:

    • USB DFU boot like implemented in actual firmware by keeping UBTN pressed during power ON.
    • Read a configuration file from SDcard(if present) and boot a custom firmware from SDcard(execution in SRAM).
    • other idea TBD.
  • Protection/Debug features(for developer):

    • Implement basic stack overflow/underflow check with canaries between each stack (probably need chibios patch)
    • Implement advanced stack overflow/underflow protection using M4F MPU

To be checked depending on latest ChibiOS v16.1.4 or v16.2.0 USB CDC driver performances.

  • Implement new USB stack(replace the one from chibios) based on STM32Cube USB Host/Device
    • Implement for USB1, USB Composite with:
      • USB CDC(for terminal)
      • Raw Bulk IN/OUT(used for binary mode)
    • Implement for USB2, USB Composite with:
      • USB CDC(for terminal)
      • Raw Bulk IN/OUT(used for binary mode)
      • Mass Storage (using microSD card)
    • Implement Ctrl-C Abort which work like UBTN press to stop waiting.
  • Implement new SD card driver(replace the one from chibios) based on STM32Cube HAL
    • Implement detection & setting of high-speed microSD, in order to set frequency to 48MHz (instead of default 24MHz).
    • Check possibility to avoid IRQ and use DMA for microSD access in order to use microSD to read/write during real-time task (SPI/UART/I2C sniffer, read ADC, read GPIO, NFC sniffer/log...)
  • Implemente Binary Mode (Raw Bulk IN/OUT):
    • In Firmware for USB1 and USB2(using Raw Bulk IN/OUT dedicated to binary mode) supporting SPI, I2C, UART.
    • In Host tools(Windows/Linux... using libusb) to communicate with binary mode SPI, I2C, UART.
HydraBus specific:
  • Use "SPI1", "UART2" etc instead of 1/2 when specifying device to use the same for "DAC1" & "DAC2"...
  • Generate DAC output advanced mode using waveform and DMA to generate Sin, Square ...
    • Add Offset and Frequency parameter for waveforms.
  • SD commands:
    • New feature: Replay some terminal commands from a specified sd file, command name TBD
  • i2c:
    • Slave mode
    • Number of bits (7, 8, 10)
  • spi:
    • Number of bits (any number)
  • Measure frequency (from 1282Hz to 84MHz, 128Hz to 8.4Mhz too, autorange ...)
  • Waveform generator
  • New modes:
    • Parallel Bus (2 to 32bits) with mode sniffer, read and write (with option to log data in realtime to MicroSD) (depending on feedback)
    • 1 or 3 Wire with mode sniffer, read and write (depending on feedback)
    • Basic Scope up to 3.3V and up to 7.2MSPS/12bits
    • Nand Flash x8 and x16 support (see Nand support #12)
  • USB 1.x/2.0 LS/FS sniffer mode (using special passthrough mode with logging directly to MicroSD) (see USB sniffer capability #21)
HydraNFC specific:
  • Cleanup files trf7970a/src/trf797x.c & trf7970a/src/trf_spi.c and change license to Apache 2.0
  • NFC:
    • Scan:
      • support 10-byte UIDs (If someone find Tags with 10 bytes UID)
      • implement real anti-collision (be able to detect 2 tags)
    • Sniffer:
      • real-time write in SD card to sniff during ultra long session (limited by SD card file size and not by the internal 64KB buffer)
      • add optional timestamp global and relative(between data) with at least 73.75ns resolution(for 13.56MHz)
      • Mode for ISO14443B and ISO15693 or lot of other mode TBD (raw specific mode)
    • Emulator mode (Card Emulation) is planned and lot of other modes TBD (like raw mode to modulate even proprietary protocol on 13.56MHz)
    • Read MIFARE tag:
      • Read MIFARE Ultralight tag data ...
      • Read MIFARE Classic 1K tag data ...

###Hardware Extension/Shield

  • Extension using EEPROM:
    • Implement support of EEPROM extension detection with same hw & content as Beagle bone defined here

###Development Environment:

  • Tutorial for EmBitz to load project and debug it (Windows only)
  • Tutorial for Eclipse/ChibiStudio to load project and debug it (Windows only)
  • Tutorial for Eclipse to load project and debug it (Linux)

###DONE (please test with HydraFW v0.7):

  • CAN1 and CAN2 with HydraOBD Shield
  • JTAG (with different MCU/CPU and report what work what do not work ...)
  • 2-wire (I have tested mainly the write with different speed need to check the read ...)
  • Logic Analyzer mode (to do more tests)
  • Binary mode (to do more tests)

How to Flash/Use HydraFW

How to Build/Flash/Use HydraFW

Developer Getting-Started with HydraBus and STM32CubeIDE

Hardware

Firmware (hydrafw) performances

Firmware (hydrafw) Application guides

Firmware (hydrafw) guides

How to Help

Clone this wiki locally