The 3.2.4d patch does not compile in Imagecraft, with error message "__NOP not defined..."
I possibly found a temporary workaround while the patch gets resolved: A NOP is not necessary after a DINT if interrupts are already disabled. So immediately before calling OSSched(), issuing a DINT, followed by a NOP allows OSSched() to successfully run the beginning code without the NOP. I don't know if there are other segments in OSSched() where interrupts are re-enabled / disabled
BECAUSE:
TI decided to change the address of the the Watchdog timer in the 5xx. The code in OSSched() that usually modifies the watchdog timer at 0x0120 now modifies the Power Management Control Register (PMMCTL0). The 5xx enhanced watchdog timer_A address is 0x15C. The PMMCTL0 register has a password and writing to it without the upper byte as A5 results in a reset! :O
Since I'm using a library, I cannot change the configuration
#define OSCLEAR_WATCHDOG_TIMER()
in salvocfg.h.
[This message has been edited by doniol (edited March 23, 2009).]