Quantcast
Channel: Processors
Viewing all articles
Browse latest Browse all 124118

Forum Post: RE: Questions about the use of memory in openMP

$
0
0

Hi ZhengTian

Wrt your question on IPC SharedRegion:
The OpenMP package leverages TI's Inter Processor Communication (IPC) software component under the hood for communication and synchronization between cores. The IPC shared region is a memory region that is used for this IPC handshaking including some heap memory between cores.

On your other questions:

When you import the OpenMP project for Hello World in Code Composer Studio, you should see a .cfg file listed under the project in the Project Explorer in CCS by the name omp_config.cfg. 

The files you are attempting to modify (.map and linker.cmd) are generated files by the compiler/linker. If you attempt to modify these files, whenever you rebuild the project they will be overwritten. The .cfg file and the Platform file are the ones that you should look at. The Platform file has the memory map defined and can be viewed and modified if you follow these steps below: 

1. Go to your CCS Debug perspective

2. Choose the menu options shown in the snapshot below

3. Now click Browse and select the following directory "C:\ti\omp_1_xx_xx_xx\packages." Note the xx_xx_xx corresponds to the version of OMP you are using on your setup.

4. Once you do this, you should see an option under "Package Name" called "ti.omp.examples.platforms.evm6678" as shown in the snapshot below:

5. Once you click "Next" you will see the memory map as shown in the snapshot below:

Note that the memory map you see will vary based on which version of OpenMP (OMP) you are using.

Which version of OpenMP are you using? I'd recommend that you first install MCSDK 2.1.2.6 which comes with OpenMP and then install the newer version of OpenMP OMP version 1.02.00.05 which is at http://software-dl.ti.com/sdoemb/sdoemb_public_sw/omp/1_02_00_05/index_FDS.html

Please look at the User Guide that comes with OMP 1.02.00.05 in the omp_1_02_00_05\docs once you have installed the software. This will give you more details on the memory map and what each section represents. 


Viewing all articles
Browse latest Browse all 124118

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>