11 years, 10 months ago.

K3770 USB init result toggeling

Hello,

I got some times different device states after power on the UMTS K3770 like this:

'Found device in serial mode' (see first log below) what is OK and I can run the application

or

'Found device in CDFS mode' (see second log below) what is not OK.

How can be forced to find the device in serial mode only (vid:12d1 pid:14c9) instead of 'found device in CDFS mode' (vid:12d1 pid:14d1)?

Comments are welcome! thx/Klaus

USBINIT [/workspaces/HTTPClientSDCardExample_301012/src/UMTSStickNetIf/LPC1768/drv/umtsstick/UMTSStick.cpp:getSerial@58] Configuration set: vid:12d1 pid:14c9 [/workspaces/HTTPClientSDCardExample_301012/src/UMTSStickNetIf/LPC1768/drv/umtsstick/UMTSStick.cpp:checkDeviceState@185] Found device in Serial mode [/workspaces/HTTPClientSDCardExample_301012/src/UMTSStickNetIf/LPC1768/drv/umtsstick/UMTSStick.cpp:findSerial@280] Interface of type ff [/workspaces/HTTPClientSDCardExample_301012/src/UMTSStickNetIf/LPC1768/drv/umtsstick/UMTSStick.cpp:findSerial@298] Found bulk in ep 8e of payload size 0040 [/workspaces/HTTPClientSDCardExample_301012/src/UMTSStickNetIf/LPC1768/drv/umtsstick/UMTSStick.cpp:findSerial@292] Found bulk out ep 0f of payload size 0040 [/workspaces/HTTPClientSDCardExample_301012/src/UMTSStickNetIf/LPC1768/drv/umtsstick/UMTSStick.cpp:findSerial@317] Endpoints found, create serial object [/workspaces/HTTPClientSDCardExample_301012/src/UMTSStickNetIf/LPC1768/drv/umtsstick/UMTSStick.cpp:findSerial@321] UsbSerial object created usbInitStatus: 0

USBINIT [/workspaces/HTTPClientSDCardExample_22012013/src/UMTSStickNetIf/LPC1768/drv/umtsstick/UMTSStick.cpp:getSerial@58] Configuration set: vid:12d1 pid:14d1 [/workspaces/HTTPClientSDCardExample_22012013/src/UMTSStickNetIf/LPC1768/drv/umtsstick/UMTSStick.cpp:checkDeviceState@143] Match on dongles list [/workspaces/HTTPClientSDCardExample_22012013/src/UMTSStickNetIf/LPC1768/drv/umtsstick/UMTSStick.cpp:checkDeviceState@170] Found device in CDFS mode [/workspaces/HTTPClientSDCardExample_22012013/src/UMTSStickNetIf/LPC1768/drv/umtsstick/UMTSStick.cpp:getSerial@83] Switching the device by sending a magic packet [/workspaces/HTTPClientSDCardExample_22012013/src/UMTSStickNetIf/LPC1768/drv/umtsstick/UMTSStick.cpp:switchMode@221] Found bulk ep 0f [/workspaces/HTTPClientSDCardExample_22012013/src/UMTSStickNetIf/LPC1768/drv/umtsstick/UMTSStick.cpp:switchMode@238] Sending SCSI Packet to switch [/workspaces/HTTPClientSDCardExample_22012013/src/UMTSStickNetIf/LPC1768/drv/umtsstick/UMTSStick.cpp:switchMode@262] The stick should be switching in serial mode now [/workspaces/HTTPClientSDCardExample_22012013/src/UMTSStickNetIf/LPC1768/drv/umtsstick/UMTSStick.cpp:getSerial@89] Now wait for device to reconnect [/workspaces/HTTPClientSDCardExample_22012013/src/UMTSStickNetIf/LPC1768/drv/umtsstick/UMTSStick.cpp:findSerial@280] Interface of type 08 usbInitStatus: -65534

Question relating to:

Be the first to answer this question.