Skip to main content
11andrey54
Associate
May 24, 2012
Question

How to erase the chip?

  • May 24, 2012
  • 4 replies
  • 1449 views
Posted on May 24, 2012 at 16:36

I use ST Visual Programmer and

http://www.st.com/internet/evalboard/product/250863.jsp

. During programming I set Read Protection ON. But now I can not erase or reprogramming the chip (STM32F103RB). I can see ''The device is protected'' only. How can I do this?
    This topic has been closed for replies.

    4 replies

    dhutchison1945
    Associate III
    May 25, 2012
    Posted on May 25, 2012 at 09:40

    you have to disable the read out protection before

    regards

    spectre

    frankmeyer9
    Associate III
    May 25, 2012
    Posted on May 25, 2012 at 10:09

    I did not yet mess with Visulal Programmer, but a ''Full Erase'' should be possible anyway.

    The CRP feature is described in detail in the stm32f10x reference manual. I would avoid it if possible...

    11andrey54
    Associate
    May 25, 2012
    Posted on May 25, 2012 at 14:55

     

    Yes, I have to disable the read out protection before. But I should be able to erase the chip in the future. And I can't do it via ST Visual Programmer. What are opinions?

     

    Tesla DeLorean
    Guru
    May 25, 2012
    Posted on May 25, 2012 at 16:23

    What are opinions?

     

    Serial port, or JTAG

    [DEAD LINK /public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/CAN Bootloader. Commands with ROP dependece&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B&currentviews=446]https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=%2Fpublic%2FSTe2ecommunities%2Fmcu%2FLists%2Fcortex_mx_stm32%2FCAN%20Bootloader.%20Commands%20with%20ROP%20dependece&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B¤tviews=446

    I've also done it with code I built into one of my applications.

    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..