cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
a@1
Observer
Observer
2,007 Views
Registered: ‎04-17-2018

ZYNQ USB CDC CLASS

Hi,

 

I ran "ZYNQ USB CDC CLASS" code exampleattaching link for reference,

 

http://www.wiki.xilinx.com/Zynq-7000+AP+SoC+USB+CDC+Device+Class+Design+Example+Techtip?responseToken=6b694ae29092192587a29af9b83fe3ad

 

,it was fine,but when I tried inserting USB to PC,it is showing unknown device.Please help me ,thanks in advance.

0 Kudos
Reply
11 Replies
vanmierlo
Mentor
Mentor
1,968 Views
Registered: ‎06-10-2008

Which OS is running on the PC? Only Linux, OSX and Windows10 natively support USB CDC.

 

For an older Windows you can use Zadig to install a CDC driver.

0 Kudos
Reply
a@1
Observer
Observer
1,934 Views
Registered: ‎04-17-2018

Hi,

 

I tried using zadig,it tells driver update failed.I am using windows 7,32bit.

PIC_1.png
PIC_2.png
0 Kudos
Reply
a@1
Observer
Observer
1,919 Views
Registered: ‎04-17-2018

Hi ,

 

Actually I tried the method you tried.It worked after a long time.Multiple trials it worked ,but when I powered on after a day,again the same issue is seen.Is there any temperature issue?I am using zynq 7z030 with USB3320 chip.Please help me in this .Thanks in advance.

 

 

0 Kudos
Reply
vanmierlo
Mentor
Mentor
1,911 Views
Registered: ‎06-10-2008

I'm afraid I have never tried to make a Zynq a CDC device, only other MCU's.

0 Kudos
Reply
martin6314
Participant
Participant
1,899 Views
Registered: ‎02-16-2018

Hi

 

I had a similar problem with our USB2 hardware. The BSP required me to add the following
after XUsbPsu_CfgInitialize to force the library use HIGHSPEED instead of SUPERSPEED:

 

XUsbPsu_SetSpeed(&UsbInstance, XUSBPSU_DCFG_HIGHSPEED); // The BSP sets SuperSpeed

 

Best regards
Martin

0 Kudos
Reply
a@1
Observer
Observer
1,890 Views
Registered: ‎04-17-2018

Thanks Martin,

 

But   I have other issue.when I try to run mass storage device,every time I run through JTAG,each time it asks for format.How to avoid it?

0 Kudos
Reply
martin6314
Participant
Participant
1,826 Views
Registered: ‎02-16-2018

The sample code generates an empty ram disk, that can be accessed via USB mass storage.
This disk is empty as you start the hardware and does not contain the file system pattern. 
Therefore you have to format it. 
If you want to avoid this, you have to make sure the ram disk is initialized in the code with the file system information during startup. 

 

Best regards Martin

0 Kudos
Reply
a@1
Observer
Observer
1,809 Views
Registered: ‎04-17-2018

Thanks MArtin,

 

It worked...

0 Kudos
Reply
a@1
Observer
Observer
1,802 Views
Registered: ‎04-17-2018

Hi,

 

I have one more question.How can I create files in the available disk space.At present ,I have created FAT16 OS in ZYNQ.

 

Thanks in advance

0 Kudos
Reply
a@1
Observer
Observer
1,243 Views
Registered: ‎04-17-2018

Hi,


I have one more question.How can I create files in the available disk space.At present ,I have created FAT16 OS in ZYNQ.


Thanks in advance
0 Kudos
Reply
vanmierlo
Mentor
Mentor
1,229 Views
Registered: ‎06-10-2008

Why is this thread suddenly about USB-MSD instead of USB-CDC?

0 Kudos
Reply