Forum Discussion
Altera_Forum
Honored Contributor
20 years agoanother 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
Honored Contributor
--- Quote Start --- originally posted by fodywang@Nov 15 2005, 01:48 AM nios2-terminal: unable to connect to jtag uart because another applicationnios2-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's probably one inside the nios2-ide. Try to close that one and try again.
- Altera_Forum
Honored 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
Honored 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
Honored 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-C exit s>” but does't display log in prompt :( What should I do then? I'm sorry if my problems trouble you. - Altera_Forum
Honored 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-c exit s>” but does't display log in prompt :(
what should i do then?
i'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't see any messages when the system boots while you're connected you probably haven't included Jtag-Uart support in the kernel OR you haven't got console=ttyJ0 as your kernel bootparameters. These settings are both correct by default so If you haven't changed them they're probably correct.
- Altera_Forum
Honored Contributor
of course,I'm sure I have included a Jtag-Uart support. But I don't know where I can look/set "console=ttyJ0" .
- Altera_Forum
Honored Contributor
In your kernel config under:
Processor type and features -> Default kernel command string - Altera_Forum
Honored Contributor
It displays string "<root=/dev/mtdblock0 ro> default kernal command string".
There have need for me to change? - Altera_Forum
Honored Contributor
You need to add console=ttyJ0 so that it reads:
"<root=/dev/mtdblock0 ro console=ttyJ0>" (This is becoming a chat session http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/wink.gif ) - Altera_Forum
Honored Contributor
Thank you very much!!
I will do that ,thanks (as for me,this is a cheerful and helpful chat )