Permalink
Commits on Apr 3, 2012
Commits on Mar 21, 2012
  1. Bump version numbers

    sbourdeauducq committed Mar 21, 2012
  2. flterm: report usage errors to the user

    mwalle committed with sbourdeauducq Mar 20, 2012
    Don't silently ignore errors while parsing the parameters.
    
    Signed-off-by: Michael Walle <michael@walle.cc>
  3. flterm: add speed option

    mwalle committed with sbourdeauducq Mar 20, 2012
    Drop doublerate parameter and replace it with a generic speed parameter.
    Additionally, on linux you can supply any (non-standard) baudrate.
    
    Signed-off-by: Michael Walle <michael@walle.cc>
Commits on Mar 10, 2012
Commits on Mar 4, 2012
  1. softusb: when exhausting retries, reset the device up to three times

    wpwrak committed Mar 4, 2012
    This brings the LV3 success rate to 50/50 = 100%.
  2. softusb: limit IN/OUT retries in control_transfer

    wpwrak committed Mar 4, 2012
    If hitting persistent timeouts or an unresponsive device, we could
    loop forever. This would hang the entire USB subsystem, also for any
    devices on the other port. Also unplugging wouldn't help. Only a
    reboot or - lately - reloading the USB firmware would get out of this.
    
    Parameter stability:
    
    Retry limit for main data phase
    |    Retry limit for the IN/OUT ending it
    |    |    LV3 successes
    |    |    |
     50   10  13/25 = 52%
    100   10  23/50 = 46%
    250   10  12/25 = 48%
    250  100  29/50 = 58%
  3. softusb: fix two typos, one of them breaking some error detection

    wpwrak committed Mar 4, 2012
    If the OUT token to end a data phase wasn't ack'ed, we didn't notice.
    
    This still leaves the LV3 success rate at 13/25 = 52%.
Commits on Mar 3, 2012
  1. softusb: don't send SOF while in full-speed bus reset

    wpwrak committed Mar 3, 2012
    We started sending SOF a little too early, making it impossible to
    reset the bus without physical unplugging.
    
    Note that resetting an LV3 via unplug-usb_load-plug leads to
    successful enumeration with probability 40/75 = 53% while only
    usb_load yields 23/50 = 46%.
    
    This also introduces a failure mode not seen before where the
    LV3 enumerates ("Found MIDI") but still doesn't communicate.
    Subsequent bus resets are unsuccessful. Plug cycling helps.
  2. softusb: disable RX timeout message in usb_in

    wpwrak committed Mar 3, 2012
    We got a HUGE number of these with full-speed devices, badly spamming
    the diagnostic output.
    
    Note that this change may reduce the probability of successful
    enumeration: with the timeout message, 36/50 = 72% unplug-reset-plug
    cycles succeeded with LV3, while without the message, only 40/75 =
    53% did.
  3. softusb/navre.ld: change LENGTH of data section from 32 kB to 8 kB

    wpwrak committed Mar 3, 2012
    This doesn't affect the code to currently generate. Just removes a
    bit of potentially misleading information.
Commits on Mar 2, 2012
  1. softusb: added the usual set of -W... flags and corrected code accord…

    wpwrak committed Mar 2, 2012
    …ingly
    
    The problem were:
    
    - missing "void" in function declarations in main.c
    
    - debug.c didn't include debug.h
    
    None of these caused actual malfunction.
  2. softusb: added access to Navre's PC via CSR

    wpwrak committed Mar 2, 2012
    This is for debugging. Removed reading back the reset status via CSR,
    since it seems not very useful and we don't have to decode the address
    this way.
  3. softusb-input/Makefile: added target "upload" to upload softusb-input…

    wpwrak committed Mar 2, 2012
    ….bin to M1
    
    Uses ftp-upload from the eponymous package.
  4. tools/asm/pfpu: renamed M1_{HOST,USER,PW} to MM_* and removed defaults

    wpwrak committed Mar 2, 2012
    Following discussion on #milkymist, the names are now "official".
Commits on Mar 1, 2012
  1. Makefile: install softusb-input to sdk-install

    Xiangfu Liu committed Mar 1, 2012
Commits on Feb 24, 2012
  1. README: update

    sbourdeauducq committed Feb 24, 2012
  2. adjust the map -t from 2 to 20 fit for ISE 13.4

    Xiangfu Liu committed with sbourdeauducq Feb 24, 2012
Commits on Feb 23, 2012
  1. Makefile: add sdk-install, tools-install

    Xiangfu Liu committed Feb 23, 2012
Commits on Feb 21, 2012
  1. VGA: fix the vsync pulses

    Xiangfu Liu committed Feb 21, 2012
Commits on Feb 10, 2012
  1. improvement for libbase uart.c

    fpgaminer committed with Xiangfu Liu Feb 10, 2012
      uart_isr, when applicable, will reset CSR_UART_STAT after it has
      written new data to the UART module. If the UART module is able
      to finish that request before uart_isr writes to CSR_UART_STAT,
      then uart_isr will end up clearing the wrong event. This prevents
      uart_isr from ever being called again, and stalls all outgoing data
Commits on Feb 8, 2012
  1. fix 'make install' target

    dvdkhlng committed with Xiangfu Liu Feb 7, 2012
    Just a slight fix.  Don't like non-distribution stuff to populate /usr/bin
    
    cheers,
    
    David
Commits on Feb 2, 2012
  1. ledm: added I/O overrides and corrected prescaler formula

    wpwrak committed Feb 2, 2012
    This commit contains several changes:
    
    - the prescaler divides by N+1, not N. Corrected the formula and the
      default prescaler value. The refresh rate is now 1 kHz. Before, it
      was only 983 Hz.
    
    - setting the prescaler to 0 stops scanning. Note that the I/Os are
      not automatically reset, so some LEDs may be left on. Using 0 to
      disable the prescaler reduces the maximum refresh rate to 26 kHz.
      Before, it was 52 kHz.
    
    - six new registers to directly set the row and column I/Os. There
      are three registers for rows and columns: one to force pins Z, one
      to force pins to 0, and one to force pins to 1.
    
      A write changes the state of a pin only if the corresponding bit
      is set to one.
Commits on Jan 26, 2012
Commits on Jan 25, 2012
Commits on Jan 17, 2012
Commits on Jan 16, 2012
  1. asm/mod.fpvm: modulo calculation example

    wpwrak committed Jan 16, 2012
    Run with
    ./fpvm mod.fpvm
    
    Or, more entertaining
    ./fpvm -x mod.fpvm
    
    For every last gory detail, use
    ./fpvm -d -x mod.fpvm