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

upload failure on vmemega v1a #1

Open
mfe5003 opened this issue Feb 7, 2016 · 1 comment
Open

upload failure on vmemega v1a #1

mfe5003 opened this issue Feb 7, 2016 · 1 comment

Comments

@mfe5003
Copy link
Member

mfe5003 commented Feb 7, 2016

Upload to vmeMega board fails using:
$ make upload_<target name>
, but succeeds with normal r3 mega board.
Workaround is to disable flash memory erase by adding -D option after the avrdude command.
To get avrdude command run the next line and copy-paste:
$ make upload_<target name> VERBOSE=1

output of $ make upload_<target name>:

[100%] Uploading /home/ebert/projects/ocs-base/build/mega2560/bin/amc7812_stream.hex to atmega2560 using wiring

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.01s

avrdude: Device signature = 0x1e9801
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.
@mfe5003
Copy link
Member Author

mfe5003 commented Feb 23, 2016

Temporary fix applied by adding -D to all avrdude calls.
You can now upload to a VMEMega v1a with the standard procedure of:
$ make upload_<target name>

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

No branches or pull requests

1 participant