Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
15 years ago

JTAG_UART link between remote PCs

Does anyone know if it is possible to pick off characters sent over the JTAG_UART and feed them to a FIFO, which in turrn feeds a transmitter, and additionally, if it is possible to receive characters from a FIFO fed by a receiver, so if doubled up at two ends of a communication channel, would implement a link, so characters sent by one pc would be received by the other and vice versa.

Can this be done using HAL code in nios ii?

5 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    The 2nd PC also has a bidirectional jtag-uart connection. I want this to demonstrate a communication transceiver. Characters sent from the PC to the jtag uart on one PC will be modulated, sent over the channel, received by the second modulator (on the second fpga) and sent by jtag uart to the screen of the second PC. The same would happen in the other direction. Is this possible or am I barking up the wrong tree?

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    i don't think you can have a JTAG UART going to 2 different PCs from a single FPGA.

    you could use 1 PC with a JTAG UART and a board with an RS-232 port to run a normal UART out to. then add a USB to RS-232/serial adapter to the 2nd PC.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    What I meant was two FPGA's on two different boards (e.g., two cyclone 3 starter kits), each with an ADC/DAC and transmitter/receiver. So a character sent to one board will be modulated, transmitter then received by the second board and demodulated and displayed by the PC connected that that board.

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    i see, that wasn't clear to me.

    yes, you should be able to use JTAG UART for connection between your 'modem' on each FPGA and your PC.