Skip to content

Fix flashing with pyocd

Wojciech Zmuda yocto 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1zephyr-flash-pyocd.bbclass: Fix problems with flashing particular boardsclasses/zephyr-flash-pyocd.bbclass conf/machine/include/nrf52832.inc+12 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [meta-zephyr][PATCH 0/1] Fix flashing with pyocd

From: Wojciech Zmuda <[email protected]>

I'm submitting this patch with the consent of the original author Zbigniew Bodek <[email protected]>

The flashing process occurred to contain an undefined behavior, resulting in flashing garbage data to the connected board. It rarely occured with small images (e.g. zephyr-hello-world or zephyr-philosophers samples) but became visible with custom applications.

The exact mechanism is described in the commit log of the patch.

Zbigniew Bodek (1):
zephyr-flash-pyocd.bbclass: Fix problems with flashing particular
boards

 classes/zephyr-flash-pyocd.bbclass | 10 +++++++++-
 conf/machine/include/nrf52832.inc  |  3 +++
 2 files changed, 12 insertions(+), 1 deletion(-)
Signature · 1 line
2.25.1