CDC ROM Driver Bug for SetLineCoding

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

CDC ROM Driver Bug for SetLineCoding

352 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Hansi on Fri Dec 05 06:01:50 MST 2014
Hi!

I'm experiencing problems with an LPC11U34/421 chip. When I use the ROM USB and DCD drivers, the "line_coding" parameter of the "SetLineCode" function only contains 0xFF (7 bytes with this value). I checked with an USB data sniffer that the transmitted data is ok.

When linking against usbd_11uxx_lib, the values of the "line_coding" parameter are ok too.

Could you please point me to the proper workaround for the ROM drivers to get this working?

Background information: I've instantiated two CDC interfaces (appearing as /dev/ttyACM0 and /dev/ttyACM1) as well as a custom EP0 handler using RegisterClassHandler(). When I comment out the custom EP0 handler, the problem persists.

Thanks
  Hansi
标签 (1)
0 项奖励
回复
0 回复数