Skip to content
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

stk500v2_command(): command failed #238

Closed
mpd-dude opened this issue Jun 16, 2015 · 2 comments
Closed

stk500v2_command(): command failed #238

mpd-dude opened this issue Jun 16, 2015 · 2 comments
Assignees
Labels
Milestone

Comments

@mpd-dude
Copy link

Hi all,

when I perform a "platformio run --target upload"

the following error messages appeards:
avrdude: NOTE: "flash" memory has been specified, an erase cycle will be performed
To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: stk500v2_command(): command failed
avrdude done. Thank you.
scons: *** [upload] Error 255

Inside my "platformio.ini" file I have
[env:autogen_megaADK]
platform = atmelavr
framework = arduino
board = megaatmega2560

I am using an Arduino MEGA 2560 under Win7.

A simple "platformio run" runs without any problems and compilation seems ok.

The same sketch can be uploaded using the Arduino IDE without any problems.

I am a bit stuck here. Any hints are appreceated.

Thanks,
Lars

@ivankravets
Copy link
Member

Thanks for the report!

Please try development version http://docs.platformio.org/en/latest/installation.html#development-version

Did it help you?

@ivankravets ivankravets added this to the 2.1.2 milestone Jun 17, 2015
@ivankravets ivankravets self-assigned this Jun 17, 2015
@ivankravets ivankravets modified the milestones: 2.2.0, 2.1.2 Jun 17, 2015
@mpd-dude
Copy link
Author

Thanks a lot for the quick reply and the fix!

Yes, it fixed the problem and uploading is working again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants