Forum Discussion

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

Communication with JTAG Uart

Hi all,

The (host) application I'm writing needs to communicate thru JTAG with our target board.

I know that nios2-terminal tool can start a terminal session with our target board.

But how can I do it with my own application?

Do I need some kind of DLL?

Documentations ????

Hope someone can help.

Regards,

Kwok Wong

4 Replies

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

    nios2-terminal.exe imports cygwin1.dll and jtag_atlantic.dll, which in turn imports jtag_client.dll

    I'd like to know as well, as it could be really useful.

    Is the source code for nios2-terminal available?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    originally posted by jasondiplomat@Jun 29 2005, 11:12 AM

    nios2-terminal.exe imports cygwin1.dll and jtag_atlantic.dll[/b], which in turn imports jtag_client.dll

    I'd like to know as well, as it could be really useful.

    Is the source code for nios2-terminal available?[/b]

    --- Quote End ---

    I figure out a laborious workaround:

    1. Put any thing to be sent in a file (e.g. send.dat)

    2. Start nios2-terminal as folllows:

    cat send.dat | nios2-terminal --cable 2 > receive.dat

    The file receive.dat will contain data sent by the target board.

    Definitely this is NOT the solution to our problem.

    So I do hope other experts / Altera tech support people can help!

    Regards,

    Kwok Wong (The Netherlands)
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    originally posted by kwokwong2+jun 30 2005, 04:49 am--><div class='quotetop'>quote (kwokwong2 @ jun 30 2005, 04:49 am)</div>

    --- quote start ---

    <!--quotebegin-jasondiplomat@Jun 29 2005, 11:12 AM

    nios2-terminal.exe imports cygwin1.dll and jtag_atlantic.dll[/b], which in turn imports jtag_client.dll

    I&#39;d like to know as well, as it could be really useful.

    Is the source code for nios2-terminal available?[/b]

    --- Quote End ---

    I figure out a laborious workaround:

    1. Put any thing to be sent in a file (e.g. send.dat)

    2. Start nios2-terminal as folllows:

    cat send.dat | nios2-terminal --cable 2 > receive.dat

    The file receive.dat will contain data sent by the target board.

    Definitely this is NOT the solution to our problem.

    So I do hope other experts / Altera tech support people can help!

    Regards,

    Kwok Wong (The Netherlands) [/b]

    --- Quote End ---

    Info about the jtag server is also welcome!