Since it is impossible for CCS5 debug to read the sticky bits of RESC REG 7 0x05c after the simulator aborts the DAP during an apparent SWR we add a register polling line into main application loop.
Below: The UARTprintf() shows the very same RESC bits enabled as does the CCS debug simulator, view register contents.
Polling the RESC it always prints 0x0000.0027 or [bits 5= WDT1, 2=BOR, 1=POR, 0=EXT].
WDT1 peripheral is not configured in 2 new Launch Pads and (RESBEHAVCTL) reset behavioral REG30, 0x1d8 are at the reset defaults.
If we explicitly disable WDT1 peripheral RESC [5] sill has WDT1 to be the reset cause. Possibly timing issues: SYSTICK = 120mHz/300 period (2.5us) 400Khz, maybe suspect in MPU soft resets while reading EEROM. We use F=1/P to determine the SYSTICK reset interval time is running 400Khz @2.5us.
The MPU appears to randomly reset or abort functions in SW during looping reads of the EEROM. Often after hours breaks out of the while loop of the main application that invokes the EEROM read. Oddly LWIP TCP stack is still functional, console commands can be issued but re-invoking the main application loop that aborted causes an MPU reset.
What is the minimum reset interval period SYSTICK can be programmed and still maintain integrity with EEROM and EMAC system peripherals?
Has any TI engineer stress tested this MPU integrity with such short STYSTICK periods?
Why does WDT1, BOR show as set when LM-Flash 1613 forces a reset after flash program?