[riot-notifications] [RIOT-OS/RIOT] boards/frdm-kw41z: add riotboot (#11562)

Gaëtan Harter notifications at github.com
Mon May 27 13:18:56 CEST 2019

cladmi commented on this pull request.

> +# unified OpenOCD script (dist/tools/openocd/openocd.sh).
+# Syntax: check-fcfield-hex.sh $HEXFILE
+# @author       Jonas Remmert <j.remmert at phytec.de>
+# @author       Johann Fischer <j.fischer at phytec.de>
+# @author       Joakim Nohlgård <joakim.nohlgard at eistec.se>
+# @author       Francisco Molina <francisco.molina at inria.fr>
+if [ $# -ne 1 ]; then
+    echo "Usage: $0 BINFILE"
+    echo "Checks the flash configuration field protection bits to avoid flashing a locked image to a Kinetis MCU (protection against accidental bricking)."
+    exit 2
+if [ -n "${IMAGE_OFFSET}" ]; then

>From the `jumping`  I was refering to the `fcfield` at `jumpaddr + 0x400-0x40f`. Checking if they were considered and if the offseted one could brick it.

But now that I read about these bytes, "prevent reaing rom/prevent writing rom" and that they should be indeed at 0x00000400 there should not be any need to check them for the offset.

Proper handling `0 < IMAGE_OFFSET < 0x500` is not needed for the moment, just providing a "not handled for the moment" would be enough I think.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190527/30763b4c/attachment-0001.html>

More information about the notifications mailing list