Loading...
 

Zephyr project on STM32

   Zephyr Workbench, a VSCode extension to manage Zephyr on STM32.
It enables users to easily create, develop, and debug Zephyr applications.
Main features:
  • Install host dependencies.
  • Import toolchain and SDK.
  • Create, configure, build and manage apps.
  • Debug STM32.
You can directly download it from the VSCode marketplace
For more details, visit the Zephyr Workbench

System Workbench for STM32


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