MCU: TM4C1294NCPDT
TI-RTOS: v2.01.00.03
NDK: v2.23.01.01
CCS: v6.0.1.0040
-
Hi,
I have implemented (in my code) that if a Hard Fault occurs, the MCU displays (on the LCD screen) the last running Task Name that was running just before the Hard Fault occurred. Now, I have noticed that under certain cases, the TI-RTOS will stop execution & no Fault is generated & I am unable show the status of the system on the LCD. I noticed that the console printout at that time is the following:
1.
{module#47}: line 307: out of memory: handle=0x2002c264, size=2048
xdc.runtime.Error.raise: terminating execution
2.
{module#47}: line 307: out of memory: handle=0x2002c268, size=2048
xdc.runtime.Error.raise: terminating execution
3.
{module#47}: line 307: out of memory: handle=0x2002c268, size=2056
00023.562 mmBulkAlloc(): could not allocate memory.
00023.562 out of memory: handle=0x0, size=536937324
00023.562 SBNew: Buffer OOM
Sometimes, even console printout will come as follows & code execution will still be running:
{module#47}: line 307: out of memory: handle=0x2002c268, size=2056
00016.111 mmBulkAlloc(): could not allocate memory.
00016.111 out of memory: handle=0x0, size=536937324
00016.112 SBNew: Buffer OOM
{module#47}: line 307: out of memory: handle=0x2002c268, size=2056
00016.112 mmBulkAlloc(): could not allocate memory.
00016.113 out of memory: handle=0x0, size=536937324
00016.113 SBNew: Buffer OOM
{module#47}: line 307: out of memory: handle=0x2002c268, size=2056
00016.114 mmBulkAlloc(): could not allocate memory.
00016.114 out of memory: handle=0x0, size=536937324
00016.114 SBNew: Buffer OOM
{module#47}: line 307: out of memory: handle=0x2002c268, size=2056
00016.115 mmBulkAlloc(): could not allocate memory.
00016.116 out of memory: handle=0x0, size=536937324
00016.116 SBNew: Buffer OOM
{module#47}: line 307: out of memory: handle=0x2002c268, size=2056
00016.117 mmBulkAlloc(): could not allocate memory.
00016.117 out of memory: handle=0x0, size=536937324
00016.117 SBNew: Buffer OOM
{module#47}: line 307: out of memory: handle=0x2002c268, size=2056
00016.118 mmBulkAlloc(): could not allocate memory.
00016.118 out of memory: handle=0x0, size=536937324
00016.119 SBNew: Buffer OOM
{module#47}: line 307: out of memory: handle=0x2002c268, size=2056
00016.119 mmBulkAlloc(): could not allocate memory.
00016.120 out of memory: handle=0x0, size=536937324
00016.120 SBNew: Buffer OOM
{module#47}: line 307: out of memory: handle=0x2002c268, size=2056
00016.121 mmBulkAlloc(): could not allocate memory.
00016.121 out of memory: handle=0x0, size=536937324
00016.121 SBNew: Buffer OOM
{module#47}: line 307: out of memory: handle=0x2002c268, size=2056
00016.122 mmBulkAlloc(): could not allocate memory.
00016.122 out of memory: handle=0x0, size=536937324
00016.123 SBNew: Buffer OOM
Can anyone comment what might be going wrong?
Also, how to continue execution of code after this kind of faults & display some status information on the LCD screen?
Thanks
Regards
Soumyajit