ts-7000
[Top] [All Lists]

[ts-7000] Re: FPGA programming questions

To:
Subject: [ts-7000] Re: FPGA programming questions
From: "jpeshkin" <>
Date: Thu, 06 Mar 2008 18:33:56 -0000
--- In  "Elizabeth" <> wrote:
>
> Hi everyone
> Im working with a TS7300 and now im trying to program the altera FPGA
> and I have some questions. 
> - How can I program this FPGA: directly loading a code to the FPGA
> with the command load_ts7300 mycode.rbf or must i use registers to
> program the FPGA.

load_ts7300 works.

> - I made my own verilog code for the FPGA but when I load it to the
> board it lock up the board. The code i made handles the FPGA to give
> outputs to generate signals (square, triangular, sinusoidal) at
> different frequencies through the DIO2 pins but this code doesn't
> control any other devices, just the pins I need.
> My question is if it's possible to load a code like this or must I use
> the ts7300_top file?
> 
> 

Before you replace any of the FPGA code, you will have to prevent the
kernel modules that look for the video framebuffer, etc.. from
loading.   That's a bit easier said than done.  I did this the
brute-force way by mounting the initrd and renaming the files...
fbcon-cfb16.o  fbgen.o  ts7300fb.o
to 
fbcon-cfb16.o.orig  fbgen.o.orig  ts7300fb.o.orig

And then I actually rmmod the open_eth module after boot.  This keeps
the OS from running frivers that assume that the original FPGA
contents are present.  

There must be a cleaner way to do this, but that worked.

Once you have done this, then I *think* you are free to do as you will
with the FPGA contents as long as you don't drive anything nasty back
to the ARM's bus.  I was successful doing this with the ts7300_top file.  

Personally, I'd suggest you keep the ts7300_top file and just replace
the "usercore" that drives the DIOs with your new logic.  






 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU