EmbDev.net

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


Author: Hj 2. (Company: na) (hj27)
Posted on:

Rate this post
0 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

Author: Lothar M. (lkmiller) (Moderator)
Posted on:

Rate this post
0 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
Author: Hj 2. (Company: na) (hj27)
Posted on:

Rate this post
0 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...)

Author: Lothar M. (lkmiller) (Moderator)
Posted on:

Rate this post
0 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.

Author: Hj 2. (Company: na) (hj27)
Posted on:

Rate this post
0 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

Reply

Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [vhdl]VHDL code[/vhdl]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.