Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

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

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
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.

None yet

2 participants