Other Parts Discussed in Thread: SYSBIOS
Hello:
I want to run the omp demo (C:\Program Files\Texas Instruments\omp_1_01_03_02\packages\ti\omp\examples\omp_hello.c)on my tms320c6678levm,follow is my steps:
1. compiled the omp_hello example,and the console window is:
**** Build of configuration Debug for project omp_example ****
"C:\\ti\\ccsv5\\utils\\bin\\gmake" -k all
'Building file: ../omp_config.cfg'
'Invoking: XDCtools'
"C:/ti/xdctools_3_25_03_72/xs" --xdcpath="C:/Program Files/Texas Instruments/omp_1_01_03_02/packages;C:/ti/bios_6_35_04_50/packages;C:/Program Files/Texas Instruments/ipc_1_24_03_32/packages;C:/Program Files/Texas Instruments/pdk_C6678_1_1_2_6/packages;C:/ti/ccsv5/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.elf.C66 -p ti.omp.examples.platforms.evm6678 -r debug -c "C:/ti/ccsv5/tools/compiler/c6000_7.4.4" "../omp_config.cfg"
making package.mak (because of package.bld) ...
generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
configuring omp_config.xe66 from package/cfg/omp_config_pe66.cfg ...
cle66 package/cfg/omp_config_pe66.c ...
'Finished building: ../omp_config.cfg'
' '
'Building file: ../omp_hello.c'
'Invoking: C6000 Compiler'
"C:/ti/ccsv5/tools/compiler/c6000_7.4.4/bin/cl6x" -mv6600 --abi=eabi -g --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.4.4/include" --display_error_number --diag_warning=225 --diag_wrap=off --openmp --preproc_with_compile --preproc_dependency="omp_hello.pp" --cmd_file="./configPkg/compiler.opt" "../omp_hello.c"
'Finished building: ../omp_hello.c'
' '
'Building target: omp_example.out'
'Invoking: C6000 Linker'
"C:/ti/ccsv5/tools/compiler/c6000_7.4.4/bin/cl6x" -mv6600 --abi=eabi -g --display_error_number --diag_warning=225 --diag_wrap=off --openmp -z -m"omp_example.map" -i"C:/ti/ccsv5/tools/compiler/c6000_7.4.4/lib" -i"C:/ti/ccsv5/tools/compiler/c6000_7.4.4/include" --reread_libs --warn_sections --display_error_number --diag_wrap=off --xml_link_info="omp_example_linkInfo.xml" --rom_model -o "omp_example.out" -l"./configPkg/linker.cmd" "./omp_hello.obj" -l"libc.a"
<Linking>
'Finished building target: omp_example.out'
' '
**** Build Finished ****
2. lanuch the target and connect core0,click "system reset".then load gel file on core0 and run the global default setup, disabled the "on a program load or restart", under "Auto Run Options" on all cores
3. load program on core0 and load symbols on core1、 core2 、core3:
4. resume core0 and the console is:
[C66xx_0] A0=0x90000200 A1=0x90000200
A2=0x0 A3=0xff
A4=0x8a608bc3 A5=0x90000200
A6=0x0 A7=0x0
A8=0x1 A9=0x8
A10=0x2 A11=0xa0194a84
A12=0xdc50e865 A13=0xc039564
A14=0x90000200 A15=0x0
A16=0x900001c0 A17=0x0
A18=0x90000180 A19=0x40
A20=0x100 A21=0x21c78030
A22=0x321f07ba A23=0x2920c271
A24=0x9002b100 A25=0x4576b9fa
A26=0xa3917b16 A27=0x84000814
A28=0x95510441 A29=0xc037ff0
A30=0x2 A31=0x90000010
B0=0x1 B1=0x1
B2=0x1 B3=0xc028ef0
B4=0x90000200 B5=0xc039564
B6=0x0 B7=0x1
B8=0x1000 B9=0x0
B10=0x90000088 B11=0x0
B12=0x1 B13=0xc02b364
B14=0xa0194878 B15=0x828eb8
B16=0x0 B17=0x829018
B18=0xff B19=0x20
B20=0x20 B21=0xd4b695c6
B22=0x4062008c B23=0x368059dd
B24=0xffffffff B25=0x7fefffff
B26=0x410e5410 B27=0x33a35afb
B28=0x26601139 B29=0x0
B30=0x21 B31=0x0
NTSR=0x1000f
ITSR=0x0
IRP=0x0
SSR=0x0
AMR=0x0
RILC=0x0
ILC=0x0
Exception at 0x0
EFR=0x2 NRP=0x0
Internal exception: IERR=0x1
Instruction fetch exception
ti.sysbios.family.c64p.Exception: line 255: E_exceptionMin: pc = 0x00000000, sp = 0x00828eb8.
To see more exception detail, use ROV or set 'ti.sysbios.family.c64p.Exception.enablePrint = true;'
xdc.runtime.Error.raise: terminating execution
5. There is nothing i want to printed in console,then I click "resume" again but nothing is printed in the console:
Is the matter CTG versions? my CTG is v7.4.4,and my omp is 1.1.3.2. I have search for this information,but i can complite it without error just no work.
This is not the result i wanted.. Any suggestion?
Thanks a lot.