I am able to connect to the target:
14:35:49 : ST-LINK SN : 0674FF3836314B3457144034
14:35:49 : ST-LINK Firmware version : V2J29M18
14:35:49 : Connected via SWD.
14:35:49 : SWD Frequency = 4,0 MHz.
14:35:49 : Connection mode : Normal.
14:35:50 : Device ID:0x450
14:35:50 : Device flash Size : 2MBytes
14:35:50 : Device family :STM32H7xx
But when programming, it crashes with an error "STM32 ST-LINK utility MFC Application has stopped working" and returned error code is equal to 1073740940.
Please find hex file attached. It works when programming directly from KEIL using ST-link. Do you know what is going on here?