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

Francisco notifications at github.com
Sun May 26 18:37:14 CEST 2019

fjmolinas 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

No, you can brick it if the values in the fcfield are not the expecte ones. But since they are only read at reset the only ones that are read are in 0x400-0x40f. Si this shouldn't be needed indeed.

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/20190526/a1ef83a8/attachment.html>

More information about the notifications mailing list