USB CDC WorngPID error

Hi there! i've googling for a few days to find out what's wrong with my cdc implementation. Finally i found this forum with many threads about usb cdc.

I'm trying to connect my atmega3xx to my nokia s60 os through Max3421E. Nokia has a cdc class interface.

i initialize the device with some Setup Token. When i send a bulk-IN transfer to device it returns a NAK error which i believe it's normal because the device has no data to send.

When i tell the phone to send "Hello World" (J2me ,JSR 120, commConnection( USB:1)), the previous bulk-IN transfer i sent, starts to return WrongPID error.

My java aplicayion works fine with Hyperterminal through pc connection.

I'm getting crazy with this error. What can be causing this error?? is the Transfer baudRates?
Do i need to Send a Set_CodingLine according with what speed??

thanks in advanced!!

Parents
  • Are you really hitting the CDC-ACM bulk IN/OUT endpoints of the cellphone?
    Some Nokia cellphones expose composite device over USB.
    Also, it may change configuration on full-speed bus from high-speed bus.

    Read out Device and Configuration descriptor set from the cellphone over MAX3421E

    OR

    Read out the descriptors on a PC over a legacy (USB1.1) hub.

    Tsuneo

Reply
  • Are you really hitting the CDC-ACM bulk IN/OUT endpoints of the cellphone?
    Some Nokia cellphones expose composite device over USB.
    Also, it may change configuration on full-speed bus from high-speed bus.

    Read out Device and Configuration descriptor set from the cellphone over MAX3421E

    OR

    Read out the descriptors on a PC over a legacy (USB1.1) hub.

    Tsuneo

Children
More questions in this forum