We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When I tried to upload my code in ATmega8 using usbasp I got the error:
avrdude: safemode read 1, efuse value: ff avrdude: safemode read 2, efuse value: d9 avrdude: safemode: Sorry, reading back fuses was unreliable. I have given up and exited programming mode avrdude: usbasp_close() avrdude done. Thank you. *** [upload] Error 1
This mistake caused by the inherited workaround from Arduino IDE. The lines 6517-6522 of the avrdude.conf from .platformio/packages/tool-avrdude/:
.platformio/packages/tool-avrdude/
# Required for Arduino IDE # see: https://github.com/arduino/Arduino/issues/2075 # https://github.com/arduino/Arduino/issues/2075#issuecomment-238031689 memory "efuse" size = 0; ;
After removing these lines the problem was solved:
avrdude: safemode: lfuse reads as BF avrdude: safemode: hfuse reads as C4 avrdude: safemode: Fuses OK (E:FF, H:C4, L:BF) avrdude done. Thank you.
The text was updated successfully, but these errors were encountered:
@valeros this issue can be resolved by removing
from the Avrdude.conf fine used by avrdude. It's a hacky workaround t get it working with Arduino IDE, and not needed by PlatformIO.
Sorry, something went wrong.
No branches or pull requests
When I tried to upload my code in ATmega8 using usbasp I got the error:
This mistake caused by the inherited workaround from Arduino IDE.
The lines 6517-6522 of the avrdude.conf from
.platformio/packages/tool-avrdude/
:After removing these lines the problem was solved:
The text was updated successfully, but these errors were encountered: