Other Parts Discussed in Thread: SYSBIOS
Hi,TI expert!
I encounter a strange case,if I cancel red comments, and add log_info call, the code is working continuously. and the raw log can be displayed if I stop the emulator.
But if I comment Log_info call, build and download again, when I stop emulator, raw log only display several log info, and resume the code and stop again, the raw log cannot be refreshed and also HvState:78 is error.
it seems the code is halted. it stops at Clock.c and cannot return. but in my project. I don't use Clock thread at all.
In fact, I encounter this error at first, I see HvState value 78 is error, so I add log_info1 call after
Ret = Mailbox_pend(MainTaskMBX,&Msg, MAIN_TASK_TIMEOUT);//BIOS_WAIT_FOREVER
and run again. ahahahahah. it is working fine, Hvstate value is OK ,and the code also can work continuously.
I don't know why this log_info call can solve this problem. so I attach my project(F28069 based). this code don't need any special device, just a bare F28069 board. it is very easy to test this code on any F28069 board. all threads are created statically.
CCS5.3 and CCS5.4
SYS BIOS 6.34.2.18
XDCTools 3.24.6.63





