Permalink
Switch branches/tags
Nothing to show
Commits on Jan 27, 2011
  1. adding/modifying some rx tests

    Marti Bolivar committed Jan 27, 2011
  2. adding .gitignore

    Marti Bolivar committed Jan 27, 2011
  3. removing main.cpp from serialusb-test

    Marti Bolivar committed Jan 27, 2011
  4. committed a series of tests demonstrating a functional usb.h serial tx

    however the test does fail in python, but this seems to by pyserial's fault, and not maples.
    also re-verified that blocking sends on maple will hang if the bytes are not read out by SOME
    application on the OS.
    AJM committed Jan 27, 2011
Commits on Jan 3, 2011
  1. added alternative sketch and test for RX ONLY

    manually step through packets of incrementing size up to 1024 bytes at 115200 baud. Works fine.
    Use with the appropriate version of libmaple, currentl debug-serialusb branch on gihub
    AJM committed Jan 3, 2011
Commits on Dec 21, 2010
  1. some cleanups; still evidence that RX is buggy.

    to run:
       $ make install
       $ python serial_test.py /path/to/maple/serialusb
    then in a separate terminal:
       $ python serial_test.py --echo /path/to/maple/usart1
    then press the maple's button, watching both terminals.
    
    same problem as before (python thinks it wrote back bytes maple never
    received), just a little more self-contained (no need for separate
    serial monitor).
    Marti Bolivar committed Dec 21, 2010
  2. don't blame TX; it looks like RX's fault!

    run this one while watching USART1 and SerialUSB.
    
    you'll notice that when it errors out, the python script will claim it
    wrote the bytes back, then time out on reading the response.  the
    maple's code will take a little longer reading those bytes that python
    supposedly wrote back, and errors out after its timeout is reached.
    
    in short, barring a bug in pyserial, there are still RX problems.
    Marti Bolivar committed Dec 21, 2010
  3. strange results, race condition likely

    added some out-of-band signaling over Serial1 to help debug, and the
    extra delays seem to make everything work.  try for yourself:
    
    - upload main.cpp, with an FTDI breakout board attached to Serial1 and
      powering the Maple
    
    - run screen on the FTDI's /dev/whatever, and run
    
      $ python serial_echo.py <port name>
    
    - hit the button on the maple a bunch of times.  observe the extra
      FTDI messages, and that everything seems to work fine.
    
    - comment out main.cpp, line 25 ("#define DEBUG_USART Serial1").
      upload etc. again.
    
    - start mashing the button, observe that now things hang randomly when
      serial_echo.py is attempting to read bytes back.
    
    obviously, this is frustrating, since it means we can't use the real
    USARTs (which work well) to help debug.
    Marti Bolivar committed Dec 21, 2010
Commits on Dec 14, 2010
  1. currently non functional test

    use --only-send on the python side and #define RX_ONLY 1 on the main.cpp to test the rx only (wont echo bytes back, but will attempt to verify it received them correctly. This DOES work.
    AJM committed Dec 14, 2010
  2. committing the current (broken) version of the serialusb

    so I can revert to it later. About to blow it all away
    AJM committed Dec 14, 2010
  3. adding test rig for usbSendBytes()/usbReceiveBytes()

    Marti Bolivar committed Dec 14, 2010
  4. Moved skeleton to use convenience functions

    Marti Bolivar committed Dec 14, 2010
Commits on Sep 23, 2010
  1. mondrian works woo

    Marti Bolivar committed Sep 23, 2010
  2. bare-bones mondrian images mostly work

    Marti Bolivar committed Sep 23, 2010
  3. not totally stupid color demo

    Marti Bolivar committed Sep 23, 2010
  4. timing changes

    Marti Bolivar committed Sep 23, 2010
Commits on Sep 22, 2010
  1. colors!

    Marti Bolivar committed Sep 22, 2010
  2. renamed vga-fade-in to vga-colors

    Marti Bolivar committed Sep 22, 2010
  3. vga-fade-in compiles now

    Marti Bolivar committed Sep 22, 2010
Commits on Sep 21, 2010
  1. added a README

    Marti Bolivar committed Sep 21, 2010
  2. initial, UNTESTED commit of vga-fade-in.

    Marti Bolivar committed Sep 21, 2010
  3. renamed vga to vga-pong

    Marti Bolivar committed Sep 21, 2010
Commits on Sep 20, 2010
  1. pong works

    Marti Bolivar committed Sep 20, 2010
  2. bigger board

    Marti Bolivar committed Sep 20, 2010
Commits on Sep 18, 2010
  1. checkerboard timing demonstration

    Marti Bolivar committed Sep 18, 2010
Commits on Sep 16, 2010
  1. independent joysticks, but buggy balls

    Marti Bolivar committed Sep 16, 2010
  2. committing brian just for safekeeping

    Marti Bolivar committed Sep 16, 2010
  3. center the image

    Marti Bolivar committed Sep 16, 2010
  4. changed if/else to switch/case to avoid timing issues

    Marti Bolivar committed Sep 16, 2010
  5. initial commit

    Marti Bolivar committed Sep 16, 2010