Skip to content

SFU - Second Stage Bootloader for MKR Boards with MKRMEM Shield #513

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 4 commits into from
Apr 21, 2020

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
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants