spartan 6 example xillybus

Post a reply

Confirmation code
Enter the code exactly as it appears. All letters are case insensitive.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Topic review
   

Expand view Topic review: spartan 6 example xillybus

Re: spartan 6 example xillybus

Post by support »

Hello,

In order to achieve higher rates, I suggest using a buffer of 32 kBytes or so instead of the example's 128 bytes. Instead of allocating the buffer as an array, use malloc to a pointer instead.

For more information and hints, please refer to the Xillybus host application programming guide for Windows, which is available at the website.

Regards,
Eli

Re: spartan 6 example xillybus

Post by Guest »

respected sir,

Thanks for continued support and help . It is now possible to send data to FPGA using \\.\xillybus_write_8 device.
The device accepts 128 bytes at one go. The requirement is to send a digital video file from PC to FPGA.continuously.
Kindly advice how to go around. Any example will be appreciated.
mks

Re: spartan 6 example xillybus

Post by support »

Hello,

As the "usage" message says (and the guide) you should go

Code: Select all
streamwrite \\.\xillybus_write_8


and nothing added after that. The "AA" part is a second argument which streamwrite rejected.

Regards,
Eli

Re: spartan 6 example xillybus

Post by Guest »

Respected sir

Tried the dos promt test
from xillybus_getting_started_windows.pdf

first dos window
> streamread \\.\xillybus_read_8

second dos window
> streamwrite \\.\xillybus_write_8 AA
(Now type some text on the second DOS window, and press enter)

message appeared

"usage:streamwrite devfile"

no data appeared on first dos window

kindly let me know where is the mistake

regards

mks

Re: spartan 6 example xillybus

Post by support »

Hello,

Please refer to section 4 of the "Getting started with Xillybus on a Windows host" guide available at the site. In principle, you may compile the sample programs with any C compiler for Windows.

You may want to refer to the "Xillybus host application programming guide for Windows" as well as "Xillybus FPGA designer’s guide" as well, but looking through the sources of both sides (FPGA and host) may be enough to understand where to take it from here.

Regards,
Eli

Re: spartan 6 example xillybus

Post by Guest »

Respected sir

Xillybus windows 7 driver is perfectly loaded created five devices.
There are five .c files in demmo application.
Downloaded Visual C++ 2008 and installed.
Kindly guide where to start for sending and recieving data bytes.
Any working project will be appreciated.

Thanks a lot sir I appreciate you have been very helpfull.

regards

mks

Re: spartan 6 example xillybus

Post by Guest »

respected sir,

Thanks for your quick reply.The memory selected in pcie core was 1MB.
Reconfigured the memory value to 128 bytes.The driver is loaded and it is
exactly as per the documents.
Thanks now looking in to read write.

regards

mks

Re: spartan 6 example xillybus

Post by support »

Hello,

The Getting Started guide details what to do in case of an error like you described, namely to obtain the exact error message from the system log.

But never mind: It sounds like you've attempted to replace Xillybus' logic with something else, in which case it's quite clear that the driver failed to load: Xillybus' driver is intended for Xillybus IP core only. Every driver, including Xillybus', is tightly coupled with the hardware / logic it's expected to work against. No chance it will work with anything else.

If you want to use Xilinx' examples, please follow their guidelines for what to have on the host side.

Regards,
Eli

Re: spartan 6 example xillybus

Post by Guest »

respected sir

The operating system now is Windows 7 professional service pack 1.
In the Xillydemo project for spartan 6 lx45t fpgg 484 -3 the pcie core
was modified similar to example given by xilinx for the same device.
Bit files converted to mcs file and SPARTAN 6 configured.
The card shows as "PCI Bus" in System devices in Device manager.
Updated the drivers provided in folder "xillybus-windriver-1.2.0.0"
it shows "Xillybus driver for generic FPGA interface" in device manager with a YELLOW Mark

Device status
This device cannot start. (Code 10)

Need your guidance.

regards

mks

Re: spartan 6 example xillybus

Post by Guest »

respected sir

thanks

mks

Top