Verify upload to AtTiny85 fails.
See original GitHub issueORIGINALLY RAISED WITH PLATFORMIO. ADVISED TO TAKE IT HERE.
Configuration
Operating system: Linux Mint 18, 64 bit.
PlatformIO Version: IDE=1.6.0, CLI=3.1.0
Description of problem
After upgrading to latest PlatformIO, all my AtTiny85 scripts fail to verify. Each is Arduino compatible, and work fine on the Arduino IDE.
Please refer back to https://github.com/platformio/platformio/issues/799 and https://github.com/platformio/platformio/issues/800 for the full details.
I upgraded the Atom packages to the latest versions, now I cannot upload to an AtTiny85 using my USBTinyISP programmer any more. If fails at the verify stage of avrdude
.
I followed the instaructions for the use of a programmer by visiting http://docs.platformio.org/en/stable/platforms/atmelavr.html#upload-using-programmer and my current platformio.ini is as follows:
The content of platformio.ini
:
[env:attiny85]
platform=atmelavr
board=attiny85
framework=arduino
upload_protocol = usbtiny
[platformio]
src_dir=AtTiny85_Blink
After adding the upload_protocol option, exactly the same happens. Same error message - unable to verify after uploading. I’m advised that I need to be using g program rather than upload, but it doesn’t seem to change anything. I’m still seeing g, briefly, the words platformio and upload as opposed to program.
With the Arduino IDE, I don’t even have to “upload using programmer” to get a valid write and verify, upload works just fine.
With PlatformIO, until I upgraded, I had no problems uploading - as opposed to programming - with the platformio.ini that I originally posted. Only after the upgrade were there any problems. I’m still at the point of being unable to program any of my AtTiny85 chips.
Changing to the advised upload_protocol had no effect. Still fails to verify the upload.
Sorry. 😦
Cheers.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:11 (6 by maintainers)
Top GitHub Comments
@ivankravets looks like it’s working well. After
pio update
, I was able to program the ATTiny85 multiple times via the Tiny AVR Programmer, using bothupload
andprogram
targets, with or withoutupload_protocol = usbtiny
specified inplatformio.ini
. (At least I was after I remembered that it is flaky with my USB hub and plugged directly into my Mac!)@NormanDunbar
Thanks! Merry Christmas! 🎄