r software crashes non-deterministically. The last crash was after 3 hours with no external events (i.e. the control loop is just idling).
F28335. Bios 5.32. CGTs 5.0.2 CPU load ca 25%. Four tasks, invocations triggered using PRDs and SEMs. Debug compiled.
PC = FXN_F_selfLoop()
RPC = SWI_F_run() + 0x53
No stack overruns (plenty of 0xBEEF).
What kind of problem can cause this?
Details are below:
Dissassembly of SWI_F_run() up to the LCR command.
315AD5 SWI_RUNFXN, SWI_F_run:
315AD5 3B30 SETC INTM,DBGM
315AD6 8D00ED67 MOVL XAR0,#0x00ED67
315AD8 0EC0 MOVU ACC,*+XAR0[0]
.. snipp ...
315B1F 76715B5D LCR logBegin
315B21 8EA6 MOVL XAR0,@XAR6
315B22 761B ASP
315B23 7609 PUSH DP:ST1
315B24 C580 MOVL XAR7,*XAR0++
315B25 8380 MOVL XAR5,*XAR0++
315B26 8A80 MOVL XAR4,*XAR0++
315B27 3E67 LCR *XAR7
Registers:
ACC 00000000
P 569E4E20
XT C001016D
XAR0 0000000A
XAR1 00000052
XAR2 00000220
XAR3 00000000
XAR4 0000ED66
XAR5 0000F09E
XAR6 00000004
XAR7 0000EDAC
PC 315D3C
RPC 315B28
ST0 04D8
ST1 0A1B
DP 03B4
SP 00AF
IER 6185
IFR 6005
DBGIER 0000
Value at 0xEDAC = 0x0000 0000 (symb HWID_stkbottomadr)