Replies: 1 comment
-
Are you able to flash with STM32CubeProgrammer v2.19.0 directly without using west? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone,
I'm developing a Zephyr application for a custom stm32413 board. I've successfully setup the project and confirmed it works, but I'm facing an issue with the flashing procedure.
Basically the
west flash
commands only works if the application itself isn't running on the board. To program it successfully I have to enter the ROM bootloader.For reference, this is the code:
main.c
prj.conf
board.dts
I'm using an official ST-LINK v2. The output is as follows:
The error message lead me to this discussion which then pointed me to the CONFIG_DEBUG option, with no luck.
If I remove the call to
k_msleep
the programming command works every time, so it appears to be an issue with whatever sleep mode Zephyr is entering. How can I configure the project to keep the debug module alive enough to respond to subsequent requests?Beta Was this translation helpful? Give feedback.
All reactions