Hi,
Is the problem with cc3200 device locking up fixed?
I have devices locking up on me after OTA , Specifically in a noisy environment with a low RSSI.
If OTA does not complete successfully , most of the time the processor locks up and watchdog is triggered. The system Reboots , the code detects the WD Boot, and tries to perform what has
been suggested, Go through Hibernate, But the Problem is, the Hibernate reset does not happen and device is locked again, until watchdog is triggered again. This continues on for ever until a cold reboot by unplugging the device .
-> reboot -> stuck in hibernate reset -> WD trigger |
^------------------------------------------------------------------<--
It seems as if what ever caused the WLAN to initially stop the processor, does it again when trying to hibernate.
HERE is the code for when WD reset is detected and trying to initiate a hibernate based reset.
case PRCM_WDT_RESET:
//force NWP to idle State
HWREG(0x400F70B8) = 0x1;
UtilsDelay(800000/5);
//Clear the interrupt
HWREG(0x400F70B0) = 0x1;
UtilsDelay(800000/5);
//reset NWP, WLAN domains
HWREG(0x4402E16C) |= 0x2;
UtilsDelay(800);
//Wnsure ANA DCDC is moved to PFM mode before envoking hibernate
HWREG(0x4402F024) &= 0xF7FFFFFF;
HIBEntrePreamble();
MAP_PRCMOCRRegisterWrite(0,1);
PRCMHibernateWakeupSourceEnable(PRCM_HIB_SLOW_CLK_CTR);
MAP_UtilsDelay(8000000);
//! Set wake up time and enter HIB
//!
PRCMHibernateIntervalSet(330);
PRCMHibernateEnter();
break;
Regards
Ahmad