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 is hang up after calling TSK_sleep()

Hi friends,

I got a problem while developing on the DM6446 chip. I'm using ccs3.3, bios 5.33.06, XDS560R jtag emulator. The problem is that the task is alway hang after calling TSK_sleep(using CCS to debug) , meanwhile other tasks are still running. All tasks have the same priority, and using TSK_yield to switch task in the end of loop in each task. If I load program to flash, it works well

I also read some topic on TI E2E community but I can not find the suitable answer for my case

I highly appreciate if someone can suggest me to fix this issue.

Thank you very much

Regards,

TungDH

  • One guess would be that you don't have a kernel tick.  Did you do something to your BIOS configuration file to turn off CLK?  Perhaps your code disabled the corresponding interrupt in IER?  If you look through your tcf file in the graphical editor you should be able to see which one corresponds to the tick (CLK_f_isr).  It's generally HWI14 or HWI15.