--- Quote Start ---
originally posted by kerri@Sep 1 2004, 06:21 PM
ok, here's some instructions (nios ii). --- Quote End ---
Hi. Your instructions were excellent. I followed them easily. But I'm having trouble getting my design running.
Here are my differences:
I'm running it on our own board with an EP2S60.
I created a simple Quartus project with nothing but a PLL, a little reset circuit and a NIOS block.
In SOPC builder I made it have 2 Nios processors, each of which has its own jtag_uart and 64K block of RAM. They are both NIOS II/s with Level 1 JTAG. I was very careful about the memory map and the instruction/data master connections. Note that I didn't share the memory and the blocks aren't continguous, either.
Keep it simple, right? The Nios block has two gazintas, clock and reset, and no gazoutas. Pretty hard to mess that up.
In the NIOS IDE I built two hello_world projects, one for each cpu. All they should do is print Hello from Nios II cpu_0/cpu_1 forever.
Following your directions for Debug mode, there were two differences between my configuration and yours.
First, when I open Run --> Debug there is a "Nios II Multiprocessor Collection" item in the list. Does that work yet?
Second, in Nios II Hardware --> hello_cpu_1 Nios II HW configuration --> Target Connection there was no entry for TCP port for Debugger. You pointed out that it might not be there, so no problem.
When I hit the Debug button, this message came up in the console:
Using cable "USB-Blaster [USB-0]", device 1, instance 0x00
Pausing target processor: not responding.
Resetting and trying again: FAILED
Leaving target processor paused
I did the same thing with cpu_0 and got a similar message.
The board works with a single cpu, so that's not the problem.
Any ideas?
Leslie
update 10/16: http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/cool.gif
It bothered me enough to justify coming in to work today to figure it out. And of course it only took a half hour to get both processors running.
The answer was to uncheck Debug --> hello_cpu_1 Nios II HW configuration --> Debugger --> Break at Main().
I'll try to understand why I had to uncheck it when I write up what I did. I'm guessing it's because I haven't patched the IDE.
update 10/17: Ack, it doesn't work this morning.
Any ideas?