- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
I've made a system with 2x NIOSII/s cpu's with seperate (on-chip) RAM-modules. By now I'm just testing with the "small Hello world" application writing to the Jtag using the Nios II IDE. The application runs ok with both cpu's when I test them seperatly, but when I'm using the "NiosII multiprocessor collection" to Run/Debug it runs the application the first cpu, but when accessing the second cpu I'm getting the following error message: 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. After this I have to reprogram the FPGA . I'm using: Quartus II 4.2 sp1 full web edition with Nios II evaluation kit Stratix 1s10es Evaluation board -StianLink Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This sounds as though you have connected your JTAG UART to both processors. Please try disconnecting it from one of the processors and try again.
If both processors want to send debug text to the host then you should instantiate two JTAG UARTS and connect each one to exactly one processor. Most of the peripherals shipped with the kitwon't work when connected to more than one processor (unless you are very careful) - for the JTAG UART the problem is that both processors will be interrupted but it will be random which one gets the received character. The other one will get a spurious interrupt if in interrupt driven mode. The exception to this is of course the 1.1 mutex component which is designed to be connected to multiple processors.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I am getting the error message/warning : RMT ERROR: failed to get remote thread list, when I run the multi tutorial from Altera. Every other seesion I do get the processors to step through some code but I get no messages. Any tips? Thanks, -Baycool- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
you should update to v5.1 qii and nios2.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Hippo,
I am running Nios II 5.1 and Quartus II 5.1. Also, I updated QII with the recent patch that fixes the db problem that Altera had between 5.0 and 5.1 designs. I think this patch will be updated in Service Pack 1. The RMT error does not always happen , maybe every three attempts. However, I am never able to see the outputs of any CPU, even though I can step thorugh code for each. I suspect some GDB server problem or something along these lines, but I am not sure. I just started working with this tutorial. Any additional insight is much appreciated. Thanks, -Baycool
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page