5 comments on “Configuring a Xilinx FPGA from ARM

  1. Pingback: Pushing FPGA config files via serial using ‘cat’ » Geko Geek

  2. Pingback: hackaholicballa - Pushing FPGA config files via serial using ‘cat’

  3. JTAG slow? What planet are we on? Here on Earth I configure an XC3S200 in well under a second using a USB Platform cable. A serial port, for goodness sake, complete with more code to deal with on an ARM? Whatever works for you, I guess.

  4. @arm7.developer My results are for XC3S500E. With bitstream compression enabled that drops to about 4-6 seconds. The only JTAG I have around is a pretty old LPT one, so it’s supposed to be slow, I guess.
    If it’s slower than USB one, then so be it. I’ll post new results and updated driver soon.
    The biggest win of this solution is the ability to reconf in runtime without shutting down the system/messing with cables. Actually, my drivers can now do an fpga_request_firmware(“fw.bin”) on load, and free the FPGA on unload. That allows to quickly switch between different designs depending on whatever I need. Basically an insmod mydev.ko does everything so I can just forget there’s an FPGA around.
    Initially I wanted to go with parallel upload method, but not with the layout starterkit.ru implemented (some datapins are shared with RAM bus, so no way it can work on without screwing things up).

Leave a Reply

Your email address will not be published. Required fields are marked *


3 + = nine

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>