Forum Discussion
5 Replies
- Altera_Forum
Honored Contributor
What problem do you have?
- Altera_Forum
Honored Contributor
I used cpu_1 to operate led_green,but it the led_green does't seem to be controlled,instead,the led_red,which is connected to cpu_2,seems to be controlled by cpu_1,I don's know why.
- Altera_Forum
Honored Contributor
I don't see anything in your SOPC system that would explain this... Check that your two PIO are indeed connected to the correct LEDs, that the two CPUs are using different parts of the memory for their software, and that you are downloading the code to the correct CPU.
- Altera_Forum
Honored Contributor
for cpu_1:
Reset Vector: Memory sdram_0 offset 0x0 Exception Vector: Memory sdram_0 offset 0x20 for cpu_2: Reset Vector: Memory sdram_0 offset 0x100000 Exception Vector: Memory sdram_0 offset 0x100020 in addtions,should the jtag_uart connect to cpu_1 or cpu_2? Thank you! - Altera_Forum
Honored Contributor
It looks ok.
You can only connect the jtag uart to one CPU AFAIK. You can choose anyone you like, but of course the other one will not be able to write anything to the console. If you have a serial interface, you could connect a UART to the second cpu, and that way have a console access on both CPUs.