Skip to main content
Visitor II
May 7, 2008
Question

Debug Protection Problem

  • May 7, 2008
  • 3 replies
  • 990 views
Posted on May 07, 2008 at 22:04

Debug Protection Problem

    This topic has been closed for replies.

    3 replies

    Visitor II
    April 7, 2008
    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

    Visitor II
    April 7, 2008
    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.

    Visitor II
    May 7, 2008
    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