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
Visit site
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}
 
Reactions: FvM

Solution
Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…