GithubHelp home page GithubHelp logo

abaelen / unbrick-arduino-mkr-1010-wifi--samd21g-using-pi3 Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 5.26 MB

Load bootloader onto the Arduino MKR 1010 WiFi (SAMD21G) using a raspberry PI3

License: MIT License

pi3 bootloader raspberry-pi3 arduino-ide debugger firmware board unbrick arduino mkr

unbrick-arduino-mkr-1010-wifi--samd21g-using-pi3's Introduction

Unbrick Arduino MKR 1010 WiFi (SAMD21G) using PI3

Load bootloader onto the Arduino MKR 1010 WiFi (SAMD21G) using a raspberry PI3

This Github will describe different tips & tricks to reload a bootloader onto the Arduino MKR Wifi 1010. Using this reload will make the Arduino MKR WiFi 1010 responsive again, allowing to use the upgrade firmware functionality available from Arduino IDE. Upgrading the firmware using the Arduino IDE ensures full compatibility and integrity towards the latest Arduino standards.

When to use this functionality? This functionality should only be used in case there is no other option to restore the Board's functionality. This will exclude all scenarios where the Arduino MKR USB connection is still recognized by the PC. This will exclude all scnearios where the user has access to a debugger, eg. the ATMEL ICE or the J-LINK

In case one is confronted with a responsive USB connection, but the USB is not enumerated by the computer, the user is adviced to first try multiple times to activate the 'bootloader state'. This is done by tapping twice the reset button on the board. The user should also exclude the possiblity of a malfunctioning USB driver.

The use of these tricks are to the descretion of the user and to its liability only. (what can happen right? Even not magic smoke...) In any case, the bootloader can always be recovered using a debugger. If you are serious to work with the 32-bit chips, I advise to buy a debugger. On the Adafruit site, you find very affordable debuggers from Segger. Although the PI3 solution works for me, I have ordered one! The debugger gives good insight in memory, register states and allows for breakpoints.

That said, let's get hacking!

The tips & tricks weigh heavily on the work of Lady Ada, 'programming microcontrollers using openocd on raspberry pi'. 95% of the steps are found in this manual, published on webpage, you-tube as well as pdf, found here: https://learn.adafruit.com/programming-microcontrollers-using-openocd-on-raspberry-pi --> a big thanks for the support adafruit is providing to the community of makers! So be adviced to check their pages frequently for their valuable updates, support & learnings.

What is this Github useful for? Well, providing the last 5% of tips to get it to work. Provided a night spend, I wanted to share these little tips.

The step-by-step with tips & tricks can be found on the github page with this readme file.

Advance by opening the 'Manual Tips & Tricks' in this Github

Have fun!

unbrick-arduino-mkr-1010-wifi--samd21g-using-pi3's People

Contributors

abaelen avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.