OVP Forums - A community of assistance, help, questions, and answers.
  FAQFAQ    SearchSearch      RegisterRegister  ProfileProfile    Log in to check your private messagesLog in to check your private messages    Log inLog in
Run different program in multicore architecture

 
Post new topic   Reply to topic    Open Virtual Platforms Forum Index -> Ask a Question
View previous topic :: View next topic  
Author Message
AntonioPrioletti



Joined: 02 May 2011
Posts: 20

PostPosted: Tue Oct 04, 2011 2:25 am    Post subject: Run different program in multicore architecture Reply with quote

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?
Back to top
View user's profile Send private message
DuncGrah
OVP Technologist
OVP Technologist


Joined: 27 Feb 2008
Posts: 1654
Location: United Kingdom

PostPosted: Tue Oct 04, 2011 6:35 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Open Virtual Platforms Forum Index -> Ask a Question All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
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


Information regarding OVP © 2008-2022 Imperas Software