--- 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/
|