Skip to content

Can't Upload to Adafruit Feather M0 #995

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
gfvalvo opened this issue Jun 27, 2018 · 7 comments
Closed

Can't Upload to Adafruit Feather M0 #995

gfvalvo opened this issue Jun 27, 2018 · 7 comments
Labels
domain: configuration Configuring Sloeber does not work as docummented domain: other hardware domain: upload importance: board specific OS: all status: known limitation This is soimething we can live with status: Package problem (not a sloeber problem) The problem can not be fixed in sloeber but needs a fix in the used package status: workaround documented A workaround has been confirmed to solve this issue.

Comments

@gfvalvo
Copy link

gfvalvo commented Jun 27, 2018

Uploading to my Adafruit Feather M0 works fine in the Arduino IDE. With Sloeber, not so much.

I have "https://adafruit.github.io/arduino-board-index/package_adafruit_index.json" included in "Third party index URLs" and the latest packages selected under "Platforms and Boards".

The code compiles fine, but pukes on upload attempt. Displayed in Console:

Starting upload
using arduino loader
Forcing reset using 1200bps open/close on portCOM24
PORTS { COM1, COM3, COM13, COM24,} / { config error:, see https://github.com/jantje/arduino-eclipse-plugin/issues/252,} => { config error:, see https://github.com/jantje/arduino-eclipse-plugin/issues/252,}
Comport reset took250ms
Using comportconfig error: from now onwards
Ending reset

Launching/bossac --port=config error: -U true -i -e -w -v D:\SloeberWorkspace\testSleep/Release/testSleep.bin -R
Output:
failed to upload

Could be something with the complex dual port USB arrangement of this chip. Ardunio has no problem with it, but I really need to use Sloeber.

Thanks.

@jantje
Copy link
Member

jantje commented Jun 27, 2018

Have you looked at #252 ?

@gfvalvo
Copy link
Author

gfvalvo commented Jun 27, 2018

I did. But, I'm not sure what part is applicable. Nor am I interested in reading a novel. All I want to do is upload to the Feather M0. Is that possible? If so, are there simple instructions for doing it?

@jantje jantje added the support request (Community) This looks like a support request (not like a issue) label Jun 27, 2018
@gfvalvo
Copy link
Author

gfvalvo commented Jun 27, 2018

So, is there fix for the Sloeber bug preventing upload to this board?

First time it's happened for me. Uploads have been working fine with Uno, Teensy 3.2, and ESP8266 Feather Huzzah.

@gfvalvo
Copy link
Author

gfvalvo commented Jun 30, 2018

OK, there appears to be a workaround -- manually run the version of bossac installed by Arduino IDE and point it to the .bin file generated by the build Sloeber:

D:\arduino-1.8.5\portable\packages\arduino\tools\bossac\1.7.0/bossac -i -d --port=COM23 -U true -i -e -w -v D:\SloeberWorkspace\testSleep/Release/testSleep.bin -R

You can create a .bat file to do this. You must manually put the board in bootloader mode (double click the reset button) before sending the command.

@jantje jantje added status: known limitation This is soimething we can live with Help wanted If you want to become a active contributor, start looking at this issue. OS: all good first issue If you want to become a active contributor (and you feel insecure), start looking at this issue. labels Jul 15, 2018
@jantje jantje closed this as completed Jul 15, 2018
@jantje
Copy link
Member

jantje commented Nov 9, 2018

I think this is actually the same thing as #1035

@jantje jantje added domain: other hardware domain: configuration Configuring Sloeber does not work as docummented and removed Help wanted If you want to become a active contributor, start looking at this issue. good first issue If you want to become a active contributor (and you feel insecure), start looking at this issue. status: known limitation This is soimething we can live with support request (Community) This looks like a support request (not like a issue) labels Nov 9, 2018
@jantje
Copy link
Member

jantje commented Nov 24, 2018

This is actually a problem in the json file provided by adafruit

Workaroud:
Install "Arduino SAMD Boards (32-bits ARM Cortex-M0+)" version "1.6.7". (which spoecifies bossac 1.7 as tool)
For all affected existing projects open project properties-Arduino->apply and ok
You can safely deinstall "Arduino SAMD Boards (32-bits ARM Cortex-M0+)" as this will not remove the installed tools.

@jantje jantje added status: known limitation This is soimething we can live with domain: upload status: workaround documented A workaround has been confirmed to solve this issue. importance: board specific status: Package problem (not a sloeber problem) The problem can not be fixed in sloeber but needs a fix in the used package labels Nov 24, 2018
@jantje
Copy link
Member

jantje commented Nov 24, 2018

Eventhough this is not a Sloeber limitation I mark it as such because this makes it more visible as a problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain: configuration Configuring Sloeber does not work as docummented domain: other hardware domain: upload importance: board specific OS: all status: known limitation This is soimething we can live with status: Package problem (not a sloeber problem) The problem can not be fixed in sloeber but needs a fix in the used package status: workaround documented A workaround has been confirmed to solve this issue.
Projects
None yet
Development

No branches or pull requests

2 participants