UVC+CDC not work USB2

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
VlKh_2251656
Level 5
Level 5
10 likes given 5 likes given First like received

Hello!

I have example UVC+CDC.

Many Thanks. Is very good example.

Yes, video is exist.

But, I looked, that for the case USB2 in descriptors file there is no description of CDC.

I myself added these CDC descriptors for my USB2  (file). In my added project files (descr2.h in added arcive)

the device became defined as a composite in UVC and CDC devices.

And even works.

But it working not stable.

Not full functionality is manifested, mainly in the following.

On some computers on the "upward" channel uart not communication - from uart to the virtual com-port.

On some computers in the case of usb2, on some computers in the case of usb3.

In the opposite direction, from virtual com port to the uart communication is good.

I try any drivers.

I do not even know what to correct. Look here please.

1 Solution
lock attach
Attachments are accessible only for community members.
Hemanth
Moderator
Moderator
Moderator
First like given First question asked 750 replies posted

Hello Vladimir,

I have tested with the attached project which has CDC interface on 2.0

I see it working both in windows 7 and windows 10.

Can you please check this firmware? Password for attachment: cypress

Regards,

Hemanth

Hemanth

View solution in original post

11 Replies
Anonymous
Not applicable

Hi,

Do you mean in some computers the firmware works completely fine?

What is the current version of driver you use?

Regards,

-Madhu

Dear Madhu,

I use the version CDC, you sent me a few months ago.

When working on a computer with Win10 everything works well (both for USB2 and USB3).

It can not be the case in the drivers for Windows 7?

I can not do a lot of testing. Because not so many computers with different windows OS..

0 Likes

It's right choice (in picture) ?driver.jpg

0 Likes

Hello.

There is new information.

Now I commented on the lines:

// Uncomment following line to enable still image support

//#define STILL_CAPTURE_ENABLE                    (1)

// Uncomment the following line to provide verbose debug logging.

//#define CX3_DEBUG_ENABLED                    (1)

       

// Uncomment the following line to run the mipi error thread

//#define CX3_ERROR_THREAD_ENABLE              (1)

// Uncomment the following line to run as UVC 1.0 device. Default is UVC 1.1 device.

// #define CX3_UVC_1_0_SUPPORT                  (1)

Previously, these lines were uncommented

And sometimes the messages began to be transmitted (not very often).

Maybe there is a reason for setting priorities or something similar?

0 Likes

I think, maybe the transfer of debugging information blocks transmission on the DMA channel?

0 Likes

It seems to me that this does not work because I have two types of devices (their mixture): UVC1.0 and UVC1.1

Yes...

0 Likes
lock attach
Attachments are accessible only for community members.
Hemanth
Moderator
Moderator
Moderator
First like given First question asked 750 replies posted

Hello Vladimir,

I have tested with the attached project which has CDC interface on 2.0

I see it working both in windows 7 and windows 10.

Can you please check this firmware? Password for attachment: cypress

Regards,

Hemanth

Hemanth

Many thanks!

Now I try it.

0 Likes

My task is to test this solution on as many computers and operating systems as possible...

0 Likes

Vany thanks.

All good.

0 Likes

Pardon.

Many thanks.

All good.

0 Likes