Skip to content
bvernoux edited this page Jan 2, 2015 · 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.

###TODO v0.5:

  • Waveform generator (bert)
  • PWM PB11 using 32bits Timer TIM2_CH4 freq from less than 1Hz to 21MHz or even more (bvernoux)
  • Use "SPI1", "UART2" etc instead of 1/2 when specifying device to use the same for "DAC1" & "DAC2"...
  • Use Openmoko VID/PID

###TODO

  • Generate DAC output advanced mode using waveform and DMA to generate Sin, Square ...
    • Add Offset and Frequency parameter for waveforms.
  • Add official OpenMoko USB ID => HydraBus USB VID/PID see https://github.com/bvernoux/hydrafw/wiki
    • bootloader idea:
      • Firmware flash option (if for example keep UBTN pressed during power ON)
      • Could also read a configuration file from SDcard(if present) and boot a custom fw from SDcard(execution in SRAM).
    • hydrafw idea:
      • Implement USB Composite with USB CDC(for terminal) + USB Bulk IN/OUT(for raw mode)
  • Implement basic stack overflow/underflow check with canaries between each stack (probably need chibios patch)
  • Implement advanced stack overflow/underflow protection using M4F MPU
  • add help syntax for each group of command
    • For ADC example:
      • Configuration: adc <adctype (adc1 tempsensor vrefint vbat)> [<period (nb ms)>]
      • Interaction: adc [<samples> <nb samples>] [<continuous>]
    • For GPIO example:
      • Configuration: gpio <string (gpio port)> [<mode (in/out/open-drain)>] [<pull (up/down/floating)>] [<period (nb ms)>]
      • Interaction: gpio [continuous] [<on/off>] <read value:repeat> [<continuous>]
    • For SPI example:
      • Configuration: spi [<device (1/2)] [<pull (up/down/floating)>] [<frequency (value hz/khz/mhz)>]
      • Interaction: spi [<cs (on) OR "[">] [<cs (off) OR "]">] <read or write (value:repeat)>
    • For I2C example:
      • Configuration: i2c [<pull (up/down/floating)>] [<frequency (value hz/khz/mhz)>]
      • Interaction: i2c [<start>] [<stop>] <read or write (value:repeat)>
    • For UART example:
      • Configuration: uart [<device (1/2)] [<speed (value in bauds)>] [<parity (none/even/odd)>] [<stop-bits (1/2)>]
      • Interaction: uart <read or write (value:repeat)>
    • add wildcard "*" to read a group of ADC channels
  • Implement Ctrl-C Abort which work like UBTN press to stop waiting.
  • SD commands:
    • New feature: Replay some terminal commands from a specified sd file, command name TBD
  • SD driver:
    • Implement correct detection & setting of high-speed microSD, in order to set frequency to 48MHz (instead of default 24MHz) => To be done in chibios driver or use stm32cube sdcard driver which have such feature.
  • Extension using EEPROM for detection:
  • Add binary mode for SPI, I2C, UART on USB2 (dedicated to binary mode)
  • All modes:
    • Use freeform string as byte sequence, instead of freeform integers
  • 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 ...)
  • New modes:
    • CAN, Parallel Bus (2 to 32bits) with mode sniffer, read and write (with option to log data in realtime to MicroSD) (depending on feedback)
    • 1/2/3 Wire with mode sniffer, read and write (depending on feedback)
    • Basic Scope up to 3.3V and up to 7.2MSPS/12bits
  • USB 1.x/2.0 LS/FS sniffer mode (using special passthrough mode with logging directly to MicroSD) (depending on feedback)
  • Other commands as defined in BusPirate menu (with some extensions/new features) (depending on feedback)
  • Cleanup files trf7970a/src/trf797x.c & trf7970a/src/trf_spi.c and change license to Apache 2.0
  • 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)
  • Add new utilities:
    • SPI for non intrusive sniffer for MISO/MOSI line (with support of /CS)
    • I2C for non intrusive sniffer for SDA line (with support of /CS)
    • I2C to search I2C device(s) address
    • Multimeter up to 3.3V/7.2MSPS(12bits) with logging in µSD file in realtime.

###Development Environment:

  • Tutorial for EmBlocks 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):

  • Exceptions management with stack dump and information on crash
    • Implement a good core dump in case of crash
  • New "sd" commands: "rm", "mkdir"
  • i2c scan functionality
  • uart: show actual hardware bitrate after setting it. (bvx: Tested with oscilloscope+logic analyzer)
  • "logging [sd filename] [on]" & "logging off" to log everything from the terminal in & out to a sd card file.
  • Generate DAC output from 0 to 3.3V (value from 0 to 4095 or 0 to 3.3V and also Triangle 3.3V Amplitude)

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