Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
15 years ago

usb device is unrecognized by pc

hello everyone,

my project requires me to use both usb blaster cable and usb device cable.

when i program my project using programmer in Quartus II,everything is ok.

However, once I run my firmware program at Nios II as Nios II hardware, then my usb device becomes unrecognized by my PC immediately.

Does everyone has any ideas on this problem?

Any suggestion will be very much appreciated. :)

Thanks,

Summer

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    hello,

    i had send request to Altera:

    for (bus = usb_get_busses(); bus; bus = bus->next)

    {

    for (dev = bus->devices; dev; dev = dev->next)

    {

    if (dev->descriptor.idVendor == 0x0471)

    {

    udev = usb_open(dev);

    printf ("Success opening!\n");

    }

    }

    }

    where 0x0471 is the request for search device ISP1362.

    however,my program can't even detect ISP1362.

    (my program is running in windows xp environment.if test the same program in linux,it can detect ISP1362)

    regards,

    Summer