Hi, I'm really happy with the Metro M4 and Grand Central hardware.
However loading code in them from the Arduino IDE is very cumbersome, requiring physical access to the RESET switch and closing all the USB drive warnings (in Mac OS). I've got years of code developed in C++, I am unlikely to ever use CircuitPython.
Is there a bootloader that works with the Arduino uploaders, only?
Alternate bootloader for SAMDx1?
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- mikeysklar
- Posts: 13936
- Joined: Mon Aug 01, 2016 8:10 pm
Re: Alternate bootloader for SAMDx1?
Have you considered not using a bootloader?
You can program the SAMDx1 chips with JTAG/SWD which is supported by the Arduino IDE and many other dev tools. Plus you get the options of having a hardware debugger which really speeds up development.
https://www.adafruit.com/?q=jtag&sort=BestMatch
You can program the SAMDx1 chips with JTAG/SWD which is supported by the Arduino IDE and many other dev tools. Plus you get the options of having a hardware debugger which really speeds up development.
https://www.adafruit.com/?q=jtag&sort=BestMatch
- tomjennings
- Posts: 102
- Joined: Thu Aug 17, 2006 1:21 am
Re: Alternate bootloader for SAMDx1?
Yes, except for the need for physical access to an embedded device, with a shield on top, within an enclosure under a panel...
I provision for USB access, as the code logs to "console", and then there's also the simplicity of least-change. There's got to be a bootloader of some sort (or ICE/ICP) and a flash change is pretty minimal...
- mikeysklar
- Posts: 13936
- Joined: Mon Aug 01, 2016 8:10 pm
Re: Alternate bootloader for SAMDx1?
Since you need the USB and therefore a bootloader the best suggestion I have is to checkout the guide for how Adafruit builds its bootloader.
https://learn.adafruit.com/compiling-m0 ... bootloader
https://learn.adafruit.com/compiling-m0 ... bootloader
Please be positive and constructive with your questions and comments.