core locked up and read out fails
Hi,
My STM32H735G-DK is having issues.
When I try to flash a known good firmware, I get the following:
command: STM32_Programmer_CLI -c port=SWD freq=4000 mode=UR --erase all -d build/stm32h735.bin 0x08000000 -v --start 0x08000000
-------------------------------------------------------------------
STM32CubeProgrammer v2.5.0
-------------------------------------------------------------------
ST-LINK SN : ***
ST-LINK FW : V3J7M2
Board : STM32H735G-DK
Voltage : 3.28V
SWD freq : 8000 KHz
Connect mode: Under Reset
Reset mode : Hardware reset
Device ID : 0x483
Revision ID : Rev Z
Device name : STM32H72x/STM32H73x
Flash size : 1 MBytes
Device type : MCU
Device CPU : Cortex-M7
Mass erase ...
Mass erase successfully achieved
Memory Programming ...
Opening and parsing file: sbsfu_H735.elf
File : sbsfu_H735.elf
Size : 54008 Bytes
Address : 0x08000000
Erasing memory corresponding to segment 0:
Erasing internal memory sector 0
Download in Progress:
[==================================================] 100%
File download complete
Time elapsed during download operation: 00:00:00.224
Verifying ...
Read progress:
Error: Failed to read memory at address 0x08000000 during verification
Error: Download verification failed
RUNNING Program ...
Address: : 0x8000000
Warning: The core is locked up
Start operation achieved successfullyThis could be due to perhaps writing a wrong sbsfu project in the past (for H753)
When in STM32CubeProgrammer I try to read the flash out I always get "Error: Data read failed". only when reading from address 0x600, 0x100 bytes I can read all zeroes. Any other address until 0x08080000 gives me the error.
When looking at the option bytes, RDP is set to AA (never set it to CC but tried using BB then AA to try and reset it) and WRP is all checked (not active).
SEC_AREA_END has a lower value than SEC_ARE_START so it should be disabled.
Any way I can resolve this? I really hope my device isn't bricked.
Thank you
