cancel
Showing results for 
Search instead for 
Did you mean: 

Debug Protection Problem

alexandre2399
Associate II
Posted on May 07, 2008 at 22:04

Debug Protection Problem

3 REPLIES 3
alexandre2399
Associate II
Posted on April 07, 2008 at 12:12

Hello !!

I wanted to protect my device from debugging. To do so, I wrote at the beginning of my program : FLASH_PermanentDebugPrConfig(ENABLE);.

I am using Anglia IDEalist with the Wiggler (I also have the Rlink). Now I would like to disable the debug protection but I can't write any code into my device (STR712FR2T6). I found some code to disable the protection but I don't know how to program it.

Can I still program my device ?

Thanks

Alex

alexandre2399
Associate II
Posted on April 07, 2008 at 15:21

It's me again. I finally choose to replace the microcontroller by a new one.

But if you have an answer to my previous question I would be happy to read it.

sjo
Associate II
Posted on May 07, 2008 at 22:04

if you set the debug protection on a blank str71x then the device is now useless.

The only way to recover is for the firmware in flash to either temporary/permanently unprotect the device. see the flash programming guide for more info.

Cheers

sjo