中级会员
 
- 积分
- 270
- 金钱
- 270
- 注册时间
- 2018-8-10
- 在线时间
- 29 小时
|
10金钱
全新未使用的stm32f407zgt6芯片能够连接但是无法擦除flash
使用STM32CubeProgrammer可以连接芯片,但是不能擦除
- 15:21:54 : STM32CubeProgrammer API v2.12.0 | Windows-64Bits
- 15:21:56 : ST-LINK SN : 390A070A2416303030303032
- 15:21:56 : ST-LINK FW : V2J41S7
- 15:21:56 : Board : --
- 15:21:56 : Voltage : 4.69V
- 15:21:56 : SWD freq : 4000 KHz
- 15:21:56 : Connect mode: Under Reset
- 15:21:56 : Reset mode : Hardware reset
- 15:21:56 : Device ID : 0x413
- 15:21:56 : Revision ID : Rev Y
- 15:21:56 : Debug in Low Power mode is not supported for this device.
- 15:21:56 : UPLOADING OPTION BYTES DATA ...
- 15:21:56 : Bank : 0x00
- 15:21:56 : Address : 0x40023c14
- 15:21:56 : Size : 4 Bytes
- 15:21:56 : UPLOADING ...
- 15:21:56 : Size : 1024 Bytes
- 15:21:56 : Address : 0x8000000
- 15:21:56 : Read progress:
- 15:21:56 : Data read successfully
- 15:21:56 : Time elapsed during the read operation is: 00:00:00.007
- 15:22:03 : MASS ERASE ...
- 15:22:03 : Error: Mass erase operation failed.Please verify flash protection
复制代码
STM32cubeide最新版本调试STM32F407ZGT6芯片报错
- STMicroelectronics ST-LINK GDB server. Version 7.3.0
- Copyright (c) 2023, STMicroelectronics. All rights reserved.
- Starting server with the following options:
- Persistent Mode : Disabled
- Logging Level : 1
- Listen Port Number : 61234
- Status Refresh Delay : 15s
- Verbose Mode : Disabled
- SWD Debug : Enabled
- STM32_SystemReset(), failure reset target.
- Waiting for debugger connection...
- Debugger connected
- Waiting for debugger connection...
- Debugger connected
- Waiting for debugger connection...
- -------------------------------------------------------------------
- STM32CubeProgrammer v2.13.0
- -------------------------------------------------------------------
- Log output file: C:\Users\John9\AppData\Local\Temp\STM32CubeProgrammer_a12424.log
- ST-LINK SN : 390A070A2416303030303032
- ST-LINK FW : V2J41S7
- Board : --
- Voltage : 3.14V
- SWD freq : 4000 KHz
- Connect mode: Under Reset
- Reset mode : Hardware reset
- Device ID : 0x413
- Revision ID : Rev Y
- Device name : STM32F405xx/F407xx/F415xx/F417xx
- Flash size : 1 MBytes (default)
- Device type : MCU
- Device CPU : Cortex-M4
- BL Version : 0x91
- Memory Programming ...
- Opening and parsing file: ST-LINK_GDB_server_a12424.srec
- File : ST-LINK_GDB_server_a12424.srec
- Size : 39.39 KB
- Address : 0x08000000
- Erasing memory corresponding to segment 0:
- Erasing internal memory sectors [0 2]
- Error: failed to erase memory
- Error: failed to erase memory
- Encountered Error when opening P:\Program\STMicroelectronics\STM32CubeIDE\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.cubeprogrammer.win32_2.0.600.202301161003\tools\bin\STM32_Programmer_CLI.exe
- Error in STM32CubeProgrammer
- Shutting down...
- Exit.
复制代码
|
|