Tool/software: TI-RTOS
I am using Tiva 1294XL board and latest TI RTOS version. I am getting following error continuously
000000 LR(R14) = 0x0005941f
R7 = 0x2001c82c PC(R15) = 0x0005ff32
PSR = 0x21000000
ICSR = 0x0400f803
MMFSR = 0x00
BFSR = 0x82
UFSR = 0x0000
HFSR = 0x40000000
DFSR = 0x00000001
MMAR = 0x6d376264
BFAR = 0x6d376264
AFSR = 0x00000000
Terminating execution...
When I check the location from where this error occurs, I get the following information. Can anyone tell me what could be the reason of this issue?
0x5ff16: 0xd001 BEQ.N 0x5ff1c
return(0);
0x5ff18: 0x2000 MOVS R0, #0
0x5ff1a: 0xe7ff B.N 0x5ff1c
return( pfdt );
0x5ff1c: 0xbd02 POP {R1, PC}
int fdint_lockfd( FILEDESC *pfd, uint Type )
{
fdint_lockfd:
0x5ff1e: 0xb538 PUSH {R3-R5, LR}
0x5ff20: 0x0004 MOVS R4, R0
0x5ff22: 0x000d MOVS R5, R1
pfdt = TaskGetEnv( TaskSelf(), 0 );
0x5ff24: 0xf7f9 0xfaa2 BL TaskSelf ; 0x5946c
0x5ff28: 0x2100 MOVS R1, #0
0x5ff2a: 0xf7f9 0xfa5a BL TaskGetEnv ; 0x593e2
if( !pfdt || pfdt->Type != HTYPE_FDTABLE )
0x5ff2e: 0x2800 CMP R0, #0
0x5ff30: 0xd002 BEQ.N 0x5ff38
0x5ff32: 0x6801 LDR R1, [R0]
0x5ff34: 0x290d CMP R1, #13 ; 0xd
0x5ff36: 0xd002 BEQ.N 0x5ff3e
return( SOCKET_ERROR );
0x5ff38: 0xf05f 0x30ff MOVS.W R0, #-1 ; 0xffffffff
0x5ff3c: 0xe01b B.N 0x5ff76
if( !pfd ||
(Type && pfd->Type != Type) ||
((pfd->Type != HTYPE_RAWETHSOCK) &&
#ifdef _INCLUDE_IPv6_CODE
(pfd->Type != HTYPE_SOCK6) &&
#endif
(pfd->Type != HTYPE_SOCK && pfd->Type != HTYPE_PIPE)
) || !pfd->OpenCount )
0x5ff3e: 0x2c00 CMP R4, #0
0x5ff40: 0xd010 BEQ.N 0x5ff64
0x5ff42: 0x2d00 CMP R5, #0
0x5ff44: 0xd002 BEQ.N 0x5ff4c
0x5ff46: 0x6821 LDR R1, [R4]
0x5ff48: 0x42a9 CMP R1, R5
0x5ff4a: 0xd10b BNE.N 0x5ff64