Problem: Unable to download code using ISP/J-Link/ST-Link, etc., prompting that the chip is write-protected; prompting that read protection is displayed when reading chip information.
Cause: Usually the option bytes have been modified.
Solution: Here, use ST-Link Utility to modify the option bytes.
Use ST-Link to connect to the STM32 chip and click Connect.
Read protection exists.
Modify option bytes.
Change the read protection level to Level 0.
The sectors with a check will be write-protected. Click Unselect all to uncheck the write protection.
The Flash will be erased after writing the option bytes.
The program can be written normally.
Previous article:STM32 learning notes: SysTick clock
Next article:STM32F4 startup file analysis
- Popular Resources
- Popular amplifiers
- Learn ARM development(16)
- Learn ARM development(17)
- Learn ARM development(18)
- Embedded system debugging simulation tool
- A small question that has been bothering me recently has finally been solved~~
- Learn ARM development (1)
- Learn ARM development (2)
- Learn ARM development (4)
- Learn ARM development (6)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- LED chemical incompatibility test to see which chemicals LEDs can be used with
- Application of ARM9 hardware coprocessor on WinCE embedded motherboard
- What are the key points for selecting rotor flowmeter?
- LM317 high power charger circuit
- A brief analysis of Embest's application and development of embedded medical devices
- Single-phase RC protection circuit
- stm32 PVD programmable voltage monitor
- Introduction and measurement of edge trigger and level trigger of 51 single chip microcomputer
- Improved design of Linux system software shell protection technology
- What to do if the ABB robot protection device stops
- Brief Analysis of Automotive Ethernet Test Content and Test Methods
- How haptic technology can enhance driving safety
- Let’s talk about the “Three Musketeers” of radar in autonomous driving
- Why software-defined vehicles transform cars from tools into living spaces
- How Lucid is overtaking Tesla with smaller motors
- Wi-Fi 8 specification is on the way: 2.4/5/6GHz triple-band operation
- Wi-Fi 8 specification is on the way: 2.4/5/6GHz triple-band operation
- Vietnam's chip packaging and testing business is growing, and supply-side fragmentation is splitting the market
- Vietnam's chip packaging and testing business is growing, and supply-side fragmentation is splitting the market
- Three steps to govern hybrid multicloud environments
- Four-axis special PID parameter tuning method and principle
- [Hua Diao Experience] 10-line empty board hardware control pinpong library series test (Part 3)
- Can this schematic control the LDO enable and disable through transistors?
- Huada HC32F4A0 replaces STM32F405/407/427 series chips--simple replacement comparison
- What is the principle of this temperature measuring water cup? Doesn't it need to replace the battery?
- Why can byte addresses overlap with bit addresses?
- Creative Cube
- 10 ways to dissipate heat from PCB!!!
- LOTO Lesson 3: Frequency Response Curve Plotting --- 3 groups of RC low-pass filter tests with different parameters
- Three major programming languages for the development of the Internet of Things