Forum Discussion

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

another application is using JTAG UART????

Hi:

I boot uClinux on a customed board using the following steps.

1.load .pof file to configrure fpga

2. Build and upload kernel to sdram

3. Build and upload filesystem to flash

4.Using nios2-terminal to connect and boot kernel, I have following trouble:

nios2-terminal: Unable to connect to JTAG UART because another application

nios2-terminal: (nios2-terminal on 127.0.0.1)

nios2-terminal: is using it (or is using something else which clashes). Please c

lose

nios2-terminal: the other application and try again.

What is the other application? Why have I such problem? How to solve?

Can somebody help me? thx!!

10 Replies

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

    --- Quote Start ---

    originally posted by fodywang@Nov 15 2005, 01:48 AM

    nios2-terminal: unable to connect to jtag uart because another application

    nios2-terminal: (nios2-terminal on 127.0.0.1)

    nios2-terminal: is using it (or is using something else which clashes). please c

    lose

    nios2-terminal: the other application and try again.

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=10977)

    --- quote end ---

    --- Quote End ---

    Looks like you have another instance of nios2-terminal running. This could be a separate terminal or one inside nios2-ide. It&#39;s probably one inside the nios2-ide. Try to close that one and try again.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi wgoossens,

    I am newbie to nios, Can you tell me how to close the nios2-terminal in detail?

    thank you very much!!
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    originally posted by fodywang@Nov 15 2005, 02:50 AM

    hi wgoossens,

    i am newbie to nios, can you tell me how to close the nios2-terminal in detail?

    thank you very much!!

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=10981)

    --- quote end ---

    --- Quote End ---

    In the nios2-ide close the tab on the bottom whith the label "Console".
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    thank you,wgoossens:

    I have solved the problem with your way!

    But a new difficulty occurs: nios2-terminal displays messages“starting in terminal mode <control&#65293;C exit s>” but does&#39;t display log in prompt &#65306;&#65288;

    What should I do then?

    I&#39;m sorry if my problems trouble you.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    originally posted by fodywang@Nov 15 2005, 03:59 AM

    thank you,wgoossens:

    i have solved the problem with your way!

    but a new difficulty occurs: nios2-terminal displays messages“starting in terminal mode <control&#65293;c exit s>” but does&#39;t display log in prompt &#65306;&#65288;

    what should i do then?

    i&#39;m sorry if my problems trouble you.

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=10985)

    --- quote end ---

    --- Quote End ---

    If this happens when you connect to a running system all you (probably) need to do is press <enter> and you wil get a nice login prompt.

    If you don&#39;t see any messages when the system boots while you&#39;re connected you probably haven&#39;t included Jtag-Uart support in the kernel OR you haven&#39;t got console=ttyJ0 as your kernel bootparameters. These settings are both correct by default so If you haven&#39;t changed them they&#39;re probably correct.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    of course,I&#39;m sure I have included a Jtag-Uart support. But I don&#39;t know where I can look/set "console=ttyJ0" .

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

    In your kernel config under:

    Processor type and features -> Default kernel command string
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    It displays string "<root=/dev/mtdblock0 ro> default kernal command string".

    There have need for me to change?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Thank you very much!!

    I will do that ,thanks

    (as for me,this is a cheerful and helpful chat )