platformio / platform-atmelavr

Atmel AVR: development platform for PlatformIO
https://registry.platformio.org/platforms/platformio/atmelavr
Apache License 2.0
138 stars 105 forks source link

This line breaks uploads using usbasp. #155

Closed rkit1 closed 5 years ago

rkit1 commented 5 years ago

I kept getting this error while trying to upload using usbasp.

avrdude: verification error, first mismatch at byte 0x002e 0x38 != 0x3c

After removing this line locally the problem was fixed. https://github.com/platformio/platform-atmelavr/blob/acca29b9b3864a869d8bfc7456915d2e4c421e8f/builder/main.py#L42

-D Disable auto erase for flash memory

ivankravets commented 5 years ago

Please use pio run -t program instead of upload.