
eternauta3k
-
Content Count
10 -
Joined
-
Last visited
Reputation Activity
-
eternauta3k reacted to stick in [Work-around] Stellaris Launchpad USB Serial example not enumerating correctly
I fixed the issue by replacing the mentioned line with a series of assignments. See the commit here.
-
eternauta3k got a reaction from Rickta59 in [Work-around] Stellaris Launchpad USB Serial example not enumerating correctly
Thanks a lot, that worked perfectly! Also, by looking at the LM3S9D90 example I realized why my code didn't work. I was using code snippets from the mouse API docs, but I forgot to set the USB interrupt handler to USB0DeviceIntHandler.
It's just crazy how much attention you have to pay to the *all* of the documentation in order to get it to work.
Edit: setting the interrupt handler got me as far as enumerating. I had to increase the stack size from 64 to 160 to make it work completely.
Edit2: I uploaded the example files in case anyone's interested
-
eternauta3k got a reaction from bluehash in [Work-around] Stellaris Launchpad USB Serial example not enumerating correctly
Hi there. I'm having trouble getting the usb_dev_serial example to work. It compiles and flashes fine, but when I plug it in with the "Device" port, it doesn't work. The device gives its Device descriptor just fine, but the Configuration descriptor and one of the String descriptors are malformed.
Edit: it seems the binary that came with the example works OK. I'll try to figure out what makes the binary I compiled fail enumeration.
Edit2: Downloaded the codesourcery toolchain and it compiles the example correctly.
These are the last few lines of dmesg:
This is the Wireshark summary of the USB enumeration:
And I'm attaching the detailed Wireshark information.usb_dev_serial.pdf