Possible cause: Project testing using ST-link download program debugging, before all good to download the program, after some tests such as power-down storage may make the chip locked up
Tried solutions: I have looked for some solutions, but most of them are not add in the programming algorithm of flash download in debug, but they don’t seem to work for me.
Final solution: Download the STM32 ST-LINK Utility software to handle the problem.
1. Connect the board to the computer using ST-LINK and open the STM32 ST-LINK Utility.
2. Click Option Bytes in Target
You don’t need to click connect in Target here, just click Option Bytes directly after opening the software, otherwise mine will prompt a can’t read memory error.
3. Change this to disable, and click apply.
4. After that, you can download the program normally in keil5.
Read More:
- [Solved] STM32F4 MDK5 Software Simulate Error: error 65: no ‘read‘ permission
- Markdownpad2 Error: Html Rendering Error (An error occurred with the Html rendering component.)
- [Solved] Windows10 Start Linux Subsystem Error: WslRegisterDistribution failed with error: 0x80370102
- CanNot Open EBTresos(24.0.1) error code: 805306369 [How to Solve]
- How to Fix win10 video dxgkrnl fatal error
- Oracle Database Cannot Open mount Mode Error: ORA-01102
- Network error: SoftWare caused connection abort [How to Solve]
- [Solved] Keil Error: Error: Flash Download failed – “Cortex-M4“
- How to Solve Error in importing scala word2vecmodel
- [Solved] Error: In the Function of ‘fmt::v8::detail::error_handler::on_error(char const*)’
- IDEA reports an error Could not reserve enough space for xxxxKB object heap processing
- [Solved] Keil5 burn STM32F chip Error: error: Flash download failed – “cortex-m4″“
- [Solved] CMake Error Cannot specify link libraries for target “variational“ which is not built by this projec
- QT Error: Failed to create vertex shader [Three Methods to Fix]
- Filezilla Error: You appear to be behind a NAT router. Please configure the passive mode settings and …
- [Solved] win32diskimager Error: An error occured when attempting to XXX, Error 5: Access is Denied
- [Solved] unknown error: DevToolsActivePort file doesn‘t exis
- [Solved] Toad Set Error: The following files specified on the Executables tab could not be found:TNS Ping
- Error occurred during initialization of VM Could not reserve enough space for 1572864KB object heap
- [Solved] SecureCRT error: keyboard-interactive authentication with the ssh2 server failed