LPCusblib on LPC1837 target

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LPCusblib on LPC1837 target

544 次查看
karlstockman
Contributor I

As an add-on for an existing project, i trying to get my embedded USB2.0 Full speed device working on a Windows machine. Originally the USB host is a Variscite Var-som-mx6 board with a dedicated USB kernel driver written in C.

 

On Windows i've used the InfWizard tool from tLibUsbDotNet to create an appropriated driver.

In the device manager my device is properly configured, but my device crashes.

After putting the LPCUSBLIB debug info on, i get a GetDescriptor Request irq, while  the Device_STATE_Configured flag is on. 

By putting a breakpoint after the EVENT_USB_Device_ConfigurationChanged() function , i'm able to step through the code and run the USB slave.

Because i'm not familiar with the USB2.0 stack, i don't have clue how to dig further in to the problem.

I've attached to good and bad slave debug output.

Original Attachment has been moved to: HTBS_S_DEBUG_VARISCITE_DEAMON_-OFF.txt.zip

Original Attachment has been moved to: HTBS_S_DEBUG_WINDOWS_.txt.zip

0 项奖励
回复
0 回复数