Skip to main content
jki79ros81
Associate III
November 7, 2008
Question

Flash ReadOut Protection Problem

  • November 7, 2008
  • 15 replies
  • 2127 views
Posted on November 07, 2008 at 02:49

Flash ReadOut Protection Problem

    This topic has been closed for replies.

    15 replies

    jki79ros81
    Associate III
    May 17, 2011
    Posted on May 17, 2011 at 12:49

    Dear jilisegiar, thank you for your response.

    I tried to use it, but occur error ''No response from the target, the Bootloader can not be started. ....''.

    Please help me.

    jilisegiar
    Associate III
    May 17, 2011
    Posted on May 17, 2011 at 12:49

    Try to use the STM32 flash loader.

    http://www.st.com/mcu/modules.php?name=mcu&file=familiesdocs&FAM=110#Software - PC

    jki79ros81
    Associate III
    May 17, 2011
    Posted on May 17, 2011 at 12:49

    I set read-out protect falsh by FLASH_ReadOutProtection(ENABLE) ;

    , then my code not work .

    So i can't Un-protect it.

    In datasheet say follow.

    ''Once the protection byte has been programmed to a value:

    Main Flash memory read access is not allowed except for the user code (when booting from main Flash memory itself with the debug mode not active).

    ....''

    Why my code not work?

    I am sorry.Please help me.

    jki79ros81
    Associate III
    May 17, 2011
    Posted on May 17, 2011 at 12:49

    Dear heavelove, thank you very much.

    I finally succeed.

    Thank you from my heart.

    There is a question.

    If I set read-out protect the flash, then my code not work.

    In datasheet say follow.

    ''Once the protection byte has been programmed to a value:

    Main Flash memory read access is not allowed except for the user code (when booting from main Flash memory itself with the debug mode not active).

    ....''

    Why my code not work?

    I am sorry.Please help me.

    heavelove1
    Associate II
    May 17, 2011
    Posted on May 17, 2011 at 12:49

    Before use ISP, the Bootloader inside stm32f must run first.

    See AN2606 to find out how to assert BOOT0 and BOOT1.

    Cheers!