CDC ROM Driver Bug for SetLineCoding

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

CDC ROM Driver Bug for SetLineCoding

410 Views
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
Labels (1)
0 Kudos
Reply
0 Replies