EmbDev.net

Forum: FPGA, VHDL & Verilog JTAG C source code. USB cable


von Hj 2. (Company: na) (hj27)


Rate this post
useful
not useful
Hello,

I'm starting learning fpgas.

I would like to connect my raspberry to my Altea Cyclone IV development 
board using jtag interface. I have found an example C code that uses the 
parallel port in http://www.fpga4fun.com/JTAG.html (file source code in 
http://www.fpga4fun.com/files/JTAG.zip).

Do you have any example of C source code using jtag integration but 
through USB cable?
Does it make sense? Is it the correct approach?

Thanks for your help.

Regards,
hj

von Lothar M. (Company: Titel) (lkmiller) (Moderator)


Rate this post
useful
not useful
Hj 2. wrote:
> using jtag integration but through USB cable?
What USB cable?

> I would like to connect my raspberry to my Altea Cyclone IV development
> board using jtag interface.
Why? To configure the FPGA? Or to communicate with a design implemented 
on the FPGA?

> Does it make sense? Is it the correct approach?
To achieve what?

: Edited by Moderator
von Hj 2. (Company: na) (hj27)


Rate this post
useful
not useful
Hi,

Thanks a lot for your reply. I admit I need to learn more about this...


>> using jtag integration but through USB cable?
> What USB cable?
Altera USB blaster cable

>
>> I would like to connect my raspberry to my Altea Cyclone IV development
>> board using jtag interface.
> Why? To configure the FPGA? Or to communicate with a design implemented
> on the FPGA?
To communicate with a design implemented on the FPGA

>
>> Does it make sense? Is it the correct approach?
> To achieve what?
I want to have a C program in my raspberry that interacting with this 
software I can send different orders to the FPGA board (turn leds, 
advance counter...)

von Lothar M. (Company: Titel) (lkmiller) (Moderator)


Rate this post
useful
not useful
Hj 2. wrote:
> To communicate with a design implemented on the FPGA
Then implement a simple serial interface and use that for communication. 
That's an interface easy to understand and easy to debug eg by using a 
terminal software on a PC instead of the RPi. And better: you can define 
the commands as you need them.

von Hj 2. (Company: na) (hj27)


Rate this post
useful
not useful
You mean for example something like this, using RS-232 serial interface?
http://www.fpga4fun.com/SerialInterface.html

My rasp does not have RS-232 connector, maybe I could use some kind of 
port or accesory...

Could you point me to some interesting resources to understand active 
serial interface, passive serial interface, JTAG...? Differences? 
Advantages? Limitations? When to use what?

Really thanks a lot.

: Edited by User
Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.