-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
board/arm/stm32h747i_disco: add support of flash with openocd #24682
Conversation
Allow to flash either Cortex M4 or M7 with OpenOCD (depending on which Board/Core has been compiled) Command: west flash Warning: Dependency with recent OpenOCD patch: Windows: https://gnutoolchains.com/arm-eabi/openocd/ version 20200408 Linux : http://openocd.zylin.com/ SHA1: 0a804222da63c5f849efa23b019a59e2dea76842 Signed-off-by: Alexandre Bourdiol <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please update doc regarding openocd compatibility, potential issues that could be faced and how to overcome.
Otherwise LGTM
Done |
d2a9f04
to
411a98b
Compare
Add documentation for OpenOCD usage and restrictions Signed-off-by: Alexandre Bourdiol <[email protected]>
411a98b
to
d0c03ff
Compare
Failing tests: qemu_x86_64:tests/kernel/mem_protect/syscalls/kernel.memory_protection.syscalls / tests/kernel/mem_protect/syscalls/kernel.memory_protection.syscalls |
Trying to get CI passed |
Allow to flash either Cortex M4 or M7 with OpenOCD
(depending on which Board/Core has been compiled)
Command: west flash
Warning: Dependency with recent OpenOCD patch:
Windows: https://gnutoolchains.com/arm-eabi/openocd/
version 20200408
Linux : http://openocd.zylin.com/
SHA1: 0a804222da63c5f849efa23b019a59e2dea76842
Edit:
OpenOCD dependancy: zephyrproject-rtos/openocd#27
Note: It is necessary to first update ST-Link firmware (see #24671)
Known Restrictions:
Sometimes flashing doesn't work and it is necessary to erase the flash to be able make it work again.
Debugging Cortex M7 works, but it doesn't work with Cortex M4.