sweet-peas / samdxx-sam-ba-bootloader Goto Github PK
View Code? Open in Web Editor NEWBoot loader extracted from Arduino environment now builds for Linux out of the box.
Boot loader extracted from Arduino environment now builds for Linux out of the box.
_____ _ _ _ | ____| | ___ ___| |_ _ __ ___ _ __ (_) ___ | _| | |/ _ \/ __| __| '__/ _ \| '_ \| |/ __| | |___| | __/ (__| |_| | | (_) | | | | | (__ |_____|_|\___|\___|\__|_| \___/|_| |_|_|\___| ____ _ ____ / ___|_ _____ ___| |_| _ \ ___ __ _ ___ \___ \ \ /\ / / _ \/ _ \ __| |_) / _ \/ _` / __| ___) \ V V / __/ __/ |_| __/ __/ (_| \__ \ |____/ \_/\_/ \___|\___|\__|_| \___|\__,_|___/ === General Information === This package was extracted from the Arduino SAMDXX package and ported to build on Linux as well as on Windows under IAR Workbench and Atmel Studio. All trademarks and Licenses as per the respective owners are respected. The required CMSIS package was imported to the repository to simplfy the build process. 1- Prerequisites IAR Embedded Workbench for ARM 7.30 2- Selecting between USB and UART interface Set the define SAM_BA_INTERFACE to SAM_BA_UART_ONLY for only UART interface SAM_BA_USBCDC_ONLY for only USB CDC interface SAM_BA_BOTH_INTERFACES for enabling both the interfaces SAM_BA_INTERFACE value should be modified in Project Options -> C/C++ Compiler -> Preprocessor -> Defined symbols Project Options -> Assembler -> Preprocessor -> Defined symbols 3- Start application check Bootloader checks for the state of BOOT_LOAD_PIN (configurable by the user from main.h). If BOOT_LOAD_PIN is pulled low, bootloader execution is resumed. Else, the first location of application is fetched and checked. If it is empty (0xFFFFFFFF), then bootloader execution is resumed. Else it jumps to application and starts execution from there. Currently, BOOT_LOAD_PIN is PA15 of SAMD21G18A, pin 5 of Arduino Zero board.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.