Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - creitzel

Pages: [1]
1
Hello,

I'm trying to get uTasker to work with my Teensy 3.6 board, and I'm having difficulty. 

As a first step on my project, I'm attempting to get uTasker set up as a USB mass storage device, reading from the SD card on the teensy.

I think I've modified the uTasker app files correctly, I basically turned off everything USB, except for the USE_USB_MSD flag.  I've also got the SDCARD_SUPPORT flag turned on.  Aside from those changes, I haven't changed much in the uTasker app code.

I've been able to build uTasker in gcc, and produce a .hex file that I can load onto the teensy.  I've also been able to get uTasker and the simulator up and running in Visual Studio 2012 Express. 

I run the app in the simulator, and when I attempt to enumerate the usb devices, if I put breakpoints in the USB driver, it stops, and it appears to be returning reasonable values for the descriptors.  It appears to be working there, from everything I can tell.

Now for the problem.  When I load the hex image onto the teensy and reboot it, the first thing I noticed was that the teensy's led lights up, and stays lit.  I didn't expect this, and thought it was odd, but I proceeded.  Next No matter how many times I unload USB drivers, and plug/unplug the teensy, windows doesn't recognize it as a USB MSD device, in fact it doesn't seem to recognize it as a USB anything, until I hit the button on the teensy, and the teensy halfkay loader takes over, at which point Windows recognizes it as an HID device as usual.

I have no clue what I could be doing wrong.  Is there a uTasker example that shows configuring it as a MSD using the SDCard, that I could maybe download, and compare to my settings?  Or, does anyone have any tips on things to check etc?

Any assistance would be greatly appreciated.

Thanks,

Chris


Pages: [1]