I'm trying to modify the USB stack with support for Force Feedback (FFB). That involves some hefty modifications in the Teensy USB stack code. However, I lack some debugging method since the USB serial method normally used isn't even up yet when I need my debug output.
So, trying hardware serial instead. I've hooked up a SparkFun FTDI Basic in 3.3V mode and attached to pin 0 and 1 (RX/TX). I've modified the project to listen to that port (COM7) in my case. So far so god. The actual USB code by Paul contains commented lines like these:
serial_print("Desc found, ");
When removing the comments and compiling the code everyting compiles fine, but no output. What I need help with is how to set up the Hardware serial1 port to actually work, and how this is done with BAUD rates and so on. I guess this could be put in some early setup routines in the Teensy code, but I don't know where.
So, trying hardware serial instead. I've hooked up a SparkFun FTDI Basic in 3.3V mode and attached to pin 0 and 1 (RX/TX). I've modified the project to listen to that port (COM7) in my case. So far so god. The actual USB code by Paul contains commented lines like these:
serial_print("Desc found, ");
When removing the comments and compiling the code everyting compiles fine, but no output. What I need help with is how to set up the Hardware serial1 port to actually work, and how this is done with BAUD rates and so on. I guess this could be put in some early setup routines in the Teensy code, but I don't know where.