Forum Discussion
Altera_Forum
Honored Contributor
20 years agohello ,paolo.gai, Thank you for your reply.
I use altera EP2C35 board ,quartus5.1+sp2 ,NiosIDE 5.1+sp1. I use "standard" example and do as tuturial. when I debug "NIOS2_READ_CPUID(id) ,id + =1;",I found the id of CPU1 which connected with JTAG_UART is 3; so I modify anywhere the "if(id == 1)" with "if(id == 3)". when I download "Collection" in which I check CPU1 ,CPU2 and CPU3 's programmer ,there is no message. I can't understand why? But I download "Collection" in which I check CPU1 programmer Only. It can Work and printf message. I think whether CPU1 don't work,I want to find answer. So,I creat a new multipeocessor system, Only CPU1 and CPU2; CPU1 control LCD and CPU2 control LED. CPU1 and CPU2 are separated and don't share memory(DDR_sdram are shared but share difference area as tuturial.).I meet the same question, when I download "Collection" in which I check CPU1 and CPU2 's programmer , Only LED can work ,LCD can't work; but when I download "Collection" in which I check CPU1's programmer only, LCD can work; I enter into Debug mode,I found CPU1 and CPU2 can work when I debug! How Strange! so I think whether Quaruts 5.1+sp2 has bug? Regards gjf