Altera_Forum
Honored Contributor
14 years agoProgramming second CPU
Hello
I'm using a Cyclone III starter board and trying to build a system with 2 cpu's but can't get them to work together. I've got both in one SOPC system. CPU1 has a reset vector of ext_flash 0x0 and exception vector onchip_ram 0x20 CPU2 has a reset vector of ext_flash 0x800000 and exception vector onchip_ram2 0x20 I generate the SOPC system and build it in Quartus and then do the convert progamming file etc bit to create the .pof and write it to the board. Then in NIOS II eds I've got three projects (one for each CPU and a BSP). I build them and then use the flash programmer to write the two elf's to the flash. I've set the flash offset in the programmer to 0x800000. When it intially writes to the flash everything works fine (both CPUs are running) but when I cycle the power on the board only one of the CPUs starts. Where am I going wrong?