Segger cannot unlock after stm32f05x is added to RDP (LV1)

Source: Internet
Author: User

After the RDP function is added to the stm32f10x series of the cm3 core, RDP cannot be removed from the unsecured chip of the segger or the CMD of the unlock stm32, And the unlock stm32 prompts that the model cannot be recognized. After trying many methods, you still cannot remove RDP. It is estimated that the model is relatively new and segger is not fully supported yet. The segger used is the latest official release and beta versions v4.65d and v4.67c/

The following three methods are available:

1. Configure the boot zone, start with system bootloader, boot1 = 0, boot0 = 1, and then use host a of the serial ISP to remove read protection;

2. Configure the boot area, run the program with the SRAM, and perform the RDP removal operation in the main program of the SRAM;

3. Purchase stlink II, download stvp, select option byte programming, and set Option byte to lv0 again;

The above only verifies the third method because the hardware is fixed. Verification passed, perfect removal of RDP!

Attached to the RDP method:

If (set! = Flash_ob_getrdp () {flash_unlock (); // The value must be added; otherwise, the flash_ob_unlock (); flash_ob_rdpconfig (timeout); flash_ob_lock (); flash_lock (); flash_ob_launch (); // This statement must be added and will be automatically reset and loaded. Otherwise, the RDP will not take effect when powered on for the first time and will take effect only after reset. }

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.