2023-03-03 03:08 AM
I am using STM32H757 MCU on my custom board and was able to flash the code.
Once mistakenly I flashed without commenting the below lines in SystemClock_Config function
HAL_PWREx_ConfigSupply(PWR_DIRECT_SMPS_SUPPLY);
__HAL_PWR_VOLTAGESCALING_CONFIG(PWR_REGULATOR_VOLTAGE_SCALE2);
while(!__HAL_PWR_GET_FLAG(PWR_FLAG_VOSRDY)) {}
Till then I am unable to detect the MCU using ST debugger.
Tried with STM Utility & STM32CubeProgrammer to detect & flash
Tried various options like -
Nothing helps!
Any idea to overcome this issue
Thanks in Advance!
2023-03-03 03:17 AM
Strap BOOT0 HIGH cycle.power completely several times until.you can connect, then erase user code.
2023-03-03 03:17 AM
Set BOOT0 pin to 1, which will start the MCU in bootloader mode - then you may connect to it.
2023-03-03 03:21 AM
Thank you for your immediate response
Just I tried by resetting the device and flashing using ULINK tool and able to flash the code
Thank you once again!