AnsweredAssumed Answered

How do you flash a chip with flash security enabled in your image?

Question asked by Josh Jordan on Mar 11, 2015
Latest reply on Jun 23, 2015 by Josh Jordan

I turned on flash security in security settings of the cpu bean.  Now when I try to flash or debug I get the following message:

 

Initializing.

Device is Secure.

Device is secured. Erasing ...

Target has been RESET and is active.

Disconnected from "127.0.0.1" via 127.0.0.1

Terminating Gracefully...

Target Disconnected.

 

 

It appears to be doing a mass erase and then disconnecting.  No code appears to run, tested by setting an output pin at the beginning of main and it never gets set.  When I recompile the code without the flash security bit, everything works, code runs as expected.  Is there a way to set flash security and flash a chip with that setting?

 

Is there a better way to secure the firmware image?

Outcomes