Hi,
I am trying to run a simple OpenMP program (one that is provided in the example as well as some of my own) with c66x as a target. I have "omp_1_00_00_34_eng" OMP package with CCS 5.1 on Linux, and while building I am giving "--omp" flag. I guess that I'm missing something in my *.cfg file, and hence every OpenMP program is failing when I try to run it (build passes smoothly). This is the error I am getting:
Error connecting to the target:
(Error -2131 @ 0x0)
Unable to access device register. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK).
(Emulation package 5.0.520.0)
Following is the omp_config.cfg file (this is from the mat-vec multiplication example):
xdc.loadCapsule('ti/omp/common.cfg.xs'); var System = xdc.useModule('xdc.runtime.System'); System.extendedFormats = "%f"; var OpenMP = xdc.useModule('ti.omp.utils.OpenMP'); OpenMP.setNumProcessors(4); OpenMP.singleThreadPerCore = true;
What are the steps I need to follow to run the OMP examples from CCS 5.1?
Thanks,
Sayan