Page 1 of 1

Anyone familiar with Arduino and SAM D (a bootloader question)?

Posted: Sun Nov 18, 2018 8:49 am
by andrewju
I was asked for help to compile a bootloader for an Arduino M0 (a SAM D21-based board).
I followed the instruction https://learn.adafruit.com/compiling-m0 ... er/compile and the compilation seem to run just fine (I didn't do any modifications - just the regular 'make' on a freshly downloaded source).
With the new bootloader, the board is detected as a COM port ("Arduino Zero Bootloader"), but I can't upload any sketch to it. I always get a "no response" error in IDE / avrdude.
When I use a stock bootloader (provided with Arduino IDE by default), the sketch uploads just fine.

I was browsing the Net for about a day now, but I can't understand what I'm doing wrong.

I would really appreciate any ideas!