Altera_Forum
Honored Contributor
20 years agoQuestion about multiprocessor code execution
When I use nios2-download to send an elf file to a multiprocessor system, how does it know which processor to use to execute the code? Is it solely based on the addresses in memory that the code is loaded into?
For instance, Altera's multiprocessor tutorial runs identical C code on each processor. The ELF files are different though, I assume because of the changes you make in the system library properties. Assuming both processors were running identical code though, would I be able to run cpu1's ELF file on cpu2 just by using nios2-elf-objcopy to change the addresses?