Skip to content

problems with M0 bootloader #263

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
paul-hoffmann opened this issue Sep 25, 2017 · 4 comments
Closed

problems with M0 bootloader #263

paul-hoffmann opened this issue Sep 25, 2017 · 4 comments

Comments

@paul-hoffmann
Copy link

I used ATMEL STUDIO 7 and an ATMEL ICE SAM to write the M0 bootloader to and Samd. Unfortunally Studio 7 reported the following error

Unable to parse objectfile ...\ArduinoCore-samd-master\bootloaders\mzero\Bootloader_D21_M0_150515.hex: Unsupported format.

Same for the bootloader of the M0 PRO

After examining the hex-file I noticed that there were two blank lines at the end. I deleted the last one and everything works fine.

I do not know anything of the background of this error but it is easy to solve. Can you please change the file.

@xseignard
Copy link

Hello,
I confirm this problem and also the solution provided.
Thanks @paul-hoffmann for reporting it!

nmaas87 added a commit to nmaas87/ArduinoCore-samd that referenced this issue Sep 18, 2019
Remove erroneous two empty lines in the end as reported by @paul-hoffmann in arduino#263 / arduino#263
nmaas87 added a commit to nmaas87/ArduinoCore-samd that referenced this issue Sep 18, 2019
Remove erroneous two empty lines in the end as reported by @paul-hoffmann in arduino#263 / arduino#263
@nmaas87
Copy link
Contributor

nmaas87 commented Sep 18, 2019

Had the same problem as @paul-hoffmann and the analysis was on-point, created a pull request, as the error is also in the official boards-package and you cannot flash a M0 or M0-Pro with this defunct files.
Thanks for reporting!

@cmaglie
Copy link
Member

cmaglie commented Sep 18, 2019

May you submit a PR with the fix? Thanks!

cmaglie pushed a commit that referenced this issue Sep 18, 2019
Remove erroneous two empty lines in the end as reported by @paul-hoffmann in #263 / #263
cmaglie pushed a commit that referenced this issue Sep 18, 2019
Remove erroneous two empty lines in the end as reported by @paul-hoffmann in #263 / #263
@cmaglie
Copy link
Member

cmaglie commented Sep 18, 2019

fixed by #455

@cmaglie cmaglie closed this as completed Sep 18, 2019
boseji pushed a commit to go-ut/combined-ArduinoCore-samd that referenced this issue Nov 23, 2020
Avoiding unused parameter warning for dmaDoNothingCallback()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants