LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 12-02-2007, 05:15 PM   #1
Four
Member
 
Registered: Aug 2005
Posts: 298

Rep: Reputation: 30
Fpga Usb


Hey,

I'm trying to connect an Altera DE2 board to my computer via USB.

I'm overwhelmed with data sheets and don't know where to start or where to look for learning how to do this. On board there is a USB chip which handles data transmission and error checking (chip ISP1362 data sheets ).

Where may I learn about how to have FPGA <- USB -> computer communication? Any tutorials? Preferably using on Altera DE2 board.

I don't how to use this chip or where to start.

The FPGA would be the device not the host [just to clarify]
Thanks
 
Old 12-04-2007, 10:24 PM   #2
rootboy
Member
 
Registered: Oct 2001
Distribution: Mint 15
Posts: 768

Rep: Reputation: 51
I would take the coward's way out and use something like Vmware. It'll let you use the free/familar Windows stuff that you are used to, and the next time you run into a situation where all you can find, you will be all set.

Here's a discussion on the subject (note the reference to Altera in the post):

http://ask.metafilter.com/71420/Teac...nux-VM-choices

Like I said, the coward's way out.


As for programming that particular chip, (the ISP1362), there's no need to since the logical way to reverse-engineer the software would be to listen in on what goes back and forth between the Windows box and the Altera board via the USB port. I suppose that you could if you wanted to.. But why?


So, what cool project are you working on?
 
Old 12-07-2007, 04:47 PM   #3
Four
Member
 
Registered: Aug 2005
Posts: 298

Original Poster
Rep: Reputation: 30
haha the cowards way .

Unfortunately I can't be a coward. that won't work here is more in depth of what I'm doing:

Currently I have successfully done communication though parallel port to computer running Linux. Now as an expansion: using USB to do communication.

An FPGA is a chip that circuits can be programmed on.

The DE2 board has 3 usb ports. 1 to program the FPGA, and the other 2 is what I get to use. For USB devices the Usb device talks to say Linux driver. So I want to do the Device part not driver at the moment (I'll eventually want to do the driver part).

A way to think of it is I'm making a usb thumb drive from scratch.

So I get to program the FPGA portion.

FPGA <--> ISP1362 <--> USB wires <---> Computer

The FPGA has to communicate with the chip which will communicate to computer. According to what I have read the chip does error checking and does its best to make sure data is sent/received successfully. It seems so simple but the chip has registers ...


Thanks
 
Old 12-07-2007, 09:52 PM   #4
rootboy
Member
 
Registered: Oct 2001
Distribution: Mint 15
Posts: 768

Rep: Reputation: 51
Ah, I thought that all that you wanted to do was to program your FPGA (yeah, I know what they are).

So no, I have no earthly idea as how to program a USB port. Sorry about that.


Currently this is what I'm fooling with:

http://www.futurlec.com/ET-AVR_Stamp_Board.shtml
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Xilinx Releases ISE WebPACK 8.2i - FPGA Industry's Only Free Fully Featured Design Suite LXer Syndicated Linux News 0 07-17-2006 09:33 PM
LXer: Second-generation FPGA modules run Linux LXer Syndicated Linux News 0 07-13-2006 12:54 AM
xilinx system ace driver for compact flash on a fpga based pci card doesnt work urwithsudheer Programming 0 03-22-2006 02:28 AM
compiling FPGA chip design software designed for windows (visual c++) in linux gogettergary Programming 1 05-09-2005 08:45 AM
HP Deskjet (USB) & CUPS & Slackware 9.1: Unable to open USB device "usb:/dev/usb/lp0&qu arnostienen Slackware 2 01-29-2004 03:22 PM


All times are GMT -5. The time now is 06:53 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration