Forum Discussion
Altera_Forum
Honored Contributor
20 years agoHi, seems like you've found a bug with the launch configurations for advanced projects. We'll be looking to address this in an upcoming release of Nios II IDE. In the meantime, here is a suggestion for a workaround which may or may not work for you.
The problem is that the gui keeps resetting the cpu to the first one it finds in your system. If you go into the multiprocessor collection gui, select the last tab "Common". Under 'Type of launch configuration' select "Shared". Then for 'location of shared configuration' browse to your project. This saves the configuration as a *.launch file in your project. Hit Debug (this is just done so this is the last configuration in the debug list). Cancel or stop the debug session. Open up the *.launch file in an editor and change the 'CPU' entry to 'CPU2'. The trick then is to try to launch this without re-opening the gui, which will try to reset the cpu. To debug, select the drop-down arrow next to the bug icon in the toolbar. - you should find the configuration you just tried to debug is top of the list so just select that. This should start debugging without bringing up the gui, and hopefully keeping your cpu2 setting intact.