at the moment we have a port for the Cortex M4F wich stuck / endless loop in the port.c.
Exactly at line 587 in the if( xModifiableIdleTime > 0 ), sometimes its going in there and never goes out:
(we running a program that sometimes is running 2min and sometimes 6hrs before its stick in there)
/* Sleep until something happens. configPRE_SLEEP_PROCESSING() can
set its parameter to 0 to indicate that its implementation contains
its own wait for interrupt or wait for event instruction, and so wfi
should not be executed again. However, the original expected idle
time variable must remain unmodified, so a copy is taken. */
xModifiableIdleTime = xExpectedIdleTime;
configPRE_SLEEP_PROCESSING( xModifiableIdleTime );
if( xModifiableIdleTime > 0 )
__dsb( portSY_FULL_READ_WRITE );
__isb( portSY_FULL_READ_WRITE );
Can someone give us some hints what we can do?