Zero ohm resistors-much like a pedestrian bridge over a road, just a way to jump over a circuit trace. You can treat them as a part of the "wire" circuit trace.
Does anyone have a link for a pre-compiled binary of the Mac OS X version of Bossa 1.5 / Arduino?
The method with the SAMD21 as I understand it goes something like this:
Buy a $90 part from Atmel
$50.
Download and compile my own boot loader (I'm on OS X)
Load this onto the chip
OK. This would be a little tough, since fine-pitch SMT parts don't easily fit in sockets. It would probably be more typical to skip this step. Supposedly, the SAMD2x chips ship with the SAM-BA bootloader already in flash; you get to decide whether to erase it (using SWD) or use it.
Place this chip in my project PCB and expose certain pins (still not entirely clear which ones)
If you have a fresh chip with the SAM-BA bootloader, you can load software via Serial, USB, or SWD. SWD is the only one guaranteed not to get erased. SWD has that standardized but obnoxious 1.27mm, 10pin connector.
Can't use my Arduino as an ISP so have to keep the $90 ISP around.
Yep. Entirely different protocol than AVRs. In theory, you could implement it on an Arduino, I guess... (and: $50.)
Fresh chips from Atmel (e.g. ATSAMD21G18) don't have the SAM-BA on flash.
that's the reason why on most of the "custom" boards you see this 10pin 1.27mm SWD Header
e.g.
--> SparkFun SAMD21 Mini Breakout - DEV-13664 - SparkFun Electronics
--> https://www.mattairtech.com/index.php/development-boards/mt-d21e.html
--> https://www.kickstarter.com/projects/rabidprototypes/neutrino-the-tiny-32-bit-arduino-zero-compatible?ref=nav_search
and so on ...
Fresh chips from Atmel (e.g. ATSAMD21G18) don't have the SAM-BA on flash.
I find conflicting rumors, and little in the way of official statements...
http://atmel.force.com/support/articles/en_US/FAQ/SAMD20-SAM-BA-bootloader?q=sam-ba&l=en_US&fs=Search&pn=1
In any case, not bringing out the SWD pins seems like a bad idea. Despite the standard connector, there are only 4 pins involved, as far as I can tell. (GND, RESET, SWD, SWCLK)
I think the Arduino Zero use a modified SAMBA bootloader.
When I made my custom board, I tried to upload some code before putting the Zero bootloader, with no success.
Hi
where can I download BOSSA 1.5 to mange SAMD21 chip family?
available binary seems only for version 1.2.1
thanks
Davide
The solution Here
Hello everyone!
I am working on arduino project (arduino zero) in Atmel Studio but I have difficulties with bootloader. Atmel Studio generetes .hex file with build in arduino zero bootloader. Actually I want to change arduino bootloader with SAM-BA and the .hex file would include SAM-BA+my program.
I am not very experienced in making that, but I would be very grateful if someone helps me!
Thank You in advance!
Hi everyone,
I'm new to the forum, so forgive my ignorance, but I've had a problem and see if you can lend me a hand.
I created my own PCB with an atmel atsamd21g18aut, which is the same micro that is used in the Arduino Zero and in the M0 if I remember correctly.
Previously develop a PCB that used the same micro Due, and the advantage is that it brings factory bootloader and is practically soldering and programming, but in the case of Zero does not occur.
I have tried to program the micro through ISP which with an AVR micro like Arduino Uno can not.
And now is where your technological support comes in:
- Is it possible to program the atsamd21g18aut by programming the arduino due as ISP?
- Alternatively could you use the Atmel EDGB that uses the Due to schedule the atsamd21g18aut?
- Is it possible to program it with samba using a USB-UART Bridge with an FTDI?
Right now the other option that I value is to use a socket of 48 pins and a j link and to program the bootloader with Atmel Studio.
As a conclusion, how can you load the bootloader to use native USB to an ATSAMD21G18AUT.
Regards!
Hi decastro_25,
Unfortunately, unlike the AVR Arduinos you can't program the SAMD21G through it's SPI port.
Instead you need to program it through it's SWD port. This is the fine pitch 10 (2x5) way header at the bottom right of Zero/M0 Pro/M0.
It's possible to load the bootloader using the Arduino IDE together with the Atmel-ICE programmer. Once you have the bootloader uploaded, you can then remove the Atmel-ICE and switch to loading sketches using the native USB port.