Posted: Tue Oct 04, 2011 2:25 am Post subject: Run different program in multicore architecture
Hi, I have a multicore architecture with only one shared memory. I want run different program in both of them. But if I use IcmLoadProcessorMemory, the programs are load in the same address and then the last program overwrites the other and the is only the last program to run in all the processor. Can I resolve this problem?
Joined: 27 Feb 2008 Posts: 1654 Location: United Kingdom
Posted: Tue Oct 04, 2011 6:35 am Post subject:
This is essentially an SMP system you are describing.
You must link the programs so that they will load to and run from different/independent memory regions in your shared memory. The OVP simulator will load programs into the memory address ranges that the programs specify. You must also ensure that the programs use different regions for data (variable storage), stack etc sections...
This will require that you write your own linker scripts to change the location of program sections.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum