This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

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!!

0