Oldnotdead 8 Posted July 26, 2019 Share Posted July 26, 2019 PLEASE HELP. Does a method exist to do a software reset for the CC320EMT LAUNCHXL? I tried the following Sketch, which compiles and works for the CC3200 LAUNCHXL but not the CC320EMT LAUNCHXL It would not compile and produced this error warning: 'FlashIntStatus' initialized and declared 'extern' [enabled by default] extern unsigned long FlashIntStatus(tBoolean bMasked); C:\Users\lfree_000\Downloads\energia-0101E0017-windows\energia-0101E0017/hardware/cc3200emt/libraries/flash/flash.h:102:37: error: 'tBoolean' was not declared in this scope HERE’S THE SKETCH #include <flash.h> #include <prcm.h> void setup() { pinMode (29, OUTPUT); //red ked digitalWrite (29, LOW); Serial.begin(9600); Serial.println("* CC3200EMT HIBERNATE/RESET TEST IN SETUP *"); int ii=0;while (ii<=25) { digitalWrite(29, HIGH); delay(80);digitalWrite(29, LOW);delay(60); ii++; } } void loop() { Serial.println("* CC3200EMT HIBERNATE/RESET TEST IN LOOP *"); delay(3000); MAP_PRCMHibernateIntervalSet(330); MAP_PRCMHibernateWakeupSourceEnable(PRCM_HIB_SLOW_CLK_CTR); MAP_PRCMHibernateEnter(); } Quote Link to post Share on other sites
Abdul400 0 Posted August 19, 2020 Share Posted August 19, 2020 I want to reset CC3200 launchpad can you please share flash.h and prcm.h Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.