I succeeded in getting MIDI transmit to work. I "borrowed" the code from teensy2 and massaged (read: hacked) it to work with the new usb mechanism. I'm honestly not sure what took so long, but I think ultimately I just needed to insert some delay before I started sending usb messages.
Code is here. Apologies for the mess I made there.
I'm now trying to get the USB-debug HID RAW stuff working (aka hid_listen). I'm again in this state where the teensy is recognized by the USB host but no data is transmitted (hid_listen just prints dots).
Debugging this stuff is a bit of a pain. I'd appreciate any suggestions on debugging tips. I assume there's no real debugging tools at the teensy level (like remote gdb or something). I found USB Prober on the Mac and that's somewhat useful. I'm hoping for something that would let me see the raw USB traffic from/to my Mac for a specific device. I noticed this post about debugging USB under linux, so maybe I'll just hook the teensy up to my raspberry pi and use that.
The teensy is so cool. I feel like I'm learning a ton just by hacking on it at this level. Thanks to Paul for all the effort and for providing such a great development environment with full source code.
-c
Code is here. Apologies for the mess I made there.
I'm now trying to get the USB-debug HID RAW stuff working (aka hid_listen). I'm again in this state where the teensy is recognized by the USB host but no data is transmitted (hid_listen just prints dots).
Debugging this stuff is a bit of a pain. I'd appreciate any suggestions on debugging tips. I assume there's no real debugging tools at the teensy level (like remote gdb or something). I found USB Prober on the Mac and that's somewhat useful. I'm hoping for something that would let me see the raw USB traffic from/to my Mac for a specific device. I noticed this post about debugging USB under linux, so maybe I'll just hook the teensy up to my raspberry pi and use that.
The teensy is so cool. I feel like I'm learning a ton just by hacking on it at this level. Thanks to Paul for all the effort and for providing such a great development environment with full source code.
-c