hello;
i created a openMP template project .when i tried to run , i met some problem . can you give me some steps to run the project .
thanks
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
hello;
i created a openMP template project .when i tried to run , i met some problem . can you give me some steps to run the project .
thanks
Hi Jian
The guide at http://processors.wiki.ti.com/index.php/OpenMP_on_C6000 provides step-by-step instructions on leveraging the OpenMP template projects.
hi
i created a openMP template project .then i grouped first four cores. and loaded built .out onto the group . but the problem appeared.:
[C66xx_1] ERROR : pc_start failed in OpenMP _masterTask
the previous information displayed in the console window, i did not change template project,why it happened? how to solve this probelm?
thanks for you reply
Hi Jian
Could you please copy and paste the contents of the .cfg file from your project?
the template prjoject includes a cfg file, so i need not to creat cfg file . my steps are following :
1 create a template project (this project include one cfg file and .c file , it is a conplete project and should not be changed )
2: build the project and generated a .out file
3: group first four cores and connect four cores to my board
4: load the .out file onto the group
when i loaded the .out file , the error information displayed in the console window . how to solve this problem ,thank you
Jian
I asked you to copy-paste the contents of the cfg file because it will give me an idea of the number of processors that have been defined in the cfg file. The project template that is generated might be different from one version of MCSDK to another, and there are different example templates available (hello world, matrix multiplication, etc.) If OpenMP.numProcessors = 8 in the cfg file, then you might have to group all 8 cores and load the .out file in it. So please copy-paste all the contents of the cfg file that is generated as part of your project.
Please also let me know which version of MCSDK and CCS you are using.
my ccs version is 5.3.0.0090 and my mcsdk version is 02-01-02-06. my template project is 'hello world' . i changed cfg file . OpenMP.numProcessors = 8 and grouped all the cores and builed it again and loaded the out.file, but the problem still appeared .
i also change the omp support option from 'project property window'.
thanks for you answer
C66xx_1: GEL Output: Setup_Memory_Map...
C66xx_1: GEL Output: Setup_Memory_Map... Done.
C66xx_1: GEL Output: Setup Cache...
C66xx_1: GEL Output: L1P = 32K
C66xx_1: GEL Output: L1D = 32K
C66xx_1: GEL Output: L2 = ALL SRAM
C66xx_1: GEL Output: Setup Cache... Done.
C66xx_1: GEL Output: Invalidate All Cache...
C66xx_1: GEL Output: Invalidate All Cache... Done.
C66xx_1: GEL Output: GEL Reset...
C66xx_1: GEL Output: GEL Reset... Done.
C66xx_1: Trouble Writing Register PC: (Error -1176 @ 0x0) Unable to access device memory. Verify that the memory address is in valid memory. If error persists, confirm configuration, power-cycle board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 5.1.73.0)
C66xx_1: Symbol Manager: the object file contains multiple sets of debug information; only the first set will be used.
Thank you for your reply
Hi Jian,
are you using the openMP version 1_02_00_05? Use this Link to update openMP : http://software-dl.ti.com/sdoemb/sdoemb_public_sw/omp/1_02_00_05/index_FDS.html
After this follow the steps below :
Please follow the steps below to avoid this issue:
1. Launch your target configuration for your 6678 EVM in CCS Debug perspective
2. 'Connect Target'
3. Now for each core, select the core, go to Tools--> Debugger Options --> Generic Debugger Options. This should bring up a window. Under 'Auto Run Options" uncheck the box that says, 'On a program load or restart.'
4. After completing step 3 for all cores, click on 'Remember my settings'
5. Now load your .out file on the cores. After loading is completed, cores should be in suspend mode, and at the symbol __c_int00().
6. Now run thecores
see: http://e2e.ti.com/support/dsp/c6000_multi-core_dsps/f/639/p/276949/969431.aspx#969431
Best Regards
Lopez