Flash write failed when connecting to STM32H753IIK
Hi Laurent,
Thank you for your reply! Before reading the reply, I think I found a possible solution.
In OpenOCD source code src/flash/nor/stm32h7x.c, I added the following line.
target_write_u32(target, stm32x_get_flash_reg(bank, FLASH_CR), FLASH_PG);
just prior calling “target_run_flash_async_algorithm()”.
By the change, the problem looks resolved.
I’m not sure if this is the case and why revision Y doesn’t complain about PG bit.
Once again, thank you for your attention.
Regards,
Atsushi