Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Bootloader is Deleted When Programming to ATSAMD21G18 Controller

Status
Not open for further replies.

berkay_91

Newbie level 5
Joined
Apr 17, 2015
Messages
9
Helped
0
Reputation
0
Reaction score
2
Trophy points
1,283
Activity points
1,338

Solution
solution

If there is no Crystal (32.768 kHz) for the Internal RTC Unit of the SAMD21G18 Processor in the Designed Board

C:\Users\Berkay\AppData\Local\Arduino15\packages\adafruit\hardware\samd\1.7.10

The line in the file "boards" in the file path
adafruit_feather_m0_express.build.extra_flags=-D__SAMD21G18A__ -DARDUINO_SAMD_FEATHER_M0 -DARDUINO_SAMD_FEATHER_M0 -DARDUINO_SAMD_ZERO -DARM_MATH_CM0PLUS {build.usb_flags}

should be changed as below
adafruit_feather_m0_express.build.extra_flags=-D__SAMD21G18A__ -DCRYSTALLESS -DARDUINO_SAMD_FEATHER_M0 -DARDUINO_SAMD_FEATHER_M0 -DARDUINO_SAMD_ZERO -DARM_MATH_CM0PLUS {build.usb_flags}
solution

If there is no Crystal (32.768 kHz) for the Internal RTC Unit of the SAMD21G18 Processor in the Designed Board

C:\Users\Berkay\AppData\Local\Arduino15\packages\adafruit\hardware\samd\1.7.10

The line in the file "boards" in the file path
adafruit_feather_m0_express.build.extra_flags=-D__SAMD21G18A__ -DARDUINO_SAMD_FEATHER_M0 -DARDUINO_SAMD_FEATHER_M0 -DARDUINO_SAMD_ZERO -DARM_MATH_CM0PLUS {build.usb_flags}

should be changed as below
adafruit_feather_m0_express.build.extra_flags=-D__SAMD21G18A__ -DCRYSTALLESS -DARDUINO_SAMD_FEATHER_M0 -DARDUINO_SAMD_FEATHER_M0 -DARDUINO_SAMD_ZERO -DARM_MATH_CM0PLUS {build.usb_flags}
 
  • Like
Reactions: FvM

Solution
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top