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.

Task_sleep() hangs for default HAL timer in dra7xx-evm

Other Parts Discussed in Thread: SYSBIOS

Hello,

We are working on dra7xx-evm(OMAP5777)  board with following setup :

1.  linux-3.12 kernel

2. Toolchain- gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux.

3. Filesystem- arago-glsdk-multimedia-image-dra7xx-evm.

4. glsdk_6.10.00.02

5. ipc_3_23_00_01

6. bios_6_37_03_30

7. xdctools_3_25_06_96

8. CCS5.5

We are trying to use Task_sleep(1) on DSP1  in the default project but it hangs permanently. Please find the snippet from the app.cfg file below. We are using default hal timer which is expected to produce 1ms clock-tick as default.

/*
 * Create a task.  The 'taskFxn' function can be found in main.c.
 */
var task0Params = new Task.Params();
var task0 = Task.create("&taskFxn", task0Params);

var Timer = xdc.useModule('ti.sysbios.

timers.dmtimer.Timer');
Timer.intFreq.lo = 19200000;
 
Clock.tickPeriod = 1000;
Clock.tickSource = Clock.TickSource_TIMER;
Clock.swiPriority = 15;
Clock.timerId = 4;
Timer.checkFrequency = true;

Please suggest to resolve the same. We don't want to configure a separate user defined timer for this purpose.


Thanks,

Naveen