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.

RTOS/TMS320C6747: code is entering in Infinite loop in some cases while debugging

Part Number: TMS320C6747
Other Parts Discussed in Thread: SYSBIOS

Tool/software: TI-RTOS

Hi all, 

I'm using CCV8, with SYS/BIOS 6_70, XDC3_50_05_12

I updated my code, while testing the code in debug, the code enters into infinite loop.

it doesnt exits, unless i stop the debug. 

I couldn't find what is causing it, since it goes to disassembly code and shows

xdc_runtime_Text_xprintf__I()

"could not read the  (the address), execution state is prevented access"

Most of the time when it happens, the code was using fwrite, to write to a file outside.

is there a way to trace back to find the bug in my code?