|
1 | 1 | # Arduino Zero Bootloader
|
2 | 2 |
|
3 |
| -## Prerequisites for Building |
4 |
| - |
5 |
| -The project build is based on Makefile system. |
6 |
| -Makefile is present at project root and try to handle multi-platform cases. |
| 3 | +This bootloader is based on the Arduino Zero bootloader which is a part of the Arduino SAMD core. |
| 4 | +It provides a USB-CDC and/or TTL serial communications interface to a host running the bossac |
| 5 | +command-line firmware programming utility (or Bossa with a GUI). This version adds support for |
| 6 | +the L21 and C21 microcontrollers. It also adds support for four different clock sources (2 external |
| 7 | +crystals and two internal oscillator options). There are additional boards added, and binaries for |
| 8 | +most board/chip combinations are pre-built. Additionally, MicroSD firmware loading is supported. |
7 | 9 |
|
8 |
| -Multi-plaform GCC is provided by ARM here: https://launchpad.net/gcc-arm-embedded/+download |
9 | 10 |
|
10 |
| -Atmel Studio contains both make and ARM GCC toolchain. You don't need to install them in this specific use case. |
11 |
| - |
12 |
| -For all builds and platforms you will need to have the Arduino IDE installed and the board support |
13 |
| -package for "Arduino SAMD Boards (32-bits ARM Cortex-M0+)". You can install the latter |
14 |
| -from the former's "Boards Manager" UI. |
| 11 | +## Prerequisites for Using |
15 | 12 |
|
16 | 13 | This version of the bootloader requires bossac (1.7.0-mattairtech-1)
|
17 | 14 | from the package "MattairTech SAM M0+ Boards" or download bossac directly:
|
18 | 15 | * https://www.mattairtech.com/software/arduino/bossac-1.7.0-mattairtech-1-mingw32.tar.gz (Windows 32 bit and 64 bit)
|
19 | 16 | * https://www.mattairtech.com/software/arduino/bossac-1.7.0-mattairtech-1-x86_64-linux-gnu.tar.gz (Linux 64 bit)
|
20 | 17 | * https://www.mattairtech.com/software/arduino/bossac-1.7.0-mattairtech-1-i686-linux-gnu.tar.gz (Linux 32 bit)
|
21 | 18 | * https://www.mattairtech.com/software/arduino/bossac-1.7.0-mattairtech-1-x86_64-apple-darwin.tar.gz (OS X 64 bit)
|
| 19 | +Note that the SAM-BA tools from Atmel will not work, and the version of bossac from the Arduino |
| 20 | +SAMD Core currently does not support the L21, C21, or D11 (but it does support the D21). |
| 21 | + |
| 22 | + |
| 23 | +## Prerequisites for Building |
| 24 | + |
| 25 | +For all builds and platforms you will need to have the Arduino IDE installed as well as the packages |
| 26 | +for both Arduino SAMD Boards and for MattairTech SAM M0+ Boards, which provides the needed dependencies |
| 27 | +(CMSIS, CMSIS-Atmel, and the compiler toolchain: arm-none-eabi-gcc), which can be installed using the |
| 28 | +Arduino IDE Boards Manager. This project uses a Makefile, which is present in the root (zero) directory. |
| 29 | +However, you will need a make program: |
22 | 30 |
|
23 | 31 | ### Windows
|
24 | 32 |
|
25 | 33 | * Native command line
|
26 | 34 | Make binary can be obtained here: http://gnuwin32.sourceforge.net/packages/make.htm
|
| 35 | +Be sure that no other version of make is in your PATH (ie: MinGW). |
27 | 36 |
|
28 | 37 | * Cygwin/MSys/MSys2/Babun/etc...
|
29 | 38 | It is available natively in all distributions.
|
30 | 39 |
|
31 |
| -* Atmel Studio |
32 |
| -An Atmel Studio **7** Makefile-based project is present at project root, just open samd21_sam_ba.atsln file in AS7. |
33 |
| - |
34 | 40 | ### Linux
|
35 | 41 |
|
36 | 42 | Make is usually available by default.
|
|
0 commit comments