Forum Discussion

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

using ISP1362 in target mode

Hi all,

I have a cyclone4 board using isp1362

I followed USBHost tutorial in altera wiki

first result i have an error

--- Quote Start ---

isp1362-hcd isp1362-hcd: ISP1362 Host Controller

isp1362-hcd isp1362-hcd: new USB bus registered, assigned bus number 1

isp1362_hc_reset:

Clock not ready after 100ms

isp1362-hcd isp1362-hcd: can't setup

isp1362-hcd isp1362-hcd: USB bus 1 deregistered

isp1362_probe: init error, -19

Initializing USB Mass Storage driver...

usbcore: registered new interface driver usb-storage

--- Quote End ---

so i replaced return ret by return 1 in isp1362_hc_reset

result

--- Quote Start ---

isp1362-hcd isp1362-hcd: ISP1362 Host Controller

isp1362-hcd isp1362-hcd: new USB bus registered, assigned bus number 1

isp1362_hc_reset:

Clock not ready after 100ms

isp1362-hcd isp1362-hcd: irq 6, io mem 0x08000980

isp1362_hc_start:

isp1362-hcd isp1362-hcd: ISP1362 Memory usage:

isp1362-hcd isp1362-hcd: ISTL: 2 * 256: 512 @ $0000:$0100

isp1362-hcd isp1362-hcd: INTL: 16 * ( 64+8): 1152 @ $0200

isp1362-hcd isp1362-hcd: ATL : 32 * ( 64+8): 2304 @ $0680

isp1362-hcd isp1362-hcd: USED/FREE: 3968 128

usb usb1: New USB device found, idVendor=1d6b, idProduct=0001

usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1

usb usb1: Product: ISP1362 Host Controller

usb usb1: Manufacturer: uClinux 2.6.30 isp1362-hcd

usb usb1: SerialNumber: isp1362-hcd

usb usb1: configuration# 1 chosen from 1 choice

hub 1-0:1.0: USB hub found

hub 1-0:1.0: 2 ports detected

ISP1362 Host Controller, irq 6

Initializing USB Mass Storage driver...

usbcore: registered new interface driver usb-storage

--- Quote End ---

but when i connect the board to pc, nothing is detect :s

I missed a step ? :(
No RepliesBe the first to reply