Altera_Forum
Honored Contributor
15 years agoIsp1362
Hello everybody !
Does anybody manage to make the isp1362 run under uCLinux with the OTG port configure as un host port? I'm working on Cyclone3 board FPGA ALTERA DEV board. I have took the DE2 board schematic and created a small SantaCruz board.I have change some pins connexions : -> OTGMODE connect to a pullup 3.3V through a 4.7kOhm -> ID to pulldown through a 4.7kOhm I have commented (as I found in the forum) every line of the function isp1362_hc_reset in isp1362-hcd.c. Plus, I have commented those following line in the isp1362_hc_start function :
if ((chipid & HCCHIPID_MASK) != HCCHIPID_MAGIC) {
pr_err("%s: Invalid chip ID %04x\n", __func__, chipid);
return -ENODEV;
}
When I boot the board I have those lines :
usbmon: debugfs is not available
driver isp1362-hcd, 2005-04-04
isp1362-hcd isp1362-hcd: ISP1362 Host Controller
isp1362-hcd isp1362-hcd: new USB bus registered, assigned bus number 1
isp1362-hcd isp1362-hcd: irq 10, io mem 0x00000050
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 10
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
TCP cubic registered
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
Freeing unused kernel memory: 1672k freed (0xc26c000 - 0xc40d000)
Shell invoked to run file: /etc/rc
Command: hostname uClinux
Command: mount -t proc proc /proc -o noexec,nosuid,nodev
Command: mount -t sysfs sysfs /sys -o noexec,nosuid,nodev
hub 1-0:1.0: unable to enumerate USB device on port 1
And then, I can't have access to my USB memory device. Does anyone can help me. Thanks in advance