Altera_Forum
Honored Contributor
19 years agoUSB 2.0 ISP1761
Hi all!
Does anybody use the ISP1761 in a NIOS-project yet? I've heard that there are drivers, but I've never tested it. Is there any experience? Thank you! e-trickyHi all!
Does anybody use the ISP1761 in a NIOS-project yet? I've heard that there are drivers, but I've never tested it. Is there any experience? Thank you! e-trickyI will use the ISP1761 in a project. Some Sourcecode is available from Sourceforge. The code supports their evaluation board which has a PCI interface. In my case I cannot use this code directly because I will connect the chip directly to the Nios without PCI. I have no HW yet, so it will take some time for me to start the driver.
I found following on Nios Wiki http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/smile.gif Read in the nios wiki (http://nioswiki.jot.com/wikihome/operatingsystems/%c2%b5clinux/usbhost) about USBhost, At the bottom there is a link provided for the ISP1761, I had no time to evaluate this yet, but it seems that it is the diff to the PCI sources. isp 1761 (http://dagobah.ucc.asn.au/isp1761/)It's the same to me. I want to connect the ISP1761 directly to the FPGA without PCI. And I have no HW at the moment too. It is planned to develop a Santa Cruz daughter board for the Altera Dev Boards to evaluate the ISP1761. I thought I could find someone in this forum who has tested these drivers and to get some advise in using and modifying them.
e-trickyIt is not difficult to connect ISP1761 to 40 pins headers on the dev board.
You can use it at 16 bits mode. I have built the hardware, basic access is OK. I have tried it up to 10MB/sec sustained transfer rate using a custom DMA master. But I didn't have time to try uClinux yet. Bernard ported the driver to a PXA255 running 2.6.17. I am working on the new uClinux-dist-20060803, which is 2.6.17. I will release the update of uClinux-dist soon.hippo,
thats good news because I want to try the new approach with the uClinux-dist, but I do not know how to make the diff file for Nios, so I will wait on you. Maybe you can describe once how you create the diff file for Nios.
thats good news because i want to try the new approach with the uclinux-dist,
but i do not know how to make the diff file for nios, so i will wait on you.
maybe you can describe once how you create the diff file for nios.
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=18863)
--- quote end ---
--- Quote End --- I use SVN, just a "svn diff" . The new uClinux-dist patches are on the wiki now. Happy Hacking. http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/smile.gif
That sounds good!
@Hippo: Would you share your schematic to connect the ISP1761 to the santa cruz header and send it to me? That would save a plenty of time for me. I have additional questions, maybe you can help me: I'm new with USB, how did you test the transfer rate of 10MB/s? Did you use a loop or an other device? How to communicate from a windows PC to the Nios System via USB? Is there some sample code? I would be very happy to get more information about this! Thank you! e-tricky
@hippo: would you share your schematic to connect the isp1761 to the santa cruz header and send it to me? that would save a plenty of time for me.
i have additional questions, maybe you can help me:
i'm new with usb, how did you test the transfer rate of 10mb/s? did you use a loop or an other device? how to communicate from a windows pc to the nios system via usb? is there some sample code?
i would be very happy to get more information about this!
thank you!
e-tricky
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=18909)
--- quote end ---
--- Quote End --- It was based on http://www.nxp.com/acrobat/applicationnotes/an10037_4.pdf (http://www.nxp.com/acrobat/applicationnotes/an10037_4.pdf) use 16bits data mode, shared host/device dma and irq and add a latch from data bus to generate chip address. pull high data[31:16] with a single R. a[17] <= 0; a[16:1] <= data[15:0] then you have a data port and reg adress port. You may find other useful doc on their site. I wrote a simple test program (without Linux) to do the transcations directly to a fast USB thumb disk. I will try Linux later, and I will share with you. The USB driver is not trivial. But using Linux is easy, they hide the details.
I am on ISP1161A1.
USB client is accessible on uClinux. But still have no clue about how to develop uClinux driver for my custom design, either access USB component without OS. Can any highly professional give me some suggestions?
usb client is accessible on uclinux. but still have no clue about how to develop uclinux driver for my custom design, either access usb component without os.
can any highly professional give me some suggestions?
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=18956)
--- quote end ---
--- Quote End --- If you are doing custom design, don't use isp1161 or 1362. Because they are quite old and getting obsolete. You should start with isp1761 instead.
--- quote start ---
<!--quotebegin-e-tricky@Oct 25 2006, 11:54 PM that sounds good!
@hippo: would you share your schematic to connect the isp1761 to the santa cruz header and send it to me? that would save a plenty of time for me.
i have additional questions, maybe you can help me:
i'm new with usb, how did you test the transfer rate of 10mb/s? did you use a loop or an other device? how to communicate from a windows pc to the nios system via usb? is there some sample code?
i would be very happy to get more information about this!
thank you!
e-tricky
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=18909)
--- quote end ---
--- Quote End --- It was based on http://www.nxp.com/acrobat/applicationnotes/an10037_4.pdf (http://www.nxp.com/acrobat/applicationnotes/an10037_4.pdf) use 16bits data mode, shared host/device dma and irq and add a latch from data bus to generate chip address. pull high data[31:16] with a single R. a[17] <= 0; a[16:1] <= data[15:0] then you have a data port and reg adress port. You may find other useful doc on their site. I wrote a simple test program (without Linux) to do the transcations directly to a fast USB thumb disk. I will try Linux later, and I will share with you. The USB driver is not trivial. But using Linux is easy, they hide the details. <div align='right'><{post_snapback}> (index.php?act=findpost&pid=18915)</div> [/b] --- Quote End --- Hi hippo, do you have a schematic for this? I want to use the ISP1761 too, but have some questions about connecting it to a nios2 system. Thanx Marco