Jump to content
Oldnotdead

CC3200 EMT SOFTWARE RESET

Recommended Posts

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();

     }

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...