- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I want to store data coming from USB port of FPGA in some form like text file. The data on the USB port is generated after some processing in FPGA. The data rate is 12 Mbps. Is there any terminal (something like hyper terminal for Serial Port) or software available in PC that can read data coming from USB port of FPGA and save it into some text file? Thanks in advanceLink Copied
5 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- I want to store data coming from USB port of FPGA in some form like text file. --- Quote End --- FPGAs do not have USB ports. You will need to provide more details. What USB device is the FPGA connected to? --- Quote Start --- Is there any terminal (something like hyper terminal for Serial Port) or software available in PC that can read data coming from USB port of FPGA and save it into some text file? --- Quote End --- If the USB device connected to the FPGA can be configured to enumerate as a USB-to-Serial converter, then you can use hyperterminal or teraterm (Windows). Cheers, Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The easiest way would be to (assuming you are using a compatible devkit) implement a nios and a jtag uart bridge. With the right drivers it should appear as a USB-to-Serial device, and you can printf all sorts of stuff in the Nios to your computer's terminal emulator. Then make an avalon wrapper around a bunch of registers containing the fpga data you need on the PC, connect it to the nios complex, and printf to your hearts content.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- FPGAs do not have USB ports. You will need to provide more details. What USB device is the FPGA connected to? --- Quote End --- I am using DE2-115 FPGA board which has integrated USB port (ISP1362). --- Quote Start --- If the USB device connected to the FPGA can be configured to enumerate as a USB-to-Serial converter, then you can use hyperterminal or teraterm (Windows). --- Quote End --- The problem is that serial port have very low data rate (around 115 kbps) and I need high data rate transfer (minimum 12 Mbps which is supported by its USB port as mentioned in user manual).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- The easiest way would be to (assuming you are using a compatible devkit) implement a nios and a jtag uart bridge. With the right drivers it should appear as a USB-to-Serial device, and you can printf all sorts of stuff in the Nios to your computer's terminal emulator. Then make an avalon wrapper around a bunch of registers containing the fpga data you need on the PC, connect it to the nios complex, and printf to your hearts content. --- Quote End --- The data is coming from FPGA after some processing. The data rate is minimum 12 Mbps. My aim is to store this data in PC in some text file form. It doesn't matter whether I am receiving this data on PC via serial port/USB port/ethernet port/any others provided it fulfills the data rate specification. Could you please explain little bit more the way you suggested, I didn't understand.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- I am using DE2-115 FPGA board which has integrated USB port (ISP1362). --- Quote End --- Try this project: http://mzakharo.github.com/usb-de2-fpga/ (I have not tried it - so can't comment on how well it works) Cheers, Dave

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page