Skip to content

Conversation

aentinger
Copy link
Contributor

@aentinger aentinger commented Apr 15, 2020

SFU is a second stage bootloader for MKR boards with MKRMEM shield. The SFU is loaded by the ATSAMD21G18 bootloader and in turn loads the firmware image stored on the MKRMEM shield.

Requires: Arduino MKR board + Arduino MKR MEM Shield

How-to-use:

  • Include <SFU.h> at the top of your sketch
#include <SFU.h>
  • Export the binary via Menu Sketch -> Export Compiled Binary
  • Convert sketch to C byte array file Binary.h
cat MY_SKETCH.bin | xxd --include > Binary.h
  • Copy Binary.h to SFU/examples/SFU_LoadBinary
  • Use sketch SFU_LoadBinary to download binary update file to MKRMEM shield
  • Upload your SFU-enabled sketch - the update is performed automatically and then your sketch is started.

@aentinger
Copy link
Contributor Author

Successfully tested with MKR WiFi 1010 + MKR MEM Shield.

@aentinger aentinger requested a review from facchinm April 20, 2020 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants